Files
nixpkgs/pkgs/development/python-modules/a2wsgi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
769 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
baize,
httpx,
pdm-backend,
pytest-asyncio,
pytestCheckHook,
starlette,
}:
buildPythonPackage rec {
pname = "a2wsgi";
version = "1.10.10";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-pbz/tSCBujnfDV6aiE/G+BnZLjpCOJNDunfL+An+H0U=";
};
build-system = [ pdm-backend ];
dependencies = [
starlette
baize
];
nativeCheckInputs = [
baize
httpx
pytest-asyncio
pytestCheckHook
starlette
];
meta = {
description = "Convert WSGI app to ASGI app or ASGI app to WSGI app";
homepage = "https://github.com/abersheeran/a2wsgi";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
}