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
-
{ lib, stdenv, buildPythonPackage, isPy27, fetchFromGitHub, itsdangerous, python-multipart
2
-
, pytestCheckHook, starlette, httpx, pytest-asyncio }:
0
0
0
0
0
0
0
0
0
3
4
buildPythonPackage rec {
5
-
version = "0.7.1";
6
pname = "asgi-csrf";
7
disabled = isPy27;
8
···
11
owner = "simonw";
12
repo = pname;
13
rev = version;
14
-
sha256 = "1hhqrb9r46y6i3d3w6hc9zm6yyikdyd2k5pcbyw0r9fl959yi4hf";
15
};
16
17
propagatedBuildInputs = [
···
26
starlette
27
];
28
29
-
# tests fail while importing a private module from httpx
30
-
# E ModuleNotFoundError: No module named 'httpx._content_streams'
31
-
# https://github.com/simonw/asgi-csrf/issues/18
32
-
doCheck = false;
33
34
pythonImportsCheck = [ "asgi_csrf" ];
35
···
1
+
{ lib
2
+
, buildPythonPackage
3
+
, isPy27
4
+
, fetchFromGitHub
5
+
, itsdangerous
6
+
, python-multipart
7
+
, pytestCheckHook
8
+
, starlette
9
+
, httpx
10
+
, pytest-asyncio
11
+
}:
12
13
buildPythonPackage rec {
14
+
version = "0.8";
15
pname = "asgi-csrf";
16
disabled = isPy27;
17
···
20
owner = "simonw";
21
repo = pname;
22
rev = version;
23
+
sha256 = "sha256-0I/p9SjVVZhJQeR7s1R3tooP9XMNLPlcxl0dBSzsVaw=";
24
};
25
26
propagatedBuildInputs = [
···
35
starlette
36
];
37
38
+
doCheck = false; # asgi-lifespan missing
0
0
0
39
40
pythonImportsCheck = [ "asgi_csrf" ];
41