nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "cargo-fuzz";
5 version = "0.11.0";
6
7 src = fetchFromGitHub {
8 owner = "rust-fuzz";
9 repo = "cargo-fuzz";
10 rev = "v${version}";
11 sha256 = "sha256-vjKo0L7sYrC7qWdOGSJDWpL04tmNjO3QRwAIRHN/DiI=";
12 };
13
14 cargoSha256 = "sha256-8XVRMwrBEJ1duQtXzNpuN5wJPUgziJlka4n/nAIqeEc=";
15
16 buildInputs = lib.optional stdenv.isDarwin libiconv;
17
18 doCheck = false;
19
20 meta = with lib; {
21 description = "Command line helpers for fuzzing";
22 homepage = "https://github.com/rust-fuzz/cargo-fuzz";
23 license = with licenses; [ mit asl20 ];
24 maintainers = [ maintainers.ekleog ];
25 };
26}