diff mbox

[4/4] gnu: Add python-flask-sqlalchemy.

Message ID 20161020214539.7706-5-dannym@scratchpost.org
State New
Headers show

Commit Message

Danny Milosavljevic Oct. 20, 2016, 9:45 p.m. UTC
* gnu/packages/python.scm (python-flask-sqlalchemy): New variable.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 60ef79c..a21ffc8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11301,3 +11301,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)))