tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.respx: 0.17.0 -> 0.17.1
Fabian Affolter
4 years ago
b82d742a
72dce4c5
+17
-11
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
respx
default.nix
+17
-11
pkgs/development/python-modules/respx/default.nix
reviewed
···
3
3
, fetchFromGitHub
4
4
, httpcore
5
5
, httpx
6
6
+
, flask
6
7
, pytest-asyncio
7
7
-
, pytest-cov
8
8
, pytestCheckHook
9
9
+
, starlette
9
10
, trio
10
11
}:
11
12
12
13
buildPythonPackage rec {
13
14
pname = "respx";
14
14
-
version = "0.17.0";
15
15
+
version = "0.17.1";
15
16
16
17
src = fetchFromGitHub {
17
18
owner = "lundberg";
18
19
repo = pname;
19
20
rev = version;
20
20
-
sha256 = "sha256-unGAIsslGXOUHXr0FKzC9bX6+Q3mNGZ9Z/dtjz0gkj4=";
21
21
+
sha256 = "0w8idh6l2iq04ydz7r2qisq9jsxq8wszkx97kx4g3yjwg4ypvc6k";
21
22
};
22
23
23
23
-
# Coverage is under 100 % due to the excluded tests
24
24
-
postPatch = ''
25
25
-
substituteInPlace setup.cfg --replace "--cov-fail-under 100" ""
26
26
-
'';
27
27
-
28
28
-
propagatedBuildInputs = [ httpx ];
24
24
+
propagatedBuildInputs = [
25
25
+
httpx
26
26
+
];
29
27
30
28
checkInputs = [
31
29
httpcore
32
30
httpx
31
31
+
flask
33
32
pytest-asyncio
34
34
-
pytest-cov
35
33
pytestCheckHook
34
34
+
starlette
36
35
trio
37
36
];
38
37
39
39
-
disabledTests = [ "test_pass_through" ];
38
38
+
postPatch = ''
39
39
+
sed -i "/--cov/d" setup.cfg
40
40
+
'';
41
41
+
42
42
+
disabledTests = [
43
43
+
"test_pass_through"
44
44
+
];
45
45
+
40
46
pythonImportsCheck = [ "respx" ];
41
47
42
48
meta = with lib; {