1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pytest-aiohttp 6, pytestCheckHook 7, pythonOlder 8, webtest 9}: 10 11buildPythonPackage rec { 12 pname = "webtest-aiohttp"; 13 version = "2.0.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "sloria"; 20 repo = pname; 21 rev = version; 22 sha256 = "sha256-UuAz/k/Tnumupv3ybFR7PkYHwG3kH7M5oobZykEP+ao="; 23 }; 24 25 propagatedBuildInputs = [ 26 webtest 27 ]; 28 29 checkInputs = [ 30 aiohttp 31 pytest-aiohttp 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ 36 "webtest_aiohttp" 37 ]; 38 39 meta = with lib; { 40 description = "Provides integration of WebTest with aiohttp.web applications"; 41 homepage = "https://github.com/sloria/webtest-aiohttp"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ cript0nauta ]; 44 }; 45}