2021-05-11 08:22:29 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
|
2018-05-08 01:36:41 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "cargo-fuzz";
|
2022-02-07 21:33:47 +00:00
|
|
|
version = "0.11.0";
|
2018-05-08 01:36:41 +00:00
|
|
|
|
2019-11-17 18:21:05 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rust-fuzz";
|
|
|
|
repo = "cargo-fuzz";
|
2022-02-07 21:33:47 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-vjKo0L7sYrC7qWdOGSJDWpL04tmNjO3QRwAIRHN/DiI=";
|
2019-11-17 18:21:05 +00:00
|
|
|
};
|
2018-05-08 01:36:41 +00:00
|
|
|
|
2022-02-07 21:33:47 +00:00
|
|
|
cargoSha256 = "sha256-8XVRMwrBEJ1duQtXzNpuN5wJPUgziJlka4n/nAIqeEc=";
|
2018-05-08 01:36:41 +00:00
|
|
|
|
2021-05-11 08:22:29 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2020-08-20 09:20:00 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-05-08 01:36:41 +00:00
|
|
|
description = "Command line helpers for fuzzing";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/rust-fuzz/cargo-fuzz";
|
2018-05-08 01:36:41 +00:00
|
|
|
license = with licenses; [ mit asl20 ];
|
|
|
|
maintainers = [ maintainers.ekleog ];
|
|
|
|
};
|
|
|
|
}
|