2022-02-21 08:47:16 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools, paramiko, scp, tenacity
|
|
|
|
, textfsm, ntc-templates, pyserial, pytestCheckHook, pyyaml }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "netmiko";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "4.0.0";
|
2022-02-21 08:47:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "sha256-fVhBkiO1JpqMIFl32xlwSjeCd7aObocXPAr069fKdmc=";
|
2022-02-21 08:47:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs =
|
|
|
|
[ paramiko scp tenacity textfsm ntc-templates pyserial ];
|
|
|
|
|
|
|
|
# tests require closed-source pyats and genie packages
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description =
|
|
|
|
"Multi-vendor library to simplify Paramiko SSH connections to network devices";
|
|
|
|
homepage = "https://github.com/ktbyers/netmiko/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.astro ];
|
|
|
|
};
|
|
|
|
}
|