diff --git a/pkgs/by-name/wa/wasynth/package.nix b/pkgs/by-name/wa/wasynth/package.nix index 78599a29debe..fad7daa3a029 100644 --- a/pkgs/by-name/wa/wasynth/package.nix +++ b/pkgs/by-name/wa/wasynth/package.nix @@ -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 ]; }; -} +})