@@ -11020,30 +11020,7 @@ in {
1102011020
1102111021 flask_ldap_login = callPackage ../development/python-modules/flask-ldap-login.nix { };
1102211022
11023− flask_migrate = buildPythonPackage rec {
11024− name = "Flask-Migrate-${version}";
11025− version = "1.7.0";
11026−
11027− src = pkgs.fetchurl {
11028− url = "mirror://pypi/F/Flask-Migrate/Flask-Migrate-1.7.0.tar.gz";
11029− sha256 = "16d7vnaj9xmxvb3qbcmhahm3ldfdhzzi6y221h62x4v1v1jayx7v";
11030− };
11031−
11032− # When tests run with python3*, tests should run commands as "python3 <args>",
11033− # not "python <args>"
11034− patchPhase = ''
11035− substituteInPlace tests/test_migrate.py --replace "python" "${python.executable}"
11036− substituteInPlace tests/test_multidb_migrate.py --replace "python" "${python.executable}"
11037− '';
11038−
11039− propagatedBuildInputs = with self ; [ flask flask_sqlalchemy flask_script alembic ];
11040−
11041− meta = {
11042− description = "SQLAlchemy database migrations for Flask applications using Alembic";
11043− license = licenses.mit;
11044− homepage = https://github.com/miguelgrinberg/Flask-Migrate;
11045− };
11046− };
11023+ flask_migrate = callPackage ../development/python-modules/flask-migrate { };
1104711024
1104811025 flask_oauthlib = callPackage ../development/python-modules/flask-oauthlib.nix { };
1104911026