python3Packages.flask-alembic: init at 3.1.1

This commit is contained in:
Kerstin Humm
2025-05-05 13:09:13 +03:00
committed by Florian Klink
parent eadb306fc6
commit 27d2ca5690
2 changed files with 54 additions and 0 deletions
@@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
flit-core,
alembic,
flask,
sqlalchemy,
pytestCheckHook,
flask-sqlalchemy,
flask-sqlalchemy-lite,
}:
buildPythonPackage rec {
pname = "flask-alembic";
version = "3.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "pallets-eco";
repo = "flask-alembic";
tag = version;
hash = "sha256-iHJr9l3w1WwZXDl573IV7+A7RDcawGL20sxxhAQQ628=";
};
build-system = [ flit-core ];
dependencies = [
alembic
flask
sqlalchemy
];
nativeCheckInputs = [
pytestCheckHook
flask-sqlalchemy
flask-sqlalchemy-lite
];
pythonImportChecks = [ "flask_alembic" ];
meta = with lib; {
# https://github.com/pallets-eco/flask-alembic/issues/47
broken = pythonAtLeast "3.13";
homepage = "https://github.com/pallets-eco/flask-alembic";
changelog = "https://github.com/pallets-eco/flask-alembic/blob/${src.tag}/CHANGES.md";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
};
}
+2
View File
@@ -4981,6 +4981,8 @@ self: super: with self; {
flask-admin = callPackage ../development/python-modules/flask-admin { };
flask-alembic = callPackage ../development/python-modules/flask-alembic { };
flask-allowed-hosts = callPackage ../development/python-modules/flask-allowed-hosts { };
flask-api = callPackage ../development/python-modules/flask-api { };