about summary refs log tree commit diff
path: root/pkgs/development/tools/rust/cargo-bolero/default.nix
blob: 550ced495ef207e13d2a416fcc1849c97a05ae10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, rustPlatform, fetchCrate, libbfd, libopcodes, libunwind, nix-update-script }:

rustPlatform.buildRustPackage rec {
  pname = "cargo-bolero";
  version = "0.11.2";

  src = fetchCrate {
    inherit pname version;
    sha256 = "sha256-Xcu91CbIDBLSojWQJjvdFWJiqjMteAxF105lemCAipk=";
  };

  cargoSha256 = "sha256-QLtf42Il+XHWeaUdh8jNNWU1sXaVe82sYOKiHLoXw2M=";

  buildInputs = [ libbfd libopcodes libunwind ];

  passthru = {
    updateScript = nix-update-script { };
  };

  meta = with lib; {
    description = "Fuzzing and property testing front-end framework for Rust";
    mainProgram = "cargo-bolero";
    homepage = "https://github.com/camshaft/bolero";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ ekleog ];
  };
}