Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
966 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ 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 = with lib; { 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 = licenses.mit; maintainers = [ maintainers.astro ]; };}