cargo-benchcmp: use finalAttrs
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cargo-benchcmp";
|
||||
version = "0.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BurntSushi";
|
||||
repo = "cargo-benchcmp";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-J8KFI0V/mOhUlYtVnFAQgPIpXL9/dLhOFxSly4bR00I=";
|
||||
};
|
||||
|
||||
@@ -31,14 +31,14 @@ rustPlatform.buildRustPackage rec {
|
||||
"--skip=different_input_colored"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Small utility to compare Rust micro-benchmarks";
|
||||
mainProgram = "cargo-benchcmp";
|
||||
homepage = "https://github.com/BurntSushi/cargo-benchcmp";
|
||||
license = with licenses; [
|
||||
license = with lib.licenses; [
|
||||
mit
|
||||
unlicense
|
||||
];
|
||||
maintainers = [ maintainers.progrm_jarvis ];
|
||||
maintainers = [ lib.maintainers.progrm_jarvis ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user