504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
27 lines
806 B
Nix
27 lines
806 B
Nix
{ lib, buildPythonPackage, fetchPypi, setuptools, paramiko, scp, tenacity
|
|
, textfsm, ntc-templates, pyserial, pytestCheckHook, pyyaml }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "netmiko";
|
|
version = "4.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-et3m/j6mMzYij0moY2UMLYP7DmgODw0Vi1sPsExBAOE=";
|
|
};
|
|
|
|
buildInputs = [ setuptools ];
|
|
propagatedBuildInputs = [ paramiko scp tenacity pyyaml 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 ];
|
|
};
|
|
}
|