Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, asgiref 5, httpx 6, pdm-backend 7, pdm-pep517 8, pytest-asyncio 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "a2wsgi"; 14 version = "1.7.0"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-qQb2LAJQ6wIBEguTQX3QsSsQW12zWvQxv+hu8NxburI="; 20 }; 21 22 nativeBuildInputs = [ 23 pdm-backend 24 pdm-pep517 25 ]; 26 27 nativeCheckInputs = [ 28 asgiref 29 httpx 30 pytest-asyncio 31 pytestCheckHook 32 ]; 33 34 meta = with lib; { 35 description = "Convert WSGI app to ASGI app or ASGI app to WSGI app"; 36 homepage = "https://github.com/abersheeran/a2wsgi"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ SuperSandro2000 ]; 39 }; 40}