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
30
pkgs/tools/security/onesixtyone/default.nix
Normal file
30
pkgs/tools/security/onesixtyone/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "onesixtyone";
|
||||
version = "unstable-2019-12-26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trailofbits";
|
||||
repo = "onesixtyone";
|
||||
rev = "9ce1dcdad73d45c8694086a4f90d7713be1cbdd7";
|
||||
sha256 = "111nxn4pcbx6p9j8cjjxv1j1s7dgf7f4dix8acsmahwbpzinzkg3";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
$CC -o onesixtyone onesixtyone.c
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -D onesixtyone $out/bin/onesixtyone
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast SNMP Scanner";
|
||||
homepage = "https://github.com/trailofbits/onesixtyone";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.fishi0x01 ];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue