tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.slowapi: 0.1.4 -> 0.1.5
Fabian Affolter
4 years ago
97399a8a
5204dee2
+2
-12
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
slowapi
default.nix
+2
-12
pkgs/development/python-modules/slowapi/default.nix
···
2
2
, buildPythonPackage
3
3
, fastapi
4
4
, fetchFromGitHub
5
5
-
, fetchpatch
6
5
, limits
7
6
, mock
8
7
, hiro
···
15
14
16
15
buildPythonPackage rec {
17
16
pname = "slowapi";
18
18
-
version = "0.1.4";
17
17
+
version = "0.1.5";
19
18
format = "pyproject";
20
19
disabled = pythonOlder "3.6";
21
20
···
23
22
owner = "laurentS";
24
23
repo = pname;
25
24
rev = "v${version}";
26
26
-
sha256 = "0bnnzgv2wy145sdab54hljwv1b5029ndrr0y9rc2q0mraz8lf8lm";
25
25
+
sha256 = "1wjnlhjfgil86h6i5yij723ncg18rqdprs1q6i68w4msaspwpxg9";
27
26
};
28
27
29
28
nativeBuildInputs = [
···
47
46
# E AssertionError: Regex pattern 'parameter `request` must be an instance of starlette.requests.Request' does not match 'This portal is not running'.
48
47
"test_endpoint_request_param_invalid"
49
48
"test_endpoint_response_param_invalid"
50
50
-
];
51
51
-
52
52
-
patches = [
53
53
-
# Switch to poetry-core, https://github.com/laurentS/slowapi/pull/54
54
54
-
(fetchpatch {
55
55
-
name = "switch-to-poetry-core.patch";
56
56
-
url = "https://github.com/laurentS/slowapi/commit/fe165f2d479f4f8e4b7dd9cd88ec0ae847b490c5.patch";
57
57
-
sha256 = "16vjxdjjiyg8zjrgfyg9q2ym2lmnms2zy5d2cg3ccg51cfl715fi";
58
58
-
})
59
49
];
60
50
61
51
pythonImportsCheck = [ "slowapi" ];