python3Packages.agent-py: replace async-timeout with asyncio.timeout
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
aiohttp,
|
aiohttp,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
lib,
|
lib,
|
||||||
setuptools,
|
setuptools,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
@@ -19,6 +20,15 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-PP4gQ3AFYLJPUt9jhhiV9HkfBhIzd+JIsGpgK6FNmaE=";
|
hash = "sha256-PP4gQ3AFYLJPUt9jhhiV9HkfBhIzd+JIsGpgK6FNmaE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://github.com/ispysoftware/agent-py/pull/4
|
||||||
|
(fetchpatch {
|
||||||
|
name = "replace-async-timeout-with-asyncio.timeout.patch";
|
||||||
|
url = "https://github.com/ispysoftware/agent-py/commit/2d7bcf46dce9bc733ce243858f0e91ced512c72d.patch";
|
||||||
|
hash = "sha256-G/C/e/F+xtUH+2a7mNhhKONqVjYvLHt5/I75WGafl0w=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
dependencies = [ aiohttp ];
|
dependencies = [ aiohttp ];
|
||||||
|
|||||||
Reference in New Issue
Block a user