mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-15 06:48:29 +02:00
chore: use finalAttrs for buildNpmPackage
This commit is contained in:
parent
fa41c1fe0c
commit
db223bbbad
@ -4,12 +4,12 @@
|
|||||||
fetchurl,
|
fetchurl,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage (finalAttrs: {
|
||||||
pname = "nadesiko3";
|
pname = "nadesiko3";
|
||||||
version = "3.6.44";
|
version = "3.6.44";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://registry.npmjs.org/nadesiko3/-/nadesiko3-${version}.tgz";
|
url = "https://registry.npmjs.org/nadesiko3/-/nadesiko3-${finalAttrs.version}.tgz";
|
||||||
hash = "sha256-LSS/ieeyOUc3Q1bEfVqdNei4rIeG9Wz67TmCsGtrojU=";
|
hash = "sha256-LSS/ieeyOUc3Q1bEfVqdNei4rIeG9Wz67TmCsGtrojU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -50,4 +50,4 @@ buildNpmPackage rec {
|
|||||||
mainProgram = "cnako3";
|
mainProgram = "cnako3";
|
||||||
maintainers = with lib.maintainers; [ donovanglover ];
|
maintainers = with lib.maintainers; [ donovanglover ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user