nixpkgs/pkgs/development/tools/rust/cargo-fuzz/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
691 B
Nix
Raw Normal View History

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;
doCheck = false;
meta = with lib; {
2018-05-08 01:36:41 +00:00
description = "Command line helpers for fuzzing";
homepage = "https://github.com/rust-fuzz/cargo-fuzz";
2018-05-08 01:36:41 +00:00
license = with licenses; [ mit asl20 ];
maintainers = [ maintainers.ekleog ];
};
}