Files
nixpkgs/pkgs/development/python-modules/junos-eznc/default.nix
T
Martin Weinelt a284e6c5a0 python3Packages.junos-eznc: 2.7.5 -> 2.7.6
https://github.com/Juniper/py-junos-eznc/releases/tag/2.7.6

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:22 +01:00

85 lines
1.5 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
jinja2,
lxml,
mock,
ncclient,
netaddr,
nose2,
ntc-templates,
paramiko,
pyparsing,
pyserial,
pyyaml,
scp,
setuptools,
pytestCheckHook,
six,
transitions,
yamlloader,
}:
buildPythonPackage rec {
pname = "junos-eznc";
version = "2.7.6";
pyproject = true;
src = fetchFromGitHub {
owner = "Juniper";
repo = "py-junos-eznc";
tag = version;
hash = "sha256-+bheNSRcFnq/07Y6BaTqsUAVxEQcdQwtz39cX1nKOBs=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [ "ncclient" ];
dependencies = [
jinja2
lxml
ncclient
netaddr
ntc-templates
paramiko
pyparsing
pyserial
pyyaml
scp
six
transitions
yamlloader
];
nativeCheckInputs = [
mock
nose2
pytestCheckHook
];
enabledTestPaths = [ "tests/unit" ];
disabledTests = [
# jnpr.junos.exception.FactLoopError: A loop was detected while gathering the...
"TestPersonality"
"TestGetSoftwareInformation"
"TestIfdStyle"
# KeyError: 'mac'
"test_textfsm_table_mutli_key"
# AssertionError: None != 'juniper.net'
"test_domain_fact_from_config"
];
pythonImportsCheck = [ "jnpr.junos" ];
meta = {
description = "Junos 'EZ' automation for non-programmers";
homepage = "https://github.com/Juniper/py-junos-eznc";
changelog = "https://github.com/Juniper/py-junos-eznc/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ xnaveira ];
};
}