Merge pull request #178885 from SuperSandro2000/napalm

python310Packages.napalm: fix dependencies
This commit is contained in:
Sandro 2022-06-24 21:11:30 +02:00 committed by GitHub
commit 9b422f1c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -77,7 +77,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "jnpr.junos" ]; pythonImportsCheck = [ "jnpr.junos" ];
meta = with lib; { meta = with lib; {
homepage = "http://www.github.com/Juniper/py-junos-eznc"; homepage = "https://github.com/Juniper/py-junos-eznc";
description = "Junos 'EZ' automation for non-programmers"; description = "Junos 'EZ' automation for non-programmers";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ xnaveira ]; maintainers = with maintainers; [ xnaveira ];

View File

@ -1,7 +1,7 @@
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, setuptools, cffi { lib, buildPythonPackage, fetchFromGitHub, fetchpatch, setuptools, cffi
, paramiko, requests, future, textfsm, jinja2, netaddr, pyyaml, pyeapi, netmiko , paramiko, requests, future, textfsm, jinja2, netaddr, pyyaml, pyeapi, netmiko
, junos-eznc, ciscoconfparse, scp, lxml, ncclient, pytestCheckHook, ddt, mock , junos-eznc, ciscoconfparse, scp, lxml, ncclient, pytestCheckHook, ddt, mock
, pythonOlder }: , pythonOlder, invoke }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "napalm"; pname = "napalm";
@ -35,14 +35,13 @@ buildPythonPackage rec {
--replace "netmiko>=3.3.0,<4.0.0" "netmiko" --replace "netmiko>=3.3.0,<4.0.0" "netmiko"
''; '';
buildInputs = [ setuptools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
cffi cffi
paramiko paramiko
requests requests
future future
textfsm textfsm
invoke
jinja2 jinja2
netaddr netaddr
pyyaml pyyaml
@ -51,6 +50,7 @@ buildPythonPackage rec {
junos-eznc junos-eznc
ciscoconfparse ciscoconfparse
scp scp
setuptools
lxml lxml
ncclient ncclient
]; ];
@ -62,6 +62,6 @@ buildPythonPackage rec {
"Network Automation and Programmability Abstraction Layer with Multivendor support"; "Network Automation and Programmability Abstraction Layer with Multivendor support";
homepage = "https://github.com/napalm-automation/napalm"; homepage = "https://github.com/napalm-automation/napalm";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.astro ]; maintainers = with maintainers; [ ] ++ teams.c3d2.members;
}; };
} }