depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-fuzz/default.nix
Default email 74492c8629 Project import generated by Copybara.
GitOrigin-RevId: cb372c3b8880e504b06946e8fb2ca9777c685505
2021-12-25 13:07:40 +08:00

26 lines
685 B
Nix

{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "cargo-fuzz";
version = "0.10.2";
src = fetchFromGitHub {
owner = "rust-fuzz";
repo = "cargo-fuzz";
rev = version;
sha256 = "sha256-5dHEUGn2CrEpSTJsbnSRx/hKXx6dLCDcuD1dPOH49d4=";
};
cargoSha256 = "sha256-vZPd8Zzyp0PgIdyp5qY57ex0cCihplw/FY+xf3etuu8=";
buildInputs = lib.optional stdenv.isDarwin libiconv;
doCheck = false;
meta = with lib; {
description = "Command line helpers for fuzzing";
homepage = "https://github.com/rust-fuzz/cargo-fuzz";
license = with licenses; [ mit asl20 ];
maintainers = [ maintainers.ekleog ];
};
}