1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

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