1{ lib, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp, pytest-cov }: 2 3buildPythonPackage rec { 4 pname = "aiohttp-jinja2"; 5 version = "1.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "7c3ba5eac060b691f4e50534af2d79fca2a75712ebd2b25e6fcb1295859f910b"; 10 }; 11 12 propagatedBuildInputs = [ aiohttp jinja2 ]; 13 14 checkInputs = [ pytest pytest-aiohttp pytest-cov ]; 15 16 checkPhase = '' 17 pytest -W ignore::DeprecationWarning 18 ''; 19 20 meta = with lib; { 21 description = "Jinja2 support for aiohttp"; 22 homepage = "https://github.com/aio-libs/aiohttp_jinja2"; 23 license = licenses.asl20; 24 maintainers = with maintainers; [ peterhoeg ]; 25 }; 26}