9 rustPlatform.buildRustPackage rec {
10 pname = "cargo-valgrind";
13 src = fetchFromGitHub {
15 repo = "cargo-valgrind";
17 sha256 = "sha256-l/1paghG/ARD0JfzNh0xj2UD5kW6FddM8Xrd/FCygYc=";
20 cargoHash = "sha256-9/kIIZDIsOhUvRT3TyXN5PGFUB+a8m2yXmzBbsPUK28=";
23 updateScript = nix-update-script { };
26 nativeBuildInputs = [ makeWrapper ];
29 wrapProgram $out/bin/cargo-valgrind --prefix PATH : ${lib.makeBinPath [ valgrind ]}
33 "--skip examples_are_runnable"
34 "--skip tests_are_runnable"
38 description = ''Cargo subcommand "valgrind": runs valgrind and collects its output in a helpful manner'';
39 mainProgram = "cargo-valgrind";
40 homepage = "https://github.com/jfrimmel/cargo-valgrind";
41 license = with licenses; [ asl20 /* or */ mit ];
42 maintainers = with maintainers; [ otavio matthiasbeyer ];