depot/third_party/nixpkgs/pkgs/development/python-modules/a2wsgi/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

38 lines
702 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, asgiref
, httpx
, pdm-backend
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "a2wsgi";
version = "1.8.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-sgQ2uS8z25/xQ2vmS4boLhhwluu10aUt4nlKcNuYFRA=";
};
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 ];
};
}