[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/154: gnu: Add ghc-old-time.
From: |
Paul |
Subject: |
06/154: gnu: Add ghc-old-time. |
Date: |
Thu, 22 Oct 2015 13:51:07 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit eaf3b774c9285c29dc9626e58567b51f4c84fdfc
Author: Paul van der Walt <address@hidden>
Date: Wed Oct 14 23:17:02 2015 +0200
gnu: Add ghc-old-time.
* gnu/packages/haskell.scm (ghc-old-time): New variable.
---
gnu/packages/haskell.scm | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a12f245..d4ed637 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -383,6 +383,40 @@ package.")
date and time formats.")
(license bsd-3)))
+(define-public ghc-old-time
+ (package
+ (name "ghc-old-time")
+ (version "1.1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/old-time/old-time-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#: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-locale" ,ghc-old-locale)))
+ (home-page "http://hackage.haskell.org/package/old-time")
+ (synopsis "Time library")
+ (description "Old-time is a package for backwards compatibility with the
+old @code{time} library. For new projects, the newer
address@hidden://hackage.haskell.org/package/time, time library} is
recommended.")
+ (license bsd-3)))
+
(define-public ghc-data-default-instances-old-locale
(package
(name "ghc-data-default-instances-old-locale")
- branch wip-haskell-platform-7.10.2-a created (now 0c59ee9), Paul, 2015/10/22
- 02/154: gnu: ghc-mtl: Update to 2.2.1., Paul, 2015/10/22
- 01/154: gnu: ghc: Update to 7.10.2., Paul, 2015/10/22
- 03/154: gnu: ghc-utf8-string: Update to 1.0.1.1., Paul, 2015/10/22
- 05/154: gnu: xmonad: Patch for updated libraries., Paul, 2015/10/22
- 06/154: gnu: Add ghc-old-time.,
Paul <=
- 07/154: gnu: ghc-xmonad-contrib: Update to version 0.11.4., Paul, 2015/10/22
- 08/154: gnu: ghc-dlist: Update to 0.7.1.2., Paul, 2015/10/22
- 10/154: gnu: ghc-text: Update to 1.2.1.3., Paul, 2015/10/22
- 11/154: gnu: ghc-hashable: Update to 1.2.3.3., Paul, 2015/10/22
- 04/154: gnu: Add ghc-old-locale., Paul, 2015/10/22
- 13/154: gnu: ghc-quickcheck: Update to 2.8.1., Paul, 2015/10/22
- 15/154: gnu: ghc-vector: Update to 0.11.0.0., Paul, 2015/10/22
- 09/154: gnu: ghc-dlist: Enable tests., Paul, 2015/10/22
- 16/154: gnu: ghc-network: Update to 2.6.2.1., Paul, 2015/10/22
- 12/154: gnu: ghc-primitive: Update to 0.6.1.0., Paul, 2015/10/22