blob: 9ccf48edc5e1cc1c213c79c8867c811e3e8da57d (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
aiohttp,
buildPythonPackage,
fetchPypi,
jinja2,
pytest-aiohttp,
pytest-cov-stub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "aiohttp-jinja2";
version = "1.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-o6f/UmTlvKUuiuVHu/0HYbcklSMNQ40FtsCRW+YZsOI=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
jinja2
];
nativeCheckInputs = [
pytest-aiohttp
pytest-cov-stub
pytestCheckHook
];
__darwinAllowLocalNetworking = true;
pytestFlags = [
"-Wignore::DeprecationWarning"
];
pythonImportsCheck = [ "aiohttp_jinja2" ];
meta = {
description = "Jinja2 support for aiohttp";
homepage = "https://github.com/aio-libs/aiohttp_jinja2";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|