blob: 61f49487b83b6e4668c2b8927c8276123d6d76be (
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
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio_0,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "aresponses";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "aresponses";
repo = "aresponses";
rev = version;
hash = "sha256-RklXlIsbdq46/7D6Hv4mdskunqw1a7SFF09OjhrvMRY=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
pytest-asyncio_0
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Disable tests which requires network access
"test_foo"
"test_passthrough"
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "aresponses" ];
meta = {
changelog = "https://github.com/aresponses/aresponses/blob/${src.rev}/README.md#changelog";
description = "Asyncio testing server";
homepage = "https://github.com/aresponses/aresponses";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ makefu ];
};
}
|