summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-05-25 19:57:21 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-05-26 11:59:49 +0200
commit013e1e853bcbad925225a66e1ed03220d8611fb3 (patch)
tree9e30e97c5a99945354fe7f5ca257105057234bff /gnu/packages
parent75baf3193c66662c290585846f736381186d36b1 (diff)
downloadguix-013e1e853bcbad925225a66e1ed03220d8611fb3.tar.gz
gnu: Add python-flask-migrate.
* gnu/packages/python.scm (python-flask-migrate,
python2-flask-migrate): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9c2af5ce76..c42daa106a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14734,3 +14734,31 @@ itself.")
 
 (define-public python2-flask-script
   (package-with-python2 python-flask-script))
+
+(define-public python-flask-migrate
+  (package
+  (name "python-flask-migrate")
+  (version "2.0.3")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "Flask-Migrate" version))
+      (sha256
+        (base32
+          "107x78lkqsnbg92dld3dkagg07jvchp3ib3y0sivc4ipz6n1y7rk"))))
+  (build-system python-build-system)
+  (propagated-inputs
+   `(("python-flask" ,python-flask)
+     ("python-alembic" ,python-alembic)
+     ("python-sqlalchemy" ,python-sqlalchemy)
+     ("python-flask-script" ,python-flask-script)
+     ("python-flask-sqlalchemy" ,python-flask-sqlalchemy)))
+  (home-page "http://github.com/miguelgrinberg/flask-migrate/")
+  (synopsis "SQLAlchemy database migrations for Flask programs using
+Alembic")
+  (description "This package contains SQLAlchemy database migration tools
+for Flask programs that are using @code{python-alembic}.")
+  (license license:expat)))
+
+(define-public python2-flask-migrate
+  (package-with-python2 python-flask-migrate))