depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-fuzz/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

26 lines
701 B
Nix

{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "cargo-fuzz";
version = "0.11.4";
src = fetchFromGitHub {
owner = "rust-fuzz";
repo = "cargo-fuzz";
rev = version;
hash = "sha256-+k1kHiHRQER/8JTOeQdxcbsfMvS6eC74Wkd9IlLldok=";
};
cargoHash = "sha256-N3niTnSSIfOVOGhcHHgTbLnpYNmM4bow7qX539P+kHQ=";
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 = with maintainers; [ ekleog matthiasbeyer ];
};
}