File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
development/python-modules/netbox-attachments Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ pythonAtLeast ,
5+ fetchFromGitHub ,
6+ setuptools ,
7+ netbox ,
8+ } :
9+ buildPythonPackage rec {
10+ pname = "netbox-attachments" ;
11+ version = "7.1.0" ;
12+ pyproject = true ;
13+
14+ disabled = pythonAtLeast "3.13" ;
15+
16+ src = fetchFromGitHub {
17+ owner = "Kani999" ;
18+ repo = "netbox-attachments" ;
19+ tag = version ;
20+ hash = "sha256-uSp6z2jSb+kX5YspIV0essqRHGtOlZ5m0hMS6OO9Trk=" ;
21+ } ;
22+
23+ build-system = [ setuptools ] ;
24+
25+ nativeCheckInputs = [ netbox ] ;
26+
27+ preFixup = ''
28+ export PYTHONPATH=${ netbox } /opt/netbox/netbox:$PYTHONPATH
29+ '' ;
30+
31+ pythonImportsCheck = [ "netbox_attachments" ] ;
32+
33+ meta = {
34+ description = "Plugin to manage attachments for any model" ;
35+ homepage = "https://github.com/Kani999/netbox-attachments" ;
36+ changelog = "https://github.com/Kani999/netbox-attachments/releases/tag/${ src . tag } " ;
37+ license = lib . licenses . asl20 ;
38+ platforms = lib . platforms . linux ;
39+ maintainers = with lib . maintainers ; [ felbinger ] ;
40+ } ;
41+ }
Original file line number Diff line number Diff line change @@ -9685,6 +9685,8 @@ self: super: with self; {
96859685
96869686 netapp-ontap = callPackage ../development/python-modules/netapp-ontap { };
96879687
9688+ netbox-attachments = callPackage ../development/python-modules/netbox-attachments { };
9689+
96889690 netbox-bgp = callPackage ../development/python-modules/netbox-bgp { };
96899691
96909692 netbox-contract = callPackage ../development/python-modules/netbox-contract { };
You can’t perform that action at this time.
0 commit comments