11 buildPythonPackage rec {
12 pname = "asgi-lifespan";
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
19 owner = "florimondmanca";
20 repo = "asgi-lifespan";
22 hash = "sha256-Jgmd/4c1lxHM/qi3MJNN1aSSUJrI7CRNwwHrFwwcCkc=";
26 sed -i "/--cov/d" setup.cfg
34 dependencies = [ sniffio ];
36 # Circular dependencies, starlette
39 pythonImportsCheck = [ "asgi_lifespan" ];
42 description = "Programmatic startup/shutdown of ASGI apps";
43 homepage = "https://github.com/florimondmanca/asgi-lifespan";
44 changelog = "https://github.com/florimondmanca/asgi-lifespan/blob/${version}/CHANGELOG.md";
45 license = licenses.mit;
46 maintainers = with maintainers; [ fab ];