blob: 1e7a1028e27f770d39e1dba22c54637e6dc84d51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
buildPythonPackage,
fetchPypi,
ntc-templates,
paramiko,
poetry-core,
pyserial,
pyyaml,
rich,
ruamel-yaml,
scp,
textfsm,
}:
buildPythonPackage rec {
pname = "netmiko";
version = "4.6.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-lwG7LBoV6y6AdMsuKMoAfGm5+lKWG4O5jHV+rWuA3u8=";
};
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${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.astro ];
};
}
|