python310Packages.a2wsgi: init at 1.7.0

This commit is contained in:
Sandro Jäckel 2023-07-18 22:19:35 +02:00 committed by Martin Weinelt
parent 9f456a06dc
commit 39f9cc8ded
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, asgiref
, httpx
, pdm-backend
, pdm-pep517
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "a2wsgi";
version = "1.7.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-qQb2LAJQ6wIBEguTQX3QsSsQW12zWvQxv+hu8NxburI=";
};
nativeBuildInputs = [
pdm-backend
pdm-pep517
];
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 ];
};
}

View File

@ -12,6 +12,8 @@ self: super: with self; {
setuptools = callPackage ../development/python-modules/setuptools { };
a2wsgi = callPackage ../development/python-modules/a2wsgi { };
aadict = callPackage ../development/python-modules/aadict { };
aafigure = callPackage ../development/python-modules/aafigure { };