blob: 104dbc50d3f2cee3c475c5943ebdff73472981f3 (
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,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
aiohttp,
pytest,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-aiohttp";
version = "1.1.0";
pyproject = true;
__darwinAllowLocalNetworking = true;
src = fetchFromGitHub {
owner = "aio-libs";
repo = "pytest-aiohttp";
tag = "v${version}";
hash = "sha256-5xUY3SVaoZzCZE/qfAP4R49HbtBMYj5jMN5viLEzEkM=";
};
build-system = [
setuptools
setuptools-scm
];
buildInputs = [ pytest ];
dependencies = [
aiohttp
pytest-asyncio
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlags = [ "-Wignore::pytest.PytestDeprecationWarning" ];
meta = {
homepage = "https://github.com/aio-libs/pytest-aiohttp/";
changelog = "https://github.com/aio-libs/pytest-aiohttp/blob/${src.rev}/CHANGES.rst";
description = "Pytest plugin for aiohttp support";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|