diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-04-02 13:38:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 13:38:23 +0100 |
commit | 5b806fe5691a55794418a7e4919d6517520f889b (patch) | |
tree | 9c1aaeeb545a054b07e16f45ae50b662abbb3ac0 /pkgs/tools/security | |
parent | 544821654d4f98189e1c81c7bb1cf98aa4b287cd (diff) | |
parent | da971031ea15c6bf972fb3b848a5e3fc445eb358 (diff) | |
download | nixlib-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.nix | 30 |
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 ]; + }; +} + |