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
-
{ lib, fetchPypi, buildPythonPackage, pytestCheckHook, flask, cachelib }:
0
0
0
0
0
0
0
2
3
buildPythonPackage rec {
4
pname = "Flask-Session";
5
-
version = "0.4.0";
0
6
7
-
src = fetchPypi {
8
-
inherit pname version;
9
-
hash = "sha256-ye1UMh+oxMoBMv/TNpWCdZ7aclL7SzvuSA5pDRukH0Y=";
0
0
10
};
11
12
-
propagatedBuildInputs = [ flask cachelib ];
0
0
0
0
0
0
0
13
14
-
nativeCheckInputs = [ pytestCheckHook ];
0
0
15
16
# The rest of the tests require database servers and optional db connector dependencies
17
-
pytestFlagsArray = [ "-k" "'null_session or filesystem_session'" ];
0
0
0
18
19
-
pythonImportsCheck = [ "flask_session" ];
0
0
20
21
meta = with lib; {
22
description = "A Flask extension that adds support for server-side sessions";
23
-
homepage = "https://github.com/fengsp/flask-session";
0
24
license = licenses.bsd3;
25
maintainers = with maintainers; [ zhaofengli ];
26
};
···
1
+
{ lib
2
+
, fetchFromGitHub
3
+
, buildPythonPackage
4
+
, flit-core
5
+
, flask
6
+
, cachelib
7
+
, pytestCheckHook
8
+
}:
9
10
buildPythonPackage rec {
11
pname = "Flask-Session";
12
+
version = "0.5.0";
13
+
format = "pyproject";
14
15
+
src = fetchFromGitHub {
16
+
owner = "pallets-eco";
17
+
repo = "flask-session";
18
+
rev = "refs/tags/${version}";
19
+
hash = "sha256-t8w6ZS4gBDpnnKvL3DLtn+rRLQNJbrT2Hxm4f3+a3Xc=";
20
};
21
22
+
nativeBuildInputs = [
23
+
flit-core
24
+
];
25
+
26
+
propagatedBuildInputs = [
27
+
flask
28
+
cachelib
29
+
];
30
31
+
nativeCheckInputs = [
32
+
pytestCheckHook
33
+
];
34
35
# The rest of the tests require database servers and optional db connector dependencies
36
+
pytestFlagsArray = [
37
+
"-k"
38
+
"'null_session or filesystem_session'"
39
+
];
40
41
+
pythonImportsCheck = [
42
+
"flask_session"
43
+
];
44
45
meta = with lib; {
46
description = "A Flask extension that adds support for server-side sessions";
47
+
homepage = "https://github.com/pallets-eco/flask-session";
48
+
changelog = "https://github.com/pallets-eco/flask-session/releases/tag/${version}";
49
license = licenses.bsd3;
50
maintainers = with maintainers; [ zhaofengli ];
51
};