File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ python3 ,
5+ versionCheckHook ,
6+ } :
7+
8+ python3 . pkgs . buildPythonApplication ( finalAttrs : {
9+ pname = "snmpen" ;
10+ version = "1.1.0" ;
11+ pyproject = true ;
12+
13+ src = fetchFromGitHub {
14+ owner = "fabaff" ;
15+ repo = "snmpen" ;
16+ tag = finalAttrs . version ;
17+ hash = "sha256-PH1kUnDOiiE7ouEkhd1+TuIBziB2uxCVnmiEkCgQma0=" ;
18+ } ;
19+
20+ build-system = with python3 . pkgs ; [ hatchling ] ;
21+
22+ dependencies = with python3 . pkgs ; [
23+ humanize
24+ pysnmp
25+ rich
26+ ] ;
27+
28+ nativeBuildInputs = with python3 . pkgs ; [
29+ pytestCheckHook
30+ pytest-asyncio
31+ ] ;
32+
33+ nativeInstallCheckInputs = [ versionCheckHook ] ;
34+
35+ pythonImportsCheck = [ "snmpen" ] ;
36+
37+ doInstallCheck = true ;
38+
39+ meta = {
40+ description = "SNMP Enumeration tool" ;
41+ homepage = "https://github.com/fabaff/snmpen" ;
42+ changelog = "https://github.com/fabaff/snmpen/blob/${ finalAttrs . src . rev } /CHANGELOG.md" ;
43+ license = lib . licenses . mit ;
44+ maintainers = with lib . maintainers ; [ fab ] ;
45+ mainProgram = "snmpen" ;
46+ } ;
47+ } )
You can’t perform that action at this time.
0 commit comments