lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.11-pre 31 lines 734 B view raw
1{ stdenv, lib, fetchurl, ruby }: 2 3let 4 rubyEnv = ruby.withPackages (ps: [ ps.snmp ]); 5in 6stdenv.mkDerivation rec { 7 pname = "snmpcheck"; 8 version = "1.9"; 9 src = fetchurl { 10 url = "http://www.nothink.org/codes/snmpcheck/snmpcheck-${version}.rb"; 11 sha256 = "sha256-9xkLqbgxU1uykx+M9QsbPAH8OI/Cqn9uw6ALe23Lbq0="; 12 executable = true; 13 }; 14 15 dontUnpack = true; 16 17 buildInputs = [ rubyEnv.wrappedRuby ]; 18 19 installPhase = '' 20 mkdir -p $out/bin 21 cp $src $out/bin/snmp-check 22 ''; 23 24 meta = with lib; { 25 description = "SNMP enumerator"; 26 homepage = "http://www.nothink.org/codes/snmpcheck/"; 27 license = licenses.gpl3Plus; 28 maintainers = with maintainers; [ elohmeier ]; 29 mainProgram = "snmp-check"; 30 }; 31}