python313Packages.sockjs: add patch for async-timeout

This commit is contained in:
Fabian Affolter
2025-11-15 11:25:45 +01:00
parent a353c599d1
commit e62fe5dbd7
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
aiohttp,
setuptools,
}:
@@ -16,6 +17,15 @@ buildPythonPackage rec {
hash = "sha256-V+lZoj8gqNVRSdHl2ws7hwcm8rStgWbUG9z0EbNs33Y=";
};
patches = [
# https://github.com/aio-libs/sockjs/pull/453
(fetchpatch {
name = "replace-async-timeout-with-asyncio.timeout.patch";
url = "https://github.com/aio-libs/sockjs/commit/322cec1ddc4ba35d6409565fa170eb03dbaa405b.patch";
hash = "sha256-DV+OFiFV/A7ts24xz7pbTYXVvy/NA5kzwayj0m9Kt3I=";
})
];
build-system = [ setuptools ];
dependencies = [ aiohttp ];