b3sum: Use finalAttrs

This commit is contained in:
Jonathan Davies
2026-02-25 23:29:15 +00:00
parent 0b80569b40
commit c1b7477b5d
+4 -4
View File
@@ -5,12 +5,12 @@
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "b3sum";
version = "1.8.3";
src = fetchCrate {
inherit version pname;
inherit (finalAttrs) version pname;
hash = "sha256-mU2r5xbYf6A1RibWqhow/637YxybCFMT3UzYcUMjhdg=";
};
@@ -33,6 +33,6 @@ rustPlatform.buildRustPackage rec {
cc0
asl20
];
changelog = "https://github.com/BLAKE3-team/BLAKE3/releases/tag/${version}";
changelog = "https://github.com/BLAKE3-team/BLAKE3/releases/tag/${finalAttrs.version}";
};
}
})