uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
25
pkgs/development/tools/rust/cargo-bolero/default.nix
Normal file
25
pkgs/development/tools/rust/cargo-bolero/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue