python3Packages.aiohttp-wsgi: init at 0.8.2

This commit is contained in:
Fabian Affolter 2021-04-09 23:44:02 +02:00
parent 41d8ec87b2
commit c197fdd498
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiohttp-wsgi";
version = "0.8.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "etianen";
repo = pname;
rev = version;
sha256 = "0wirn3xqxxgkpy5spicd7p1bkdnsrch61x2kcpdwpixmx961pq7x";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "aiohttp_wsgi" ];
meta = with lib; {
description = "WSGI adapter for aiohttp";
homepage = "https://github.com/etianen/aiohttp-wsgi";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -276,6 +276,8 @@ in {
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
aiohttp-wsgi = callPackage ../development/python-modules/aiohttp-wsgi { };
aioitertools = callPackage ../development/python-modules/aioitertools { };
aiobotocore = callPackage ../development/python-modules/aiobotocore { };