Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 39 lines 783 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, paramiko 5, selectors2 6, lxml 7, nose 8, rednose 9}: 10 11buildPythonPackage rec { 12 pname = "ncclient"; 13 version = "0.6.10"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "67b1eba5a6c7c6075746d8c33d4e8f4ded17604034c1fcd1c78996ef52bf66ff"; 18 }; 19 20 checkInputs = [ nose rednose ]; 21 22 propagatedBuildInputs = [ 23 paramiko lxml selectors2 24 ]; 25 26 checkPhase = '' 27 nosetests test --rednose --verbosity=3 --with-coverage --cover-package ncclient 28 ''; 29 30 #Unfortunately the test hangs at te end 31 doCheck = false; 32 33 meta = with lib; { 34 homepage = "https://github.com/ncclient/ncclient"; 35 description = "Python library for NETCONF clients"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ xnaveira ]; 38 }; 39}