python311Packages.websockets: refactor

This commit is contained in:
Fabian Affolter
2023-12-20 20:46:01 +01:00
committed by Martin Weinelt
parent 946482fd1b
commit 1e2998f516
@@ -4,12 +4,13 @@
, fetchFromGitHub
, unittestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "websockets";
version = "12.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -20,6 +21,10 @@ buildPythonPackage rec {
hash = "sha256-sOL3VI9Ib/PncZs5KN4dAIHOrBc7LfXqT15LO4M6qKg=";
};
nativeBuildInputs = [
setuptools
];
patchPhase = ''
# Disable all tests that need to terminate within a predetermined amount of
# time. This is nondeterministic.