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