python313Packages.pyws66i: depend on standard-telnetlib on 3.13

This commit is contained in:
Martin Weinelt
2025-01-05 03:13:03 +01:00
parent 63fd904e5d
commit 6c0edebd0a
@@ -3,7 +3,9 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
standard-telnetlib,
}:
buildPythonPackage rec {
@@ -20,6 +22,8 @@ buildPythonPackage rec {
hash = "sha256-NTL2+xLqSNsz4YdUTwr0nFjhm1NNgB8qDnWSoE2sizY=";
};
dependencies = lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyws66i" ];