python3Packages.elastic-apm: fix tests with sanic>=22.3.0

This commit is contained in:
Martin Weinelt 2022-05-26 16:29:26 +02:00
parent c95ab3cc25
commit 39e8b8b42f

View File

@ -6,6 +6,7 @@
, certifi
, ecs-logging
, fetchFromGitHub
, fetchpatch
, httpx
, jinja2
, jsonschema
@ -40,6 +41,14 @@ buildPythonPackage rec {
sha256 = "sha256-IaCl39rhsFLQwvQdPcqKruV/Mo3f7WH91UVgMG/cnOc=";
};
patches = [
(fetchpatch {
# fix tests with sanic>=22.3.0
url = "https://github.com/elastic/apm-agent-python/commit/114ee6ca998b4d6a5cb075a289af39cb963cf08a.patch";
hash = "sha256-M6yEHjThKDCRQOmR0L94KEt8tUun1tPRULI6PNIlE/8=";
})
];
propagatedBuildInputs = [
aiohttp
blinker