3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/rust/cargo-fuzz/default.nix

27 lines
685 B
Nix
Raw Normal View History

2021-05-11 09:22:29 +01:00
{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
2018-05-08 02:36:41 +01:00
rustPlatform.buildRustPackage rec {
2019-08-31 12:41:23 +01:00
pname = "cargo-fuzz";
2021-04-27 17:54:17 +01:00
version = "0.10.1";
2018-05-08 02:36:41 +01:00
2019-11-17 18:21:05 +00:00
src = fetchFromGitHub {
owner = "rust-fuzz";
repo = "cargo-fuzz";
rev = version;
2021-04-27 17:54:17 +01:00
sha256 = "sha256-txlHXboQi3Z8AMIJJBZsBrCA7xggF0zGDpKqcD8UxMo=";
2019-11-17 18:21:05 +00:00
};
2018-05-08 02:36:41 +01:00
2021-04-27 17:54:17 +01:00
cargoSha256 = "sha256-eEfry6Q2YiIkNEHu6C8p17pUTF43eS1/iTP2oATZ/F8=";
2018-05-08 02:36:41 +01:00
2021-05-11 09:22:29 +01:00
buildInputs = lib.optional stdenv.isDarwin libiconv;
doCheck = false;
meta = with lib; {
2018-05-08 02:36:41 +01:00
description = "Command line helpers for fuzzing";
homepage = "https://github.com/rust-fuzz/cargo-fuzz";
2018-05-08 02:36:41 +01:00
license = with licenses; [ mit asl20 ];
maintainers = [ maintainers.ekleog ];
};
}