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