netboxPlugins.netbox-routing: migrate to finalAttrs
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
django-polymorphic,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "netbox-routing";
|
||||
version = "0.4.3";
|
||||
pyproject = true;
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "DanSheps";
|
||||
repo = "netbox-routing";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3biANhaAi3uRtaXnAw4i6nWnHkARkkBVqyBHLXIMOdA=";
|
||||
};
|
||||
|
||||
@@ -39,8 +39,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "NetBox plugin for tracking all kinds of routing information";
|
||||
homepage = "https://github.com/DanSheps/netbox-routing";
|
||||
changelog = "https://github.com/DanSheps/netbox-routing/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/DanSheps/netbox-routing/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ benley ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user