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