depot/third_party/nixpkgs/pkgs/development/python-modules/aiohttp-wsgi/default.nix
Default email 1a0302a145 Project import generated by Copybara.
GitOrigin-RevId: 311ceed827f531f88f46222920cd1ebb2c101f73
2021-04-12 20:23:04 +02:00

37 lines
707 B
Nix

{ 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 ];
};
}