wasynth: use finalAttrs

This commit is contained in:
kyehn
2025-08-29 21:19:06 +08:00
parent cd5eea7ea3
commit c61b8d51a6
+4 -4
View File
@@ -5,15 +5,15 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "wasynth";
version = "0.13.0";
src = fetchFromGitHub {
owner = "Rerumu";
repo = "Wasynth";
rev = "v${version}";
sha256 = "sha256-0Gtqet6KKLtooh9cU2R/top142AeT+uIxFwe1dPTvAU=";
tag = "v${finalAttrs.version}";
hash = "sha256-0Gtqet6KKLtooh9cU2R/top142AeT+uIxFwe1dPTvAU=";
};
# A lock file isn't provided, so it must be added manually.
@@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec {
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ wackbyte ];
};
}
})