Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
1.0 KiB
Nix
53 lines
1.0 KiB
Nix
{
|
|
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
|
|
];
|
|
|
|
pythonImportsCheck = [ "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 ];
|
|
};
|
|
}
|