python3Packages.ncclient: 0.6.10 -> 0.6.12
This commit is contained in:
parent
203e81e4ee
commit
b3f39de83c
1 changed files with 15 additions and 15 deletions
|
@ -1,34 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, paramiko
|
||||
, selectors2
|
||||
, lxml
|
||||
, nose
|
||||
, rednose
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ncclient";
|
||||
version = "0.6.10";
|
||||
version = "0.6.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "67b1eba5a6c7c6075746d8c33d4e8f4ded17604034c1fcd1c78996ef52bf66ff";
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1sjvqaxb54nmqljiw5bg1423msa9rg015wiix9fsm6djk3wpklmk";
|
||||
};
|
||||
|
||||
checkInputs = [ nose rednose ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paramiko lxml selectors2
|
||||
paramiko
|
||||
lxml
|
||||
selectors2
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests test --rednose --verbosity=3 --with-coverage --cover-package ncclient
|
||||
'';
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
#Unfortunately the test hangs at te end
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "ncclient" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ncclient/ncclient";
|
||||
|
|
Loading…
Reference in a new issue