Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 26 lines 666 B view raw
1{ lib, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp }: 2 3buildPythonPackage rec { 4 pname = "aiohttp-jinja2"; 5 version = "1.2.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "2dfe29cfd278d07cd0a851afb98471bc8ce2a830968443e40d67636f3c035d79"; 10 }; 11 12 propagatedBuildInputs = [ aiohttp jinja2 ]; 13 14 checkInputs = [ pytest pytest-aiohttp ]; 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}