[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
65/153: gnu: Add ghc-unix-time.
From: |
Paul |
Subject: |
65/153: gnu: Add ghc-unix-time. |
Date: |
Wed, 21 Oct 2015 16:07:29 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit fa77ce76a0d5241032e44c3e0d1e36c26c6864d5
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 14:13:33 2015 +0200
gnu: Add ghc-unix-time.
* gnu/packages/haskell.scm (ghc-unix-time): New variable.
---
gnu/packages/haskell.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index fc1f836..de55610 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -972,6 +972,46 @@ transformers 0.2 or 0.3 compatibility to run on old
versions of the platform,
but also need those types.")
(license bsd-3)))
+(define-public ghc-unix-time
+ (package
+ (name "ghc-unix-time")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/unix-time/unix-time-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0dyvyxwaffb94bgri1wc4b9wqaasy32pyjn0lww3dqblxv8fn5ax"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:tests? #f ; FIXME: Test fails with "System.Time not found". This is
+ ; weird, that should be provided by GHC 7.10.2.
+ #:phases
+ (alist-cons-before
+ 'configure 'fix-/bin/sh
+ (lambda _
+ ;; Use `sh', not `/bin/sh'.
+ (substitute* (find-files "." "Makefile|configure")
+ (("/bin/sh")
+ "sh")))
+ %standard-phases)))
+ (propagated-inputs
+ `(("ghc-old-time" ,ghc-old-time)
+ ("ghc-old-locale" ,ghc-old-locale)))
+ (inputs
+ `(("ghc-doctest" ,ghc-doctest)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
+ (home-page "http://hackage.haskell.org/package/unix-time")
+ (synopsis "Unix time parser/formatter and utilities")
+ (description "This library provides fast parsing and formatting utilities
+for Unix time in Haskell.")
+ (license bsd-3)))
+
(define-public ghc-iproute
(package
(name "ghc-iproute")
- 142/153: gnu: Add ghc-half., (continued)
- 142/153: gnu: Add ghc-half., Paul, 2015/10/21
- 151/153: gnu: Add raincat platform game., Paul, 2015/10/21
- 153/153: import: hackage: Fix grammar., Paul, 2015/10/21
- 78/153: gnu: Add ghc-fast-logger., Paul, 2015/10/21
- 75/153: gnu: Add ghc-digest., Paul, 2015/10/21
- 74/153: gnu: Add ghc-contravariant., Paul, 2015/10/21
- 71/153: gnu: Add ghc-void., Paul, 2015/10/21
- 69/153: gnu: Add ghc-nats., Paul, 2015/10/21
- 84/153: gnu: Add ghc-lifted-base., Paul, 2015/10/21
- 64/153: gnu: Add ghc-iproute., Paul, 2015/10/21
- 65/153: gnu: Add ghc-unix-time.,
Paul <=
- 70/153: gnu: Add ghc-semigroups., Paul, 2015/10/21
- 54/153: gnu: Add ghc-byteorder., Paul, 2015/10/21
- 60/153: gnu: Add ghc-doctest., Paul, 2015/10/21
- 63/153: gnu: Add ghc-unbounded-delays., Paul, 2015/10/22
- 68/153: gnu: Add ghc-http-types., Paul, 2015/10/22
- 83/153: gnu: Add ghc-tasty-hunit., Paul, 2015/10/22
- 76/153: gnu: Add ghc-tagsoup., Paul, 2015/10/22
- 73/153: gnu: Add ghc-statevar., Paul, 2015/10/22
- 43/153: gnu: Add ghc-annotated-wl-pprint., Paul, 2015/10/22
- 67/153: gnu: Add ghc-quickcheck-instances., Paul, 2015/10/22