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
44
pkgs/tools/security/sn0int/default.nix
Normal file
44
pkgs/tools/security/sn0int/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, libsodium
|
||||
, libseccomp
|
||||
, sqlite
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sn0int";
|
||||
version = "0.24.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kpcyrd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-WcCNNLNvOtYiSWVvXA8mnlXOV2T/yIXFzZky5y3tYJ4=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-5pVxOkm9OLSX5Lxe3DSM0mVSMhlHfFBCiMMR37WrZbI=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsodium
|
||||
libseccomp
|
||||
sqlite
|
||||
];
|
||||
|
||||
# One of the dependencies (chrootable-https) tries to read "/etc/resolv.conf"
|
||||
# in "checkPhase", hence fails in sandbox of "nix".
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Semi-automatic OSINT framework and package manager";
|
||||
homepage = "https://github.com/kpcyrd/sn0int";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ xrelkd ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue