gnu: Add python-uritemplate.
authorOleg Pykhalov <go.wigust@gmail.com>
Wed, 6 Sep 2017 07:07:55 +0000 (10:07 +0300)
committerLudovic Courtès <ludo@gnu.org>
Fri, 8 Sep 2017 16:08:58 +0000 (18:08 +0200)
* gnu/packages/python.scm (python-uritemplate, python2-uritemplate): New
  variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/python.scm

index c6f9f34..bf669a5 100644 (file)
@@ -16227,3 +16227,24 @@ ECB and OFB).")
 
 (define-public python2-pyaes
   (package-with-python2 python-pyaes))
+
+(define-public python-uritemplate
+  (package
+    (name "python-uritemplate")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "uritemplate" version))
+       (sha256
+        (base32
+         "0781gm9g34wa0asc19dx81ng0nqq07igzv3bbvdqmz13pv7469n0"))))
+    (build-system python-build-system)
+    (home-page "https://uritemplate.readthedocs.org")
+    (synopsis "Library to deal with URI Templates")
+    (description "@code{uritemplate} provides Python library to deal with URI
+Templates.")
+    (license license:bsd-2)))
+
+(define-public python2-uritemplate
+  (package-with-python2 python-uritemplate))