Skip to content

Commit

Permalink
python311Packages.netbox-bgp: init at 0.11.1
Browse files Browse the repository at this point in the history
Co-authored-by: Sandro <[email protected]>
  • Loading branch information
felbinger and SuperSandro2000 committed Oct 18, 2024
1 parent 08b573c commit e583000
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/development/python-modules/netbox-bgp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
netbox,
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "netbox-bgp";
version = "0.11.1";
pyproject = true;

src = fetchFromGitHub {
owner = "netbox-community";
repo = "netbox-bgp";
rev = "v${version}";
hash = "sha256-+F7Y+bmxVz/P1C8zG9Uev646zBKvlYOx/pENN1+4Dig=";
};

nativeBuildInputs = [ pytestCheckHook ];

build-system = [ setuptools ];

checkInputs = [ netbox ];

pythonImportsCheck = [ "netbox_bgp" ];

meta = {
description = "NetBox plugin for BGP related objects documentation";
homepage = "https://github.com/netbox-community/netbox-bgp";
changelog = "https://github.com/netbox-community/netbox-bgp/releases/tag/${src.rev}";
license = lib.licenses.asl20;
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 @@ -8869,6 +8869,8 @@ self: super: with self; {

netapp-ontap = callPackage ../development/python-modules/netapp-ontap { };

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

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

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

0 comments on commit e583000

Please sign in to comment.