summary refs log tree commit diff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2016-10-20 23:45:39 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2016-10-23 19:41:11 +0200
commit903276d066ab9733c253d2a15b7ae135ef2ef836 (patch)
treef03fc43449e861bbdc27f675d20586cedd575bbc /gnu/packages/python.scm
parent31288222d4aaf49e891e24b651c9cad5198026e4 (diff)
downloadguix-903276d066ab9733c253d2a15b7ae135ef2ef836.tar.gz
gnu: Add python-flask-sqlalchemy.
* gnu/packages/python.scm (python-flask-sqlalchemy): New variable.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 57d09f9978..24073687d0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11307,3 +11307,26 @@ useful as a validator for JSON data.")
     (description
       "This package provides HTTP basic access authentication for Flask.")
     (license license:bsd-3)))
+
+(define-public python-flask-sqlalchemy
+  (package
+    (name "python-flask-sqlalchemy")
+    (version "2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "Flask-SQLAlchemy" version))
+        (sha256
+          (base32
+            "1i9ps5d5snih9xlqhrvmi3qfiygkmqzxh92n25kj4pf89kj4s965"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-flask" ,python-flask)
+       ("python-sqlalchemy" ,python-sqlalchemy)))
+    (home-page
+      "http://github.com/mitsuhiko/flask-sqlalchemy")
+    (synopsis
+      "Module adding SQLAlchemy support to your Flask application")
+    (description
+      "This package adds SQLAlchemy support to your Flask application.")
+    (license license:bsd-3)))