guix-commits
[Top][All Lists]
Advanced

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

307/328: gnu: Add ghc-timezone-olson.


From: guix-commits
Subject: 307/328: gnu: Add ghc-timezone-olson.
Date: Sat, 16 Nov 2019 19:33:31 -0500 (EST)

samplet pushed a commit to branch wip-haskell-updates
in repository guix.

commit d179bedd12c8c72ca0938e865b9b664ffd32884a
Author: John Soo <address@hidden>
Date:   Thu Nov 14 01:10:31 2019 -0800

    gnu: Add ghc-timezone-olson.
    
    * gnu/packages/haskell-xyz.scm (ghc-timezone-olson): New variable.
    
    Signed-off-by: Timothy Sample <address@hidden>
---
 gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 762acc3..a05d998 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -11133,6 +11133,35 @@ data types and functions for enhanced processing of 
timezones.  For one way to
 create timezone series, see the ghc-timezone-olson package.")
    (license license:bsd-3)))
 
+(define-public ghc-timezone-olson
+  (package
+   (name "ghc-timezone-olson")
+   (version "0.1.9")
+   (source
+    (origin
+     (method url-fetch)
+     (uri
+      (string-append
+       "mirror://hackage/package/timezone-olson/timezone-olson-"
+       version ".tar.gz"))
+     (sha256
+      (base32
+       "05abywx1nrcaz0nqzfy4zw62bc5qd7pdfnjvv4drxkwv084ha8rj"))))
+   (build-system haskell-build-system)
+   (inputs
+    `(("ghc-timezone-series" ,ghc-timezone-series)
+      ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)))
+   (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/";)
+   (synopsis "Parser and renderer for binary Olson timezone files")
+   (description
+    "A parser and renderer for binary Olson timezone files whose format
+is specified by the tzfile(5) man page on Unix-like systems.  For more
+information about this format, see
+@url{http://www.iana.org/time-zones/repository/tz-link.html}.  Functions
+are provided for converting the parsed data into @code{TimeZoneSeries}
+objects from the timezone-series package.")
+   (license license:bsd-3)))
+
 (define-public ghc-tldr
   (package
     (name "ghc-tldr")



reply via email to

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