Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 82 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch,
# build-system setuptools, cffi,
# dependencies jinja2, junos-eznc, lxml, ncclient, netaddr, netmiko, netutils, paramiko, pyeapi, pyyaml, requests, scp, textfsm, ttp, ttp-templates, typing-extensions,
# tests pytestCheckHook, ddt, mock,}:
buildPythonPackage (finalAttrs: { pname = "napalm"; version = "5.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "napalm-automation"; repo = "napalm"; tag = finalAttrs.version; hash = "sha256-kIQgr5W9xkdcQkscJkOiABJ5HBxZOT9D7jSKWGNoBGA="; };
build-system = [ setuptools ];
dependencies = [ cffi jinja2 junos-eznc lxml ncclient netaddr netmiko # breaks infinite recursion (netutils.override { napalm = null; }) paramiko pyeapi pyyaml requests scp setuptools textfsm ttp ttp-templates typing-extensions ];
nativeCheckInputs = [ pytestCheckHook mock ddt ];
meta = { description = "Network Automation and Programmability Abstraction Layer with Multivendor support"; homepage = "https://github.com/napalm-automation/napalm"; license = lib.licenses.asl20; };})