My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/tools/rust/cargo-bolero/default.nix

25 lines
725 B

{ lib, fetchFromGitHub, rustPlatform, stdenv, libbfd, libopcodes, libunwind }:
rustPlatform.buildRustPackage rec {
pname = "cargo-bolero";
version = "0.6.2";
src = fetchFromGitHub {
owner = "camshaft";
repo = "bolero";
rev = "${pname}-v${version}";
sha256 = "1p8g8av0l1qsmq09m0nwyyryk1v5bbah5izl4hf80ivi41mywkyi";
};
cargoLock.lockFile = ./Cargo.lock;
postPatch = "cp ${./Cargo.lock} Cargo.lock";
buildInputs = [ libbfd libopcodes libunwind ];
meta = with lib; {
description = "Fuzzing and property testing front-end framework for Rust";
homepage = "https://github.com/camshaft/cargo-bolero";
license = with licenses; [ mit ];
maintainers = [ maintainers.ekleog ];
};
}