587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
27 lines
733 B
Nix
27 lines
733 B
Nix
{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-fuzz";
|
|
version = "0.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rust-fuzz";
|
|
repo = "cargo-fuzz";
|
|
rev = version;
|
|
hash = "sha256-PC36O5+eB+yVLpz+EywBDGcMAtHl79FYwUo/l/JL8hM=";
|
|
};
|
|
|
|
cargoHash = "sha256-sfvepPpYtgA0TuUlu0CD50HX933AVQbUGzJBNAzFR94=";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Command line helpers for fuzzing";
|
|
mainProgram = "cargo-fuzz";
|
|
homepage = "https://github.com/rust-fuzz/cargo-fuzz";
|
|
license = with licenses; [ mit asl20 ];
|
|
maintainers = with maintainers; [ ekleog matthiasbeyer ];
|
|
};
|
|
}
|