cargo-valgrind: 2.2.1 -> 2.3.1

This commit is contained in:
Christoph Jabs 2025-05-20 09:17:22 +03:00
parent ab8e5cefd6
commit ebcc70174c
No known key found for this signature in database
GPG key ID: 217C6A439646D51E

View file

@ -6,35 +6,36 @@
makeWrapper,
valgrind,
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-valgrind";
version = "2.2.1";
version = "2.3.1";
src = fetchFromGitHub {
owner = "jfrimmel";
repo = "cargo-valgrind";
tag = version;
sha256 = "sha256-yUCDKklkfK+2n+THH4QlHb+FpeWfObXpmp4VozsFiUM=";
sha256 = "sha256-gr/s2dYCFmhwfXT3tqWPFpXQK2QaAhL7Aqnn1A3KjJI=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-nTqdsi+5YmOzQ5DPn3jOfUXUUut9uo5xKyx/R2MjV1A=";
cargoHash = "sha256-iNsGrbncZwCHXn/xuiI4Mw4F3FFWswEhwpIMI0xcFgU=";
passthru = {
updateScript = nix-update-script { };
};
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [
makeWrapper
valgrind # for tests where the executable is not wrapped yet
];
postInstall = ''
wrapProgram $out/bin/cargo-valgrind --prefix PATH : ${lib.makeBinPath [ valgrind ]}
'';
checkFlags = [
"--skip examples_are_runnable"
"--skip tests_are_runnable"
"--skip issue74"
"--skip default_cargo_project_reports_no_violations"
];
meta = with lib; {