Merge pull request #216549 from fabaff/ncclient-fix

python311Packages.ncclient: add missing input
This commit is contained in:
Fabian Affolter 2023-02-17 00:43:26 +01:00 committed by GitHub
commit e952042600
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
}; };