mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python3Packages.aiohttp-wsgi: init at 0.8.2
This commit is contained in:
parent
41d8ec87b2
commit
c197fdd498
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/aiohttp-wsgi/default.nix
Normal file
37
pkgs/development/python-modules/aiohttp-wsgi/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -276,6 +276,8 @@ in {
|
||||||
|
|
||||||
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
|
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
|
||||||
|
|
||||||
|
aiohttp-wsgi = callPackage ../development/python-modules/aiohttp-wsgi { };
|
||||||
|
|
||||||
aioitertools = callPackage ../development/python-modules/aioitertools { };
|
aioitertools = callPackage ../development/python-modules/aioitertools { };
|
||||||
|
|
||||||
aiobotocore = callPackage ../development/python-modules/aiobotocore { };
|
aiobotocore = callPackage ../development/python-modules/aiobotocore { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue