about summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-04-02 13:38:23 +0100
committerGitHub <noreply@github.com>2020-04-02 13:38:23 +0100
commit5b806fe5691a55794418a7e4919d6517520f889b (patch)
tree9c1aaeeb545a054b07e16f45ae50b662abbb3ac0 /pkgs/tools/security
parent544821654d4f98189e1c81c7bb1cf98aa4b287cd (diff)
parentda971031ea15c6bf972fb3b848a5e3fc445eb358 (diff)
downloadnixlib-5b806fe5691a55794418a7e4919d6517520f889b.tar
nixlib-5b806fe5691a55794418a7e4919d6517520f889b.tar.gz
nixlib-5b806fe5691a55794418a7e4919d6517520f889b.tar.bz2
nixlib-5b806fe5691a55794418a7e4919d6517520f889b.tar.lz
nixlib-5b806fe5691a55794418a7e4919d6517520f889b.tar.xz
nixlib-5b806fe5691a55794418a7e4919d6517520f889b.tar.zst
nixlib-5b806fe5691a55794418a7e4919d6517520f889b.zip
Merge pull request #78609 from fishi0x01/fishi0x01/onesixtyone
onesixtyone: init at unstable-2019-12-26
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/onesixtyone/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/security/onesixtyone/default.nix b/pkgs/tools/security/onesixtyone/default.nix
new file mode 100644
index 000000000000..4eed52b07f0e
--- /dev/null
+++ b/pkgs/tools/security/onesixtyone/default.nix
@@ -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 ];
+  };
+}
+