[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: Add python-uritemplate.
From: |
Ludovic Courtès |
Subject: |
03/04: gnu: Add python-uritemplate. |
Date: |
Fri, 8 Sep 2017 12:14:23 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 4967946b8ae81794971f72fe2e40a2bc428f91b6
Author: Oleg Pykhalov <address@hidden>
Date: Wed Sep 6 10:07:55 2017 +0300
gnu: Add python-uritemplate.
* gnu/packages/python.scm (python-uritemplate, python2-uritemplate): New
variables.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/python.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c6f9f34..bf669a5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -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))