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