9 buildPythonPackage rec {
10 pname = "timing-asgi";
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 hash = "sha256-oEDesmy9t2m51Zd6Zg87qoYbfbDnejfrbjyBkZ3hF58=";
22 substituteInPlace pyproject.toml \
23 --replace-fail poetry.masonry.api poetry.core.masonry.api \
24 --replace-fail "poetry>=" "poetry-core>="
31 pythonImportsCheck = [ "timing_asgi" ];
33 # Tests rely on asynctest which is not supported by python 3.11
37 # asynctest-0.13.0 not supported for interpreter python3.11
43 description = "ASGI middleware to emit timing metrics with something like statsd";
44 homepage = "https://pypi.org/project/timing-asgi";
45 license = licenses.mit;
46 maintainers = with maintainers; [ GaetanLepage ];