tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.flask-session: 0.4.0 -> 0.5.0
Nick Cao
2 years ago
fa274261
9042b00d
+35
-10
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
flask-session
default.nix
+35
-10
pkgs/development/python-modules/flask-session/default.nix
···
1
1
-
{ lib, fetchPypi, buildPythonPackage, pytestCheckHook, flask, cachelib }:
1
1
+
{ lib
2
2
+
, fetchFromGitHub
3
3
+
, buildPythonPackage
4
4
+
, flit-core
5
5
+
, flask
6
6
+
, cachelib
7
7
+
, pytestCheckHook
8
8
+
}:
2
9
3
10
buildPythonPackage rec {
4
11
pname = "Flask-Session";
5
5
-
version = "0.4.0";
12
12
+
version = "0.5.0";
13
13
+
format = "pyproject";
6
14
7
7
-
src = fetchPypi {
8
8
-
inherit pname version;
9
9
-
hash = "sha256-ye1UMh+oxMoBMv/TNpWCdZ7aclL7SzvuSA5pDRukH0Y=";
15
15
+
src = fetchFromGitHub {
16
16
+
owner = "pallets-eco";
17
17
+
repo = "flask-session";
18
18
+
rev = "refs/tags/${version}";
19
19
+
hash = "sha256-t8w6ZS4gBDpnnKvL3DLtn+rRLQNJbrT2Hxm4f3+a3Xc=";
10
20
};
11
21
12
12
-
propagatedBuildInputs = [ flask cachelib ];
22
22
+
nativeBuildInputs = [
23
23
+
flit-core
24
24
+
];
25
25
+
26
26
+
propagatedBuildInputs = [
27
27
+
flask
28
28
+
cachelib
29
29
+
];
13
30
14
14
-
nativeCheckInputs = [ pytestCheckHook ];
31
31
+
nativeCheckInputs = [
32
32
+
pytestCheckHook
33
33
+
];
15
34
16
35
# The rest of the tests require database servers and optional db connector dependencies
17
17
-
pytestFlagsArray = [ "-k" "'null_session or filesystem_session'" ];
36
36
+
pytestFlagsArray = [
37
37
+
"-k"
38
38
+
"'null_session or filesystem_session'"
39
39
+
];
18
40
19
19
-
pythonImportsCheck = [ "flask_session" ];
41
41
+
pythonImportsCheck = [
42
42
+
"flask_session"
43
43
+
];
20
44
21
45
meta = with lib; {
22
46
description = "A Flask extension that adds support for server-side sessions";
23
23
-
homepage = "https://github.com/fengsp/flask-session";
47
47
+
homepage = "https://github.com/pallets-eco/flask-session";
48
48
+
changelog = "https://github.com/pallets-eco/flask-session/releases/tag/${version}";
24
49
license = licenses.bsd3;
25
50
maintainers = with maintainers; [ zhaofengli ];
26
51
};