tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.asgi-csrf: 0.7.1 -> 0.8
Martin Weinelt
5 years ago
bbc23a42
c984bc10
+14
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
asgi-csrf
default.nix
+14
-8
pkgs/development/python-modules/asgi-csrf/default.nix
···
1
1
-
{ lib, stdenv, buildPythonPackage, isPy27, fetchFromGitHub, itsdangerous, python-multipart
2
2
-
, pytestCheckHook, starlette, httpx, pytest-asyncio }:
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, isPy27
4
4
+
, fetchFromGitHub
5
5
+
, itsdangerous
6
6
+
, python-multipart
7
7
+
, pytestCheckHook
8
8
+
, starlette
9
9
+
, httpx
10
10
+
, pytest-asyncio
11
11
+
}:
3
12
4
13
buildPythonPackage rec {
5
5
-
version = "0.7.1";
14
14
+
version = "0.8";
6
15
pname = "asgi-csrf";
7
16
disabled = isPy27;
8
17
···
11
20
owner = "simonw";
12
21
repo = pname;
13
22
rev = version;
14
14
-
sha256 = "1hhqrb9r46y6i3d3w6hc9zm6yyikdyd2k5pcbyw0r9fl959yi4hf";
23
23
+
sha256 = "sha256-0I/p9SjVVZhJQeR7s1R3tooP9XMNLPlcxl0dBSzsVaw=";
15
24
};
16
25
17
26
propagatedBuildInputs = [
···
26
35
starlette
27
36
];
28
37
29
29
-
# tests fail while importing a private module from httpx
30
30
-
# E ModuleNotFoundError: No module named 'httpx._content_streams'
31
31
-
# https://github.com/simonw/asgi-csrf/issues/18
32
32
-
doCheck = false;
38
38
+
doCheck = false; # asgi-lifespan missing
33
39
34
40
pythonImportsCheck = [ "asgi_csrf" ];
35
41