netboxPlugins.netbox-security: migrate to finalAttrs

This commit is contained in:
Nico Felbinger
2026-06-09 17:27:21 +02:00
parent 788919a370
commit be5633c2cb
@@ -9,7 +9,7 @@
django-polymorphic,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-security";
version = "1.4.5";
pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "andy-shady-org";
repo = "netbox-security";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-DGiuQignYPSTFFm0RkDl5kwYQJNKbRdgdmIZ1DKXkGs=";
};
@@ -37,8 +37,8 @@ buildPythonPackage rec {
meta = {
description = "NetBox plugin covering various security and NAT related models";
homepage = "https://github.com/andy-shady-org/netbox-security";
changelog = "https://github.com/andy-shady-org/netbox-security/releases/tag/${src.tag}";
changelog = "https://github.com/andy-shady-org/netbox-security/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})