Fabian Affolter
2026-08-05 09:51:45 +02:00
parent 63ae10d5aa
commit f6e16c97a5

View File

@@ -8,19 +8,20 @@
poetry-core,
pytestCheckHook,
pyyaml,
rpds-py,
toml,
}:
buildPythonPackage (finalAttrs: {
pname = "netutils";
version = "1.17.2";
version = "1.18.0";
pyproject = true;
src = fetchFromGitHub {
owner = "networktocode";
repo = "netutils";
tag = "v${finalAttrs.version}";
hash = "sha256-DHftRRqbuUa74ATfh8MHxINwNkpz9lo/drwOmeo0itE=";
hash = "sha256-1pfuuvJ3ze2MYW9IX3oCDZ/VRvuytdl3ZnMQOTjOEOs=";
};
build-system = [ poetry-core ];
@@ -28,16 +29,18 @@ buildPythonPackage (finalAttrs: {
dependencies = [ jsonschema ];
optional-dependencies.optionals = [
jinja2
jsonschema
napalm
rpds-py
];
nativeCheckInputs = [
jinja2
pytestCheckHook
pyyaml
toml
];
]
++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);
pythonImportsCheck = [ "netutils" ];