1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 09:03:48 +00:00
nixpkgs/pkgs/development/python-modules/ncclient/default.nix
Xavier Naveira 1689c3c53f pythonPackages.junos-eznc: init at 2.1.7
pythonPackages.junos-eznc: init at 2.1.7

pythonPackages.junos-eznc: init at 2.1.7
2018-03-03 17:52:48 +01:00

42 lines
795 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, paramiko
, lxml
, libxml2
, libxslt
, pytest
, nose
, rednose
}:
buildPythonPackage rec {
pname = "ncclient";
version = "0.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "fe6b9c16ed5f1b21f5591da74bfdd91a9bdf69eb4e918f1c06b3c8db307bd32b";
};
checkInputs = [ nose rednose ];
propagatedBuildInputs = [
paramiko lxml libxml2 libxslt
];
checkPhase = ''
nosetests test --rednose --verbosity=3 --with-coverage --cover-package ncclient
'';
#Unfortunately the test hangs at te end
doCheck = false;
meta = with stdenv.lib; {
homepage = http://ncclient.org/;
description = "Python library for NETCONF clients";
license = licenses.asl20;
maintainers = with maintainers; [ xnaveira ];
};
}