1 { stdenv, lib, fetchurl, ruby }:
4 rubyEnv = ruby.withPackages (ps: [ ps.snmp ]);
6 stdenv.mkDerivation rec {
10 url = "http://www.nothink.org/codes/snmpcheck/snmpcheck-${version}.rb";
11 sha256 = "sha256-9xkLqbgxU1uykx+M9QsbPAH8OI/Cqn9uw6ALe23Lbq0=";
17 buildInputs = [ rubyEnv.wrappedRuby ];
21 cp $src $out/bin/snmp-check
25 description = "SNMP enumerator";
26 homepage = "http://www.nothink.org/codes/snmpcheck/";
27 license = licenses.gpl3Plus;
28 mainProgram = "snmp-check";