Merge pull request #78609 from fishi0x01/fishi0x01/onesixtyone

onesixtyone: init at unstable-2019-12-26
This commit is contained in:
Jörg Thalheim 2020-04-02 13:38:23 +01:00 committed by GitHub
commit 5b806fe569
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ 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 stdenv.lib; {
description = "Fast SNMP Scanner";
homepage = "https://github.com/trailofbits/onesixtyone";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.fishi0x01 ];
};
}

View File

@ -185,6 +185,8 @@ in
enum4linux = callPackage ../tools/security/enum4linux {}; enum4linux = callPackage ../tools/security/enum4linux {};
onesixtyone = callPackage ../tools/security/onesixtyone {};
device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix {}; device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix {};
diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins; diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;