mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 09:10:08 +00:00
https://github.com/ktbyers/netmiko/releases/tag/v4.7.0 This commit was automatically generated using update-python-libraries.
54 lines
1.0 KiB
Nix
54 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
ntc-templates,
|
|
paramiko,
|
|
poetry-core,
|
|
pyserial,
|
|
pyyaml,
|
|
rich,
|
|
ruamel-yaml,
|
|
scp,
|
|
textfsm,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "netmiko";
|
|
version = "4.7.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-lM97/l2u0dBYREzhY34QF33yL5A2g6U9H77kdVNIjGU=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "paramiko" ];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
ntc-templates
|
|
paramiko
|
|
pyserial
|
|
pyyaml
|
|
rich
|
|
ruamel-yaml
|
|
scp
|
|
textfsm
|
|
];
|
|
|
|
# Tests require closed-source pyats and genie packages
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "netmiko" ];
|
|
|
|
meta = {
|
|
description = "Multi-vendor library to simplify Paramiko SSH connections to network devices";
|
|
homepage = "https://github.com/ktbyers/netmiko/";
|
|
changelog = "https://github.com/ktbyers/netmiko/releases/tag/v${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.astro ];
|
|
};
|
|
})
|