python312Packages.netbox-attachments: init at 7.1.0 (#390142)
This commit is contained in:
commit
0b836099a4
@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonAtLeast,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
netbox,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "netbox-attachments";
|
||||
version = "7.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonAtLeast "3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kani999";
|
||||
repo = "netbox-attachments";
|
||||
tag = version;
|
||||
hash = "sha256-uSp6z2jSb+kX5YspIV0essqRHGtOlZ5m0hMS6OO9Trk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ netbox ];
|
||||
|
||||
preFixup = ''
|
||||
export PYTHONPATH=${netbox}/opt/netbox/netbox:$PYTHONPATH
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "netbox_attachments" ];
|
||||
|
||||
meta = {
|
||||
description = "Plugin to manage attachments for any model";
|
||||
homepage = "https://github.com/Kani999/netbox-attachments";
|
||||
changelog = "https://github.com/Kani999/netbox-attachments/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ felbinger ];
|
||||
};
|
||||
}
|
@ -9685,6 +9685,8 @@ self: super: with self; {
|
||||
|
||||
netapp-ontap = callPackage ../development/python-modules/netapp-ontap { };
|
||||
|
||||
netbox-attachments = callPackage ../development/python-modules/netbox-attachments { };
|
||||
|
||||
netbox-bgp = callPackage ../development/python-modules/netbox-bgp { };
|
||||
|
||||
netbox-contract = callPackage ../development/python-modules/netbox-contract { };
|
||||
|
Loading…
Reference in New Issue
Block a user