guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: Add python-flask-restful.


From: Hartmut Goebel
Subject: 02/04: gnu: Add python-flask-restful.
Date: Sun, 23 Oct 2016 17:44:08 +0000 (UTC)

htgoebel pushed a commit to branch master
in repository guix.

commit 999d964d64a57eed7ce5790f1194118bdac5aae4
Author: Danny Milosavljevic <address@hidden>
Date:   Thu Oct 20 23:45:37 2016 +0200

    gnu: Add python-flask-restful.
    
    * gnu/packages/python.scm (python-flask-restful): New variable.
---
 gnu/packages/python.scm |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b300223..80335c4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11254,3 +11254,34 @@ useful as a validator for JSON data.")
     (description
       "This package contains a library for parsing ISO 8601 datetime strings.")
     (license license:bsd-3)))
+
+(define-public python-flask-restful
+  (package
+    (name "python-flask-restful")
+    (version "0.3.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "Flask-RESTful" version))
+        (sha256
+          (base32
+            "0hjcmdb56b7z4bkw848lxfkyrpnkwzmqn2dgnlv12mwvjpzsxr6c"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-aniso8601" ,python-aniso8601)
+        ("python-flask" ,python-flask)
+        ("python-pycrypto" ,python-pycrypto)
+        ("python-pytz" ,python-pytz)))
+    (native-inputs
+      `(;; Optional dependency of Flask. Tests need it.
+        ("python-blinker" ,python-blinker)
+        ("python-mock" ,python-mock) ; For tests
+        ("python-nose" ,python-nose) ; For tests
+        ("python-sphinx" ,python-sphinx)))
+    (home-page
+      "https://www.github.com/flask-restful/flask-restful/";)
+    (synopsis
+      "Flask module for creating REST APIs")
+    (description
+      "This package contains a Flask module for creating REST APIs.")
+    (license license:bsd-3)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]