075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
47 lines
902 B
Nix
47 lines
902 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
alembic,
|
|
flask,
|
|
flask-script,
|
|
flask-sqlalchemy,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flask-migrate";
|
|
version = "4.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "miguelgrinberg";
|
|
repo = "Flask-Migrate";
|
|
tag = "v${version}";
|
|
hash = "sha256-7xQu0Y6aM9WWuH2ImuaopbBS2jE9pVChekVp7SEMHCc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
alembic
|
|
flask
|
|
flask-sqlalchemy
|
|
];
|
|
|
|
pythonImportsCheck = [ "flask_migrate" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
flask-script
|
|
];
|
|
|
|
meta = {
|
|
description = "SQLAlchemy database migrations for Flask applications using Alembic";
|
|
homepage = "https://github.com/miguelgrinberg/Flask-Migrate";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ gador ];
|
|
};
|
|
}
|