fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
703 B
Nix
37 lines
703 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
asgiref,
|
|
httpx,
|
|
pdm-backend,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "a2wsgi";
|
|
version = "1.10.4";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-UOgaxVqmCfosZm5CuswlxCTIiEzmBy8afpAhFLfuXWM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pdm-backend ];
|
|
|
|
nativeCheckInputs = [
|
|
asgiref
|
|
httpx
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Convert WSGI app to ASGI app or ASGI app to WSGI app";
|
|
homepage = "https://github.com/abersheeran/a2wsgi";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|