1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2019-12-26";
7 src = fetchFromGitHub {
10 rev = "9ce1dcdad73d45c8694086a4f90d7713be1cbdd7";
11 sha256 = "111nxn4pcbx6p9j8cjjxv1j1s7dgf7f4dix8acsmahwbpzinzkg3";
15 $CC -o onesixtyone onesixtyone.c
19 install -D onesixtyone $out/bin/onesixtyone
23 description = "Fast SNMP Scanner";
24 homepage = "https://github.com/trailofbits/onesixtyone";
25 license = licenses.gpl2Plus;
26 platforms = platforms.unix;
27 maintainers = [ maintainers.fishi0x01 ];
28 mainProgram = "onesixtyone";