guix-commits
[Top][All Lists]
Advanced

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

17/25: gnu: Add python-pytimeparse.


From: guix-commits
Subject: 17/25: gnu: Add python-pytimeparse.
Date: Sun, 7 Jul 2019 09:49:46 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 0d5b7ea11f4b46197ede74e4b203244620dfd0f2
Author: Pierre Langlois <address@hidden>
Date:   Thu Jun 13 16:06:20 2019 +0100

    gnu: Add python-pytimeparse.
    
    * gnu/packages/time.scm (python-pytimeparse): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/time.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 747e4cf..a0c0824 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2017 Julien Lepiller <address@hidden>
 ;;; Copyright © 2018 Alex Vong <address@hidden>
 ;;; Copyright © 2019 Kyle Meyer <address@hidden>
+;;; Copyright © 2019 Pierre Langlois <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -65,6 +66,26 @@ program uses.  The display output of the program can be 
customized or saved
 to a file.")
     (license gpl3+)))
 
+(define-public python-pytimeparse
+  (package
+    (name "python-pytimeparse")
+    (version "1.1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytimeparse" version))
+       (sha256
+        (base32
+         "02kaambsgpjx3zi42j6l11rwms2p35b9hsk4f3kdf979gd3kcqg8"))))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (build-system python-build-system)
+    (home-page "https://github.com/wroberts/pytimeparse";)
+    (synopsis "Time expression parser")
+    (description "This small Python module parses various kinds of time
+expressions.")
+    (license expat)))
+
 (define-public python-pytzdata
   (package
     (name "python-pytzdata")



reply via email to

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