diff options
author | Karl Fischer <fishi0x01@gmail.com> | 2020-01-27 14:55:39 +0100 |
---|---|---|
committer | Karl Fischer <fishi0x01@gmail.com> | 2020-03-31 17:50:18 +0200 |
commit | da971031ea15c6bf972fb3b848a5e3fc445eb358 (patch) | |
tree | 7a56d0fcf501dfbf42e076433a12178512ea01dd /pkgs/tools | |
parent | 36da345caa1e4185f62758016c7eaf88d04e8066 (diff) | |
download | nixlib-da971031ea15c6bf972fb3b848a5e3fc445eb358.tar nixlib-da971031ea15c6bf972fb3b848a5e3fc445eb358.tar.gz nixlib-da971031ea15c6bf972fb3b848a5e3fc445eb358.tar.bz2 nixlib-da971031ea15c6bf972fb3b848a5e3fc445eb358.tar.lz nixlib-da971031ea15c6bf972fb3b848a5e3fc445eb358.tar.xz nixlib-da971031ea15c6bf972fb3b848a5e3fc445eb358.tar.zst nixlib-da971031ea15c6bf972fb3b848a5e3fc445eb358.zip |
onesixtyone: init at unstable-2019-12-26
Diffstat (limited to 'pkgs/tools')
-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 ]; + }; +} + |