[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: |
Fri, 23 Oct 2015 07:12:55 +0000 |
toothbrush pushed a commit to branch master
in repository guix.
commit 7ae4c1022746907da090cd376507106a8133cc0d
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 | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a12f245..b34addd 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -383,6 +383,36 @@ 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
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-/bin/sh
+ (lambda _
+ (setenv "CONFIG_SHELL" "sh"))))))
+ (propagated-inputs
+ `(("ghc-old-locale" ,ghc-old-locale)))
+ (home-page "http://hackage.haskell.org/package/old-time")
+ (synopsis "Time compatibility library for Haskell")
+ (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 master updated (fd74cc3 -> 8e01e30), Paul, 2015/10/23
- 01/154: gnu: ghc: Update to 7.10.2., Paul, 2015/10/23
- 02/154: gnu: ghc-mtl: Update to 2.2.1., Paul, 2015/10/23
- 04/154: gnu: Add ghc-old-locale., Paul, 2015/10/23
- 05/154: gnu: xmonad: Patch for updated libraries., Paul, 2015/10/23
- 07/154: gnu: ghc-xmonad-contrib: Update to version 0.11.4., Paul, 2015/10/23
- 03/154: gnu: ghc-utf8-string: Update to 1.0.1.1., Paul, 2015/10/23
- 08/154: gnu: ghc-dlist: Update to 0.7.1.2., Paul, 2015/10/23
- 06/154: gnu: Add ghc-old-time.,
Paul <=
- 09/154: gnu: ghc-dlist: Enable tests., Paul, 2015/10/23
- 10/154: gnu: ghc-text: Update to 1.2.1.3., Paul, 2015/10/23
- 12/154: gnu: ghc-primitive: Update to 0.6.1.0., Paul, 2015/10/23
- 11/154: gnu: ghc-hashable: Update to 1.2.3.3., Paul, 2015/10/23
- 13/154: gnu: ghc-quickcheck: Update to 2.8.1., Paul, 2015/10/23
- 14/154: gnu: ghc-syb: Update to 0.6., Paul, 2015/10/23
- 15/154: gnu: ghc-vector: Update to 0.11.0.0., Paul, 2015/10/23
- 17/154: gnu: ghc-http: Update to 4000.2.20., Paul, 2015/10/23
- 16/154: gnu: ghc-network: Update to 2.6.2.1., Paul, 2015/10/23
- 18/154: gnu: cabal-install: Update to 1.22.6.0., Paul, 2015/10/23