Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 44 lines 843 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, six 5, scp 6, pyserial 7, paramiko 8, netaddr 9, ncclient 10, lxml 11, jinja2 12, pyyaml 13, nose 14, isPy38 15}: 16 17buildPythonPackage rec { 18 pname = "junos-eznc"; 19 version = "2.3.1"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "0f8c4763fe2281979bc00350b93d510368992dbae0dae4fea0bafee5904a7e68"; 24 }; 25 26 27 checkInputs = [ nose ]; 28 29 propagatedBuildInputs = [ 30 scp six pyserial paramiko netaddr ncclient lxml jinja2 pyyaml 31 ]; 32 33 checkPhase = '' 34 nosetests -v --with-coverage --cover-package=jnpr.junos --cover-inclusive -a unit 35 ''; 36 37 meta = with stdenv.lib; { 38 homepage = http://www.github.com/Juniper/py-junos-eznc; 39 description = "Junos 'EZ' automation for non-programmers"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ xnaveira ]; 42 broken = true; 43 }; 44}