mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
cargo-valgrind: 2.2.1 -> 2.3.1
This commit is contained in:
parent
ab8e5cefd6
commit
ebcc70174c
1 changed files with 8 additions and 7 deletions
|
@ -6,35 +6,36 @@
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
valgrind,
|
valgrind,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-valgrind";
|
pname = "cargo-valgrind";
|
||||||
version = "2.2.1";
|
version = "2.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jfrimmel";
|
owner = "jfrimmel";
|
||||||
repo = "cargo-valgrind";
|
repo = "cargo-valgrind";
|
||||||
tag = version;
|
tag = version;
|
||||||
sha256 = "sha256-yUCDKklkfK+2n+THH4QlHb+FpeWfObXpmp4VozsFiUM=";
|
sha256 = "sha256-gr/s2dYCFmhwfXT3tqWPFpXQK2QaAhL7Aqnn1A3KjJI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-nTqdsi+5YmOzQ5DPn3jOfUXUUut9uo5xKyx/R2MjV1A=";
|
cargoHash = "sha256-iNsGrbncZwCHXn/xuiI4Mw4F3FFWswEhwpIMI0xcFgU=";
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
valgrind # for tests where the executable is not wrapped yet
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/cargo-valgrind --prefix PATH : ${lib.makeBinPath [ valgrind ]}
|
wrapProgram $out/bin/cargo-valgrind --prefix PATH : ${lib.makeBinPath [ valgrind ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
"--skip examples_are_runnable"
|
|
||||||
"--skip tests_are_runnable"
|
"--skip tests_are_runnable"
|
||||||
"--skip issue74"
|
"--skip default_cargo_project_reports_no_violations"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue