File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
development/python-modules/netbox-bgp Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ setuptools ,
6+ netbox ,
7+ pytestCheckHook ,
8+ python ,
9+ } :
10+
11+ buildPythonPackage rec {
12+ pname = "netbox-bgp" ;
13+ version = "0.14.0" ;
14+ pyproject = true ;
15+
16+ src = fetchFromGitHub {
17+ owner = "netbox-community" ;
18+ repo = "netbox-bgp" ;
19+ rev = "v${ version } " ;
20+ hash = "sha256-O/kvohyQRhAkDKN5smygyrldINkTQX6yY4eTHn7zSPU" ;
21+ } ;
22+
23+ build-system = [ setuptools ] ;
24+
25+ nativeCheckInputs = [ netbox ] ;
26+
27+ preFixup = ''
28+ export PYTHONPATH=${ netbox } /opt/netbox/netbox:$PYTHONPATH
29+ '' ;
30+
31+ dontUsePythonImportsCheck = python . pythonVersion != netbox . python . pythonVersion ;
32+
33+ pythonImportsCheck = [ "netbox_bgp" ] ;
34+
35+ meta = {
36+ description = "NetBox plugin for BGP related objects documentation" ;
37+ homepage = "https://github.com/netbox-community/netbox-bgp" ;
38+ changelog = "https://github.com/netbox-community/netbox-bgp/releases/tag/${ src . rev } " ;
39+ license = lib . licenses . asl20 ;
40+ maintainers = with lib . maintainers ; [ felbinger ] ;
41+ } ;
42+ }
Original file line number Diff line number Diff line change @@ -8889,6 +8889,8 @@ self: super: with self; {
88898889
88908890 netapp-ontap = callPackage ../development/python-modules/netapp-ontap { };
88918891
8892+ netbox-bgp = callPackage ../development/python-modules/netbox-bgp { };
8893+
88928894 netbox-documents = callPackage ../development/python-modules/netbox-documents { };
88938895
88948896 netbox-reorder-rack = callPackage ../development/python-modules/netbox-reorder-rack { };
You can’t perform that action at this time.
0 commit comments