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