Merge pull request #216549 from fabaff/ncclient-fix
python311Packages.ncclient: add missing input
This commit is contained in:
commit
e952042600
1 changed files with 14 additions and 6 deletions
|
@ -1,37 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, paramiko
|
||||
, selectors2
|
||||
, lxml
|
||||
, paramiko
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ncclient";
|
||||
version = "0.6.13";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-NrilXB1NFcqNCGrwshhuLdhQoeHJ12PSp4MBScT9kYc=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-NrilXB1NFcqNCGrwshhuLdhQoeHJ12PSp4MBScT9kYc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paramiko
|
||||
lxml
|
||||
six
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "ncclient" ];
|
||||
pythonImportsCheck = [
|
||||
"ncclient"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ncclient/ncclient";
|
||||
description = "Python library for NETCONF clients";
|
||||
homepage = "https://github.com/ncclient/ncclient";
|
||||
changelog = "https://github.com/ncclient/ncclient/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ xnaveira ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue