python313Packages.flask-security: fix python 3.13 compat (#418456)
This commit is contained in:
@@ -45,7 +45,6 @@
|
||||
mongoengine,
|
||||
mongomock,
|
||||
peewee,
|
||||
pony,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
zxcvbn,
|
||||
@@ -111,7 +110,6 @@ buildPythonPackage rec {
|
||||
mongoengine
|
||||
mongomock
|
||||
peewee
|
||||
pony
|
||||
pytestCheckHook
|
||||
requests
|
||||
zxcvbn
|
||||
@@ -132,11 +130,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "flask_security" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
changelog = "https://github.com/pallets-eco/flask-security/blob/${src.tag}/CHANGES.rst";
|
||||
homepage = "https://github.com/pallets-eco/flask-security";
|
||||
description = "Quickly add security features to your Flask application";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gador ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ gador ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
aiosqlite,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
flask,
|
||||
flit-core,
|
||||
lib,
|
||||
@@ -21,6 +22,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-LpdPp5Gp74DSJqD1DJqwNeaMKdN5pEAUkxnKGYZcVis=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix python3.13 compat
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/pallets-eco/flask-sqlalchemy-lite/commit/b4117beaa6caa0a5945d6e3451db8b80dc4cc8cf.patch?full_index=1";
|
||||
hash = "sha256-zCeUWB3iuKqco030pULaRpRsIOpSRz9+VYxI/RQhIyw=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
||||
dependencies =
|
||||
|
||||
Reference in New Issue
Block a user