Something went wrong. Try again.
lol
Something went wrong. Try again.
902 B · 46 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ 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 ]; };}