2024-06-11 12:09:47 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate, libbfd, libopcodes, libunwind, nix-update-script }:
|
2022-05-13 17:06:17 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-bolero";
|
2024-06-11 12:09:47 +00:00
|
|
|
version = "0.11.2";
|
2022-05-13 17:06:17 +00:00
|
|
|
|
2022-12-25 19:19:05 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-07-12 18:42:22 +00:00
|
|
|
hash = "sha256-Xcu91CbIDBLSojWQJjvdFWJiqjMteAxF105lemCAipk=";
|
2022-05-13 17:06:17 +00:00
|
|
|
};
|
|
|
|
|
2024-07-02 09:04:59 +00:00
|
|
|
cargoHash = "sha256-QLtf42Il+XHWeaUdh8jNNWU1sXaVe82sYOKiHLoXw2M=";
|
2022-05-13 17:06:17 +00:00
|
|
|
|
|
|
|
buildInputs = [ libbfd libopcodes libunwind ];
|
|
|
|
|
2024-06-11 12:09:47 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script { };
|
|
|
|
};
|
|
|
|
|
2022-05-13 17:06:17 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Fuzzing and property testing front-end framework for Rust";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "cargo-bolero";
|
2022-12-25 19:19:05 +00:00
|
|
|
homepage = "https://github.com/camshaft/bolero";
|
2022-05-13 17:06:17 +00:00
|
|
|
license = with licenses; [ mit ];
|
2022-12-25 19:19:05 +00:00
|
|
|
maintainers = with maintainers; [ ekleog ];
|
2022-05-13 17:06:17 +00:00
|
|
|
};
|
|
|
|
}
|