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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, paramiko
|
|
||||||
, selectors2
|
|
||||||
, lxml
|
, lxml
|
||||||
|
, paramiko
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ncclient";
|
pname = "ncclient";
|
||||||
version = "0.6.13";
|
version = "0.6.13";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-NrilXB1NFcqNCGrwshhuLdhQoeHJ12PSp4MBScT9kYc=";
|
hash = "sha256-NrilXB1NFcqNCGrwshhuLdhQoeHJ12PSp4MBScT9kYc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
paramiko
|
paramiko
|
||||||
lxml
|
lxml
|
||||||
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "ncclient" ];
|
pythonImportsCheck = [
|
||||||
|
"ncclient"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/ncclient/ncclient";
|
|
||||||
description = "Python library for NETCONF clients";
|
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;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ xnaveira ];
|
maintainers = with maintainers; [ xnaveira ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue