wasynth: use finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user