netboxPlugins: migrate to finalAttrs (#529981)

This commit is contained in:
Felix Bargfeldt
2026-06-11 00:01:46 +00:00
committed by GitHub
16 changed files with 64 additions and 63 deletions
@@ -8,7 +8,7 @@
python,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-bgp";
version = "0.19.0";
pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "netbox-community";
repo = "netbox-bgp";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-6LZLsUPC9L9L19KeXJilJvmZYcl6YwqysGO8nFAUmcI=";
};
@@ -36,8 +36,8 @@ buildPythonPackage rec {
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.tag}";
changelog = "https://github.com/netbox-community/netbox-bgp/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -10,7 +10,7 @@
pydriller,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-config-backup";
version = "2.2.2";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "DanSheps";
repo = "netbox-config-backup";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-PT7/RCpB7SAinQ8McQV59b9ouqqUSoEqEj0ultL37cs=";
};
@@ -45,8 +45,8 @@ buildPythonPackage rec {
meta = {
description = "NetBox plugin for configuration backups using napalm";
homepage = "https://github.com/DanSheps/netbox-config-backup";
changelog = "https://github.com/DanSheps/netbox-config-backup/releases/tag/${src.tag}";
changelog = "https://github.com/DanSheps/netbox-config-backup/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -7,7 +7,7 @@
python,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-contextmenus";
version = "1.4.14";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "PieterL75";
repo = "netbox_contextmenus";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-YqyxZaHKXhMLDdBTAAKQsCBBSXikxBgcOvXEfa6f+0Y=";
};
@@ -27,8 +27,8 @@ buildPythonPackage rec {
meta = {
description = "Netbox plugin to add context buttons to the links, making navigating less clicky";
homepage = "https://github.com/PieterL75/netbox_contextmenus/";
changelog = "https://github.com/PieterL75/netbox_contextmenus/releases/tag/${src.tag}";
changelog = "https://github.com/PieterL75/netbox_contextmenus/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -7,7 +7,7 @@
python,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-custom-objects";
version = "0.5.1";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "netboxlabs";
repo = "netbox-custom-objects";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-8PEqt6TpoQ8ncyZPesRos0BQHF3cKIzgoFr56v8UTTY=";
};
@@ -35,8 +35,8 @@ buildPythonPackage rec {
meta = {
description = "NetBox plugin to create new object types";
homepage = "https://github.com/netboxlabs/netbox-custom-objects";
changelog = "https://github.com/netboxlabs/netbox-custom-objects/releases/tag/${src.tag}";
changelog = "https://github.com/netboxlabs/netbox-custom-objects/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.netboxLimitedUse;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -7,7 +7,7 @@
python,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-data-flows";
version = "1.5.2";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "Alef-Burzmali";
repo = "netbox-data-flows";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-fry8AK0qgPs+QC5L2oilGSY68m1Y9KHWQ/QOzQ7B2+k=";
};
@@ -35,8 +35,8 @@ buildPythonPackage rec {
meta = {
description = "NetBox plugin to document data flows between systems and applications";
homepage = "https://github.com/Alef-Burzmali/netbox-data-flows";
changelog = "https://github.com/Alef-Burzmali/netbox-data-flows/releases/tag/${src.tag}";
changelog = "https://github.com/Alef-Burzmali/netbox-data-flows/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -5,7 +5,7 @@
setuptools,
dnspython,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-plugin-dns";
version = "1.5.9";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "peteeckel";
repo = "netbox-plugin-dns";
tag = version;
tag = finalAttrs.version;
hash = "sha256-yWOoYQm5XQs8j2DWs1UAaT9LwI61TKHjfOdjRn6UtJA=";
};
@@ -29,9 +29,9 @@ buildPythonPackage rec {
meta = {
description = "Netbox plugin for managing DNS data";
homepage = "https://github.com/peteeckel/netbox-plugin-dns";
changelog = "https://github.com/peteeckel/netbox-plugin-dns/releases/tag/${src.tag}";
changelog = "https://github.com/peteeckel/netbox-plugin-dns/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -8,7 +8,7 @@
netbox,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-documents";
version = "0.8.2";
pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "jasonyates";
repo = "netbox-documents";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-XFVfNLU9a/0tQAVTrN2B1Oia/isOD8G5BdA3fVUn2sM=";
};
@@ -37,8 +37,8 @@ buildPythonPackage rec {
meta = {
description = "Plugin designed to faciliate the storage of site, circuit, device type and device specific documents within NetBox";
homepage = "https://github.com/jasonyates/netbox-documents";
changelog = "https://github.com/jasonyates/netbox-documents/releases/tag/${src.tag}";
changelog = "https://github.com/jasonyates/netbox-documents/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -8,7 +8,7 @@
netaddr,
python,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-floorplan-plugin";
version = "0.9.1";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "netbox-community";
repo = "netbox-floorplan-plugin";
tag = version;
tag = finalAttrs.version;
hash = "sha256-0EeE5NrImbCs6xqrSTGupXOuv455EfNXgcLVix2HTPs=";
};
@@ -40,8 +40,8 @@ buildPythonPackage rec {
meta = {
description = "Netbox plugin providing floorplan mapping capability for locations and sites";
homepage = "https://github.com/netbox-community/netbox-floorplan-plugin";
changelog = "https://github.com/netbox-community/netbox-floorplan-plugin/releases/tag/${src.tag}";
changelog = "https://github.com/netbox-community/netbox-floorplan-plugin/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ cobalt ];
};
}
})
@@ -7,7 +7,7 @@
python,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-inventory";
version = "2.5.1";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "ArnesSI";
repo = "netbox-inventory";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-6MIYwz11YZhu3ksM7iAfKACKIKpuq283DTzaRR3lcXA=";
};
@@ -35,8 +35,8 @@ buildPythonPackage rec {
meta = {
description = "NetBox plugin to manage hardware inventory";
homepage = "https://github.com/ArnesSI/netbox-inventory";
changelog = "https://github.com/ArnesSI/netbox-inventory/releases/tag/${src.tag}";
changelog = "https://github.com/ArnesSI/netbox-inventory/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -9,7 +9,7 @@
django-polymorphic,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-lifecycle";
version = "1.1.9";
pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "DanSheps";
repo = "netbox-lifecycle";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-iCBlwhaf6IFdni7FQyRPtRJVwt04w0Jc4R0CeQlIWCY=";
};
@@ -39,8 +39,8 @@ buildPythonPackage rec {
meta = {
description = "NetBox plugin for managing Hardware EOL/EOS, and Support Contracts";
homepage = "https://github.com/DanSheps/netbox-lifecycle";
changelog = "https://github.com/DanSheps/netbox-lifecycle/releases/tag/${src.tag}";
changelog = "https://github.com/DanSheps/netbox-lifecycle/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -9,7 +9,7 @@
django-polymorphic,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-lists";
version = "4.0.4";
pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "devon-mar";
repo = "netbox-lists";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-RRUuvoeB3xfqlZr1v1zpRdmVZK9av52ZsADOh9s4toQ=";
};
@@ -37,8 +37,8 @@ buildPythonPackage rec {
meta = {
description = "NetBox plugin to generate IP and prefix lists. Integrates with Ansible, Terraform, Prometheus, Oxidized and more";
homepage = "https://github.com/devon-mar/netbox-lists";
changelog = "https://github.com/devon-mar/netbox-lists/releases/tag/${src.tag}";
changelog = "https://github.com/devon-mar/netbox-lists/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -7,7 +7,7 @@
python,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-reorder-rack";
version = "1.1.4";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "netbox-community";
repo = "netbox-reorder-rack";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-lWC+Br66POJe3M8L+Pt5D1pWBr9qSpRLn2TcVMXKje4=";
};
@@ -36,7 +36,8 @@ buildPythonPackage rec {
meta = {
description = "NetBox plugin to allow users to reorder devices within a rack using a drag and drop UI";
homepage = "https://github.com/netbox-community/netbox-reorder-rack";
changelog = "https://github.com/netbox-community/netbox-reorder-rack/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ minijackson ];
};
}
})
@@ -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 ];
};
}
})
@@ -8,7 +8,7 @@
pycryptodome,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-secrets";
version = "3.0.2";
pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "Onemind-Services-LLC";
repo = "netbox-secrets";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-4qUbzQTfSCXT7b8DfrsP9y3tatJZa5F40kl9tuMKed4=";
};
@@ -38,8 +38,8 @@ buildPythonPackage rec {
meta = {
description = "NetBox plugin to enhance secret management with encrypted storage and flexible, user-friendly features";
homepage = "https://github.com/Onemind-Services-LLC/netbox-secrets";
changelog = "https://github.com/Onemind-Services-LLC/netbox-secrets/releases/tag/${src.tag}";
changelog = "https://github.com/Onemind-Services-LLC/netbox-secrets/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})
@@ -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 ];
};
}
})
@@ -8,7 +8,7 @@
netaddr,
python,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "netbox-topology-views";
version = "4.5.1";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "netbox-community";
repo = "netbox-topology-views";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-uKxIu8IPeEwBdRbtQaLWGwLnxvFyJ5FrScsU/ufyTuM=";
};
@@ -40,9 +40,9 @@ buildPythonPackage rec {
meta = {
description = "Netbox plugin for generate topology views/maps from your devices";
homepage = "https://github.com/netbox-community/netbox-topology-views";
changelog = "https://github.com/netbox-community/netbox-topology-views/releases/tag/${src.tag}";
changelog = "https://github.com/netbox-community/netbox-topology-views/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ felbinger ];
};
}
})