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