[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
65/151: gnu: Add ghc-unix-time.
From: |
Paul |
Subject: |
65/151: gnu: Add ghc-unix-time. |
Date: |
Mon, 19 Oct 2015 08:57:59 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 803fefbb52df77ee513735451eaf23782a7efe75
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 | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index ac45f12..faaa42b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -979,6 +979,48 @@ 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
+ "Fast parser/formatter/utilities for Unix time.")
+ (license bsd-3)))
+
(define-public ghc-iproute
(package
(name "ghc-iproute")
- 56/151: gnu: Add ghc-base-compat., (continued)
- 56/151: gnu: Add ghc-base-compat., Paul, 2015/10/19
- 58/151: gnu: Add ghc-blaze-markup., Paul, 2015/10/19
- 60/151: gnu: Add ghc-doctest., Paul, 2015/10/19
- 59/151: gnu: Add ghc-blaze-html., Paul, 2015/10/19
- 61/151: gnu: Add ghc-auto-update., Paul, 2015/10/19
- 62/151: gnu: Add ghc-tagged., Paul, 2015/10/19
- 63/151: gnu: Add ghc-unbounded-delays., Paul, 2015/10/19
- 64/151: gnu: Add ghc-iproute., Paul, 2015/10/19
- 67/151: gnu: Add ghc-quickcheck-instances., Paul, 2015/10/19
- 66/151: gnu: Add ghc-unix-compat., Paul, 2015/10/19
- 65/151: gnu: Add ghc-unix-time.,
Paul <=
- 69/151: gnu: Add ghc-nats., Paul, 2015/10/19
- 68/151: gnu: Add ghc-http-types., Paul, 2015/10/19
- 71/151: gnu: Add ghc-void., Paul, 2015/10/19
- 72/151: gnu: Add ghc-bifunctors., Paul, 2015/10/19
- 70/151: gnu: Add ghc-semigroups., Paul, 2015/10/19
- 74/151: gnu: Add ghc-contravariant., Paul, 2015/10/19
- 75/151: gnu: Add ghc-digest., Paul, 2015/10/19
- 73/151: gnu: Add ghc-statevar., Paul, 2015/10/19
- 79/151: gnu: Add ghc-charset., Paul, 2015/10/19
- 76/151: gnu: Add ghc-tagsoup., Paul, 2015/10/19