From c61b8d51a61004c0956fe15aa33b110a0e972727 Mon Sep 17 00:00:00 2001 From: kyehn Date: Fri, 29 Aug 2025 21:19:06 +0800 Subject: [PATCH] wasynth: use finalAttrs --- pkgs/by-name/wa/wasynth/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ]; }; -} +})