mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-12 13:28:28 +02:00
chore: use finalAttrs for buildNpmPackage
This commit is contained in:
parent
fa41c1fe0c
commit
db223bbbad
@ -4,12 +4,12 @@
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "nadesiko3";
|
||||
version = "3.6.44";
|
||||
|
||||
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=";
|
||||
};
|
||||
|
||||
@ -50,4 +50,4 @@ buildNpmPackage rec {
|
||||
mainProgram = "cnako3";
|
||||
maintainers = with lib.maintainers; [ donovanglover ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user