mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 11:37:19 +03:00
python3Packages.aiohttp-wsgi: init at 0.8.2
This commit is contained in:
parent
41d8ec87b2
commit
c197fdd498
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-wsgi = callPackage ../development/python-modules/aiohttp-wsgi { };
|
||||
|
||||
aioitertools = callPackage ../development/python-modules/aioitertools { };
|
||||
|
||||
aiobotocore = callPackage ../development/python-modules/aiobotocore { };
|
||||
|
Loading…
Reference in New Issue
Block a user