2021-05-20 23:08:51 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-fuzz";
|
2021-12-25 05:07:40 +00:00
|
|
|
version = "0.10.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rust-fuzz";
|
|
|
|
repo = "cargo-fuzz";
|
|
|
|
rev = version;
|
2021-12-25 05:07:40 +00:00
|
|
|
sha256 = "sha256-5dHEUGn2CrEpSTJsbnSRx/hKXx6dLCDcuD1dPOH49d4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-25 05:07:40 +00:00
|
|
|
cargoSha256 = "sha256-vZPd8Zzyp0PgIdyp5qY57ex0cCihplw/FY+xf3etuu8=";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Command line helpers for fuzzing";
|
|
|
|
homepage = "https://github.com/rust-fuzz/cargo-fuzz";
|
|
|
|
license = with licenses; [ mit asl20 ];
|
|
|
|
maintainers = [ maintainers.ekleog ];
|
|
|
|
};
|
|
|
|
}
|