python312Packages.ncclient: modernize

This commit is contained in:
Weijia Wang
2025-03-18 00:08:28 +01:00
parent 168d7d1ca3
commit 757fd84f97
@@ -4,29 +4,32 @@
fetchFromGitHub,
lxml,
paramiko,
setuptools,
pytestCheckHook,
pythonOlder,
six,
}:
buildPythonPackage rec {
pname = "ncclient";
version = "0.6.19";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
owner = "ncclient";
repo = "ncclient";
tag = "v${version}";
hash = "sha256-l2c+8fMXSx6rMUu+lbyABs1G3llZFD4rI4V1Y729OMs=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
paramiko
lxml
six
];
nativeCheckInputs = [ pytestCheckHook ];