File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed
development/python-modules/netbox-floorplan-plugin Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 44014401 github = "CnTeng";
44024402 githubId = 56501688;
44034403 };
4404+ cobalt = {
4405+ 4406+ github = "Chaostheorie";
4407+ githubId = 42151227;
4408+ name = "Cobalt";
4409+ };
44044410 CobaltCause = {
44054411 name = "Charles Hall";
44064412
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ setuptools ,
6+ netbox ,
7+ pythonAtLeast ,
8+ } :
9+ buildPythonPackage rec {
10+ pname = "netbox-floorplan-plugin" ;
11+ version = "0.6.0" ;
12+ pyproject = true ;
13+
14+ disabled = pythonAtLeast "3.13" ;
15+
16+ src = fetchFromGitHub {
17+ owner = "netbox-community" ;
18+ repo = "netbox-floorplan-plugin" ;
19+ tag = version ;
20+ hash = "sha256-cJrqSXRCBedZh/pIozz/bHyhQosTy8cFYyji3KJva9Q=" ;
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_floorplan" ] ;
32+
33+ meta = with lib ; {
34+ description = "Netbox plugin providing floorplan mapping capability for locations and sites" ;
35+ homepage = "https://github.com/netbox-community/netbox-floorplan-plugin" ;
36+ changelog = "https://github.com/netbox-community/netbox-floorplan-plugin/releases/tag/${ src . tag } " ;
37+ license = licenses . lgpl3 ;
38+ maintainers = with maintainers ; [ cobalt ] ;
39+ } ;
40+ }
Original file line number Diff line number Diff line change @@ -9166,6 +9166,8 @@ self: super: with self; {
91669166
91679167 netbox-documents = callPackage ../development/python-modules/netbox-documents { };
91689168
9169+ netbox-floorplan-plugin = callPackage ../development/python-modules/netbox-floorplan-plugin { };
9170+
91699171 netbox-interface-synchronization = callPackage ../development/python-modules/netbox-interface-synchronization { };
91709172
91719173 netbox-plugin-prometheus-sd = callPackage ../development/python-modules/netbox-plugin-prometheus-sd { };
You can’t perform that action at this time.
0 commit comments