nixpkgs/pkgs/development/python-modules/netmiko/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
781 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools, paramiko, scp, tenacity
, textfsm, ntc-templates, pyserial, pytestCheckHook, pyyaml }:
buildPythonPackage rec {
pname = "netmiko";
version = "4.1.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-9e3iooZw09/TRwBhRoZl+A+bSQbtIOaw+02eHJvmevw=";
};
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 ];
};
}