mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
python310Packages.a2wsgi: init at 1.7.0
This commit is contained in:
parent
9f456a06dc
commit
39f9cc8ded
40
pkgs/development/python-modules/a2wsgi/default.nix
Normal file
40
pkgs/development/python-modules/a2wsgi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user