python3Packages.ncclient: 0.6.10 -> 0.6.12

This commit is contained in:
Fabian Affolter 2021-06-22 09:40:59 +02:00
parent 203e81e4ee
commit b3f39de83c

View file

@ -1,34 +1,34 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, paramiko , paramiko
, selectors2 , selectors2
, lxml , lxml
, nose , pytestCheckHook
, rednose
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ncclient"; pname = "ncclient";
version = "0.6.10"; version = "0.6.12";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = pname;
sha256 = "67b1eba5a6c7c6075746d8c33d4e8f4ded17604034c1fcd1c78996ef52bf66ff"; repo = pname;
rev = "v${version}";
sha256 = "1sjvqaxb54nmqljiw5bg1423msa9rg015wiix9fsm6djk3wpklmk";
}; };
checkInputs = [ nose rednose ];
propagatedBuildInputs = [ propagatedBuildInputs = [
paramiko lxml selectors2 paramiko
lxml
selectors2
]; ];
checkPhase = '' checkInputs = [
nosetests test --rednose --verbosity=3 --with-coverage --cover-package ncclient pytestCheckHook
''; ];
#Unfortunately the test hangs at te end pythonImportsCheck = [ "ncclient" ];
doCheck = false;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/ncclient/ncclient"; homepage = "https://github.com/ncclient/ncclient";