diff --git a/pkgs/development/python-modules/flask-security/default.nix b/pkgs/development/python-modules/flask-security/default.nix index e2ef928937dc..0297d67f6a03 100644 --- a/pkgs/development/python-modules/flask-security/default.nix +++ b/pkgs/development/python-modules/flask-security/default.nix @@ -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 ]; }; } diff --git a/pkgs/development/python-modules/flask-sqlalchemy-lite/default.nix b/pkgs/development/python-modules/flask-sqlalchemy-lite/default.nix index 3bee854ca196..61b0f178260b 100644 --- a/pkgs/development/python-modules/flask-sqlalchemy-lite/default.nix +++ b/pkgs/development/python-modules/flask-sqlalchemy-lite/default.nix @@ -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 =