mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
snmpcheck: init at 1.9
This commit is contained in:
parent
772d9c3b20
commit
7ad795da18
|
@ -131,6 +131,7 @@ source 'https://rubygems.org' do
|
|||
gem 'sinatra'
|
||||
gem 'slop'
|
||||
gem 'snappy'
|
||||
gem 'snmp'
|
||||
gem 'sqlite3'
|
||||
gem 'taglib-ruby'
|
||||
gem 'thrift'
|
||||
|
|
30
pkgs/tools/networking/snmpcheck/default.nix
Normal file
30
pkgs/tools/networking/snmpcheck/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, lib, fetchurl, ruby }:
|
||||
|
||||
let
|
||||
rubyEnv = ruby.withPackages (ps: [ ps.snmp ]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "snmpcheck";
|
||||
version = "1.9";
|
||||
src = fetchurl {
|
||||
url = "http://www.nothink.org/codes/snmpcheck/snmpcheck-${version}.rb";
|
||||
sha256 = "sha256-9xkLqbgxU1uykx+M9QsbPAH8OI/Cqn9uw6ALe23Lbq0=";
|
||||
executable = true;
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = [ rubyEnv.wrappedRuby ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp $src $out/bin/snmp-check
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "SNMP enumerator";
|
||||
homepage = "http://www.nothink.org/codes/snmpcheck/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ elohmeier ];
|
||||
};
|
||||
}
|
|
@ -8944,6 +8944,8 @@ in
|
|||
libpng = libpng12;
|
||||
};
|
||||
|
||||
snmpcheck = callPackage ../tools/networking/snmpcheck {};
|
||||
|
||||
sniffglue = callPackage ../tools/networking/sniffglue { };
|
||||
|
||||
snort = callPackage ../applications/networking/ids/snort { };
|
||||
|
|
|
@ -2522,6 +2522,16 @@
|
|||
};
|
||||
version = "0.2.0";
|
||||
};
|
||||
snmp = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1xr7rwfk7mwxzqcgir0glmyy4j27g6yixfaswsbd2qn6r8c980qf";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.3.2";
|
||||
};
|
||||
solargraph = {
|
||||
dependencies = ["backport" "benchmark" "diff-lcs" "e2mmap" "jaro_winkler" "kramdown" "kramdown-parser-gfm" "parser" "reverse_markdown" "rubocop" "thor" "tilt" "yard"];
|
||||
groups = ["default"];
|
||||
|
|
Loading…
Reference in a new issue