python312Packages.ncclient: modernize
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user