python312Packages.netbox-napalm-plugin: only build for python version of netbox

This commit is contained in:
transcaffeine 2025-06-23 22:55:05 +02:00
parent 091247e303
commit eafc151b91
No known key found for this signature in database
GPG Key ID: 03624C433676E465

View File

@ -4,7 +4,7 @@
fetchFromGitHub, fetchFromGitHub,
setuptools, setuptools,
netbox, netbox,
pythonAtLeast, python,
napalm, napalm,
django, django,
}: }:
@ -13,7 +13,7 @@ buildPythonPackage rec {
version = "0.3.1"; version = "0.3.1";
pyproject = true; pyproject = true;
disabled = pythonAtLeast "3.13"; disabled = python.pythonVersion != netbox.python.pythonVersion;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "netbox-community"; owner = "netbox-community";