3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #127762 from fabaff/bump-ncclient

python3Packages.ncclient: 0.6.10 -> 0.6.12
This commit is contained in:
Sandro 2021-06-22 15:13:02 +02:00 committed by GitHub
commit c44ebfe546
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";