Skip to content

Commit

Permalink
python312Packages.netbox-interface-synchronization: init at 4.1.4 (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jan 17, 2025
2 parents e78a020 + 03bab65 commit 8ad4497
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
netbox,
}:
buildPythonPackage rec {
pname = "netbox-interface-synchronization";
version = "4.1.4";
pyproject = true;

src = fetchFromGitHub {
owner = "NetTech2001";
repo = "netbox-interface-synchronization";
tag = version;
hash = "sha256-ikorJa5kCaVfxXsr8PSzuBME3PUc+UM+VDcq82WtDVs=";
};

build-system = [ setuptools ];

# netbox is required for the pythonImportsCheck; plugin does not provide unit tests
nativeCheckInputs = [ netbox ];

preFixup = ''
export PYTHONPATH=${netbox}/opt/netbox/netbox:$PYTHONPATH
'';

pythonImportsCheck = [ "netbox_interface_synchronization" ];

meta = {
description = "Netbox plugin to compare and synchronize interfaces between devices and device types";
homepage = "https://github.com/NetTech2001/netbox-interface-synchronization";
changelog = "https://github.com/NetTech2001/netbox-interface-synchronization/releases/tag/${src.tag}";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ felbinger ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9162,6 +9162,8 @@ self: super: with self; {

netbox-documents = callPackage ../development/python-modules/netbox-documents { };

netbox-interface-synchronization = callPackage ../development/python-modules/netbox-interface-synchronization { };

netbox-plugin-prometheus-sd = callPackage ../development/python-modules/netbox-plugin-prometheus-sd { };

netbox-qrcode = callPackage ../development/python-modules/netbox-qrcode { };
Expand Down

0 comments on commit 8ad4497

Please sign in to comment.