Skip to content

Commit 5e816b4

Browse files
authored
python3Packages.flask-security: 5.6.1 -> 5.6.2 (#407518)
2 parents a423234 + 1c3439d commit 5e816b4

File tree

1 file changed

+5
-4
lines changed
  • pkgs/development/python-modules/flask-security

1 file changed

+5
-4
lines changed

pkgs/development/python-modules/flask-security/default.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
flask-login,
3333
flask-principal,
3434
flask-wtf,
35+
libpass,
3536
markupsafe,
3637
passlib,
3738
importlib-resources,
@@ -52,7 +53,7 @@
5253

5354
buildPythonPackage rec {
5455
pname = "flask-security";
55-
version = "5.6.1";
56+
version = "5.6.2";
5657
pyproject = true;
5758

5859
disabled = pythonOlder "3.9";
@@ -61,7 +62,7 @@ buildPythonPackage rec {
6162
owner = "pallets-eco";
6263
repo = "flask-security";
6364
tag = version;
64-
hash = "sha256-sAO8wQd/YgPbi5+nQmkmmcTg7DJPYdUoT/EOMUpzr/M=";
65+
hash = "sha256-mEl98Yp4USKu+z636yAb5p5qPBzcdQraZ/XaPbDoGWU=";
6566
};
6667

6768
build-system = [ flit-core ];
@@ -73,7 +74,7 @@ buildPythonPackage rec {
7374
flask-principal
7475
flask-wtf
7576
markupsafe
76-
passlib
77+
(if pythonOlder "3.12" then passlib else libpass)
7778
importlib-resources
7879
wtforms
7980
];
@@ -132,7 +133,7 @@ buildPythonPackage rec {
132133
pythonImportsCheck = [ "flask_security" ];
133134

134135
meta = with lib; {
135-
changelog = "https://github.com/pallets-eco/flask-security/blob/${version}/CHANGES.rst";
136+
changelog = "https://github.com/pallets-eco/flask-security/blob/${src.tag}/CHANGES.rst";
136137
homepage = "https://github.com/pallets-eco/flask-security";
137138
description = "Quickly add security features to your Flask application";
138139
license = licenses.mit;

0 commit comments

Comments
 (0)