diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-09 23:44:02 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-09 23:44:02 +0200 |
commit | c197fdd49802e54a84bd69a5e00c83883e83c13f (patch) | |
tree | effad91d4968b4d06b5d1930c88d167a8f0fa72c /pkgs/development/python-modules/aiohttp-wsgi | |
parent | 41d8ec87b2429177dcc053977f225a2979271057 (diff) |
python3Packages.aiohttp-wsgi: init at 0.8.2
Diffstat (limited to 'pkgs/development/python-modules/aiohttp-wsgi')
-rw-r--r-- | pkgs/development/python-modules/aiohttp-wsgi/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiohttp-wsgi/default.nix b/pkgs/development/python-modules/aiohttp-wsgi/default.nix new file mode 100644 index 0000000000000..25264a665271f --- /dev/null +++ b/pkgs/development/python-modules/aiohttp-wsgi/default.nix @@ -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 ]; + }; +} |