diff mbox series

[bug#35598,4/6] gnu: Add python-jinja2-time

Message ID 20190506053017.7255-4-pritchard.calvin@gmail.com
State Accepted
Headers show
Series [bug#35598,1/6] gnu: Add python-arrow | expand

Checks

Context Check Description
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied

Commit Message

Calvin Pritchard May 6, 2019, 5:30 a.m. UTC
From: Calvin Pritchard <calvin.pritchard@asu.edu>

* gnu/packages/python-xyz.scm (python-jinja2-time). New variables.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 815e190d5f..3407803ca6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2228,6 +2228,28 @@  It can read a subset of yaml and is not capable of write yaml")
 (define-public python2-poyo
   (package-with-python2 python-poyo))
 
+(define-public python-jinja2-time
+  (package
+    (name "python-jinja2-time")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jinja2-time" version))
+       (sha256
+        (base32
+         "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-arrow" ,python-arrow)
+       ("python-jinja2" ,python-jinja2)))
+    (home-page
+     "https://github.com/hackebrot/jinja2-time")
+    (synopsis "Jinja2 Extension for Dates and Times")
+    (description
+     "Jinja2 Extension for Dates and Times")
+    (license license:expat)))
+
 (define-public python-pympler
   (package
     (name "python-pympler")