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";
|
2024-02-20 22:39:16 +00:00
|
|
|
version = "0.12.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";
|
2023-08-14 19:15:18 +00:00
|
|
|
rev = version;
|
2024-02-20 22:39:16 +00:00
|
|
|
hash = "sha256-PC36O5+eB+yVLpz+EywBDGcMAtHl79FYwUo/l/JL8hM=";
|
2019-11-17 18:21:05 +00:00
|
|
|
};
|
2018-05-08 01:36:41 +00:00
|
|
|
|
2024-02-20 22:39:16 +00:00
|
|
|
cargoHash = "sha256-sfvepPpYtgA0TuUlu0CD50HX933AVQbUGzJBNAzFR94=";
|
2018-05-08 01:36:41 +00:00
|
|
|
|
2021-05-11 08:22:29 +00:00
|
|
|
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
|
|
|
|
|
2020-08-20 09:20:00 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-05-08 01:36:41 +00:00
|
|
|
description = "Command line helpers for fuzzing";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "cargo-fuzz";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/rust-fuzz/cargo-fuzz";
|
2018-05-08 01:36:41 +00:00
|
|
|
license = with licenses; [ mit asl20 ];
|
2023-08-11 22:41:21 +00:00
|
|
|
maintainers = with maintainers; [ ekleog matthiasbeyer ];
|
2018-05-08 01:36:41 +00:00
|
|
|
};
|
|
|
|
}
|