parent
dd816a74ce
commit
d98d001948
2 changed files with 40 additions and 0 deletions
38
pkgs/tools/security/cherrybomb/default.nix
Normal file
38
pkgs/tools/security/cherrybomb/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchCrate
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
, stdenv
|
||||||
|
, darwin
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cherrybomb";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchCrate {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-qZ1eKcRAwCzrzvw6QR28oZ8sGnsXmoOW/bWLQTlpqlo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-eosK7MQ3UB8rxKHCrb3s3+BVarv19h0cL+uzwg95Hc8=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A CLI tool that helps you avoid undefined user behavior by validating your API specifications";
|
||||||
|
homepage = "https://github.com/blst-security/cherrybomb";
|
||||||
|
changelog = "https://github.com/blst-security/cherrybomb/releases/tag/v${version}";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6191,6 +6191,8 @@ with pkgs;
|
||||||
|
|
||||||
checkmake = callPackage ../development/tools/checkmake { };
|
checkmake = callPackage ../development/tools/checkmake { };
|
||||||
|
|
||||||
|
cherrybomb = callPackage ../tools/security/cherrybomb { };
|
||||||
|
|
||||||
chit = callPackage ../development/tools/chit { };
|
chit = callPackage ../development/tools/chit { };
|
||||||
|
|
||||||
chkrootkit = callPackage ../tools/security/chkrootkit { };
|
chkrootkit = callPackage ../tools/security/chkrootkit { };
|
||||||
|
|
Loading…
Reference in a new issue