2018-07-21 02:44:44 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp }:
|
2018-02-28 03:01:19 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohttp-jinja2";
|
2019-07-20 06:17:49 +02:00
|
|
|
version = "1.1.2";
|
2018-02-28 03:01:19 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-20 06:17:49 +02:00
|
|
|
sha256 = "0g4pqdm2kp2abam0nx0pgs5lk19f8lsfpcgwxpigdwmy1lvblsa5";
|
2018-02-28 03:01:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp jinja2 ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest pytest-aiohttp ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Jinja2 support for aiohttp";
|
|
|
|
homepage = https://github.com/aio-libs/aiohttp_jinja2;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|