tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.httpbin: 0.7.0 -> 0.10.1
Martin Weinelt
2 years ago
00575d3b
986a7985
+11
-18
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
httpbin
default.nix
+11
-18
pkgs/development/python-modules/httpbin/default.nix
···
1
1
{ lib
2
2
-
, brotlipy
2
2
+
, brotlicffi
3
3
, buildPythonPackage
4
4
, decorator
5
5
-
, fetchpatch
6
5
, fetchPypi
7
6
, flask
8
7
, flask-limiter
8
8
+
, flasgger
9
9
, itsdangerous
10
10
, markupsafe
11
11
, raven
12
12
, six
13
13
, pytestCheckHook
14
14
+
, setuptools
14
15
, werkzeug
15
16
}:
16
17
17
18
buildPythonPackage rec {
18
19
pname = "httpbin";
19
19
-
version = "0.7.0";
20
20
-
format = "setuptools";
20
20
+
version = "0.10.1";
21
21
+
format = "pyproject";
21
22
22
23
src = fetchPypi {
23
24
inherit pname version;
24
24
-
hash = "sha256-y7N3kMkVdfTxV1f0KtQdn3KesifV7b6J5OwXVIbbjfo=";
25
25
+
hash = "sha256-e4WWvrDnWntlPDnR888mPW1cR20p4d9ve7K3C/nwaj0=";
25
26
};
26
27
27
27
-
patches = [
28
28
-
(fetchpatch {
29
29
-
# Replaces BaseResponse class with Response class for Werkezug 2.1.0 compatibility
30
30
-
# https://github.com/postmanlabs/httpbin/pull/674
31
31
-
url = "https://github.com/postmanlabs/httpbin/commit/5cc81ce87a3c447a127e4a1a707faf9f3b1c9b6b.patch";
32
32
-
hash = "sha256-SbEWjiqayMFYrbgAPZtSsXqSyCDUz3z127XgcKOcrkE=";
33
33
-
})
28
28
+
nativeBuildInputs = [
29
29
+
setuptools
34
30
];
35
31
36
32
propagatedBuildInputs = [
37
37
-
brotlipy
33
33
+
brotlicffi
38
34
decorator
39
35
flask
40
36
flask-limiter
37
37
+
flasgger
41
38
itsdangerous
42
39
markupsafe
43
40
raven
···
47
44
48
45
nativeCheckInputs = [
49
46
pytestCheckHook
50
50
-
];
51
51
-
52
52
-
pytestFlagsArray = [
53
53
-
"test_httpbin.py"
54
47
];
55
48
56
49
disabledTests = [
···
70
63
71
64
meta = with lib; {
72
65
description = "HTTP Request and Response Service";
73
73
-
homepage = "https://github.com/kennethreitz/httpbin";
66
66
+
homepage = "https://github.com/psf/httpbin";
74
67
license = licenses.mit;
75
68
maintainers = with maintainers; [ ];
76
69
};