[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/151: gnu: ghc-old-time: Add variable.
From: |
Paul |
Subject: |
16/151: gnu: ghc-old-time: Add variable. |
Date: |
Mon, 19 Oct 2015 08:57:14 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit adea60728b0f3d2dc21b426e7572da81cad82ca6
Author: Paul van der Walt <address@hidden>
Date: Wed Oct 14 23:17:02 2015 +0200
gnu: ghc-old-time: Add variable.
* gnu/packages/haskell.scm (ghc-old-time): New variable.
---
gnu/packages/haskell.scm | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2127cc9..6d4c1dd 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -383,6 +383,42 @@ 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
+ "Package for backwards compatibility with the old time library. For new
+projects, the newer @uref{http://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")
- 02/151: gnu: ghc-mtl: Update to 2.2.1., (continued)
- 02/151: gnu: ghc-mtl: Update to 2.2.1., Paul, 2015/10/19
- 05/151: gnu: xmonad: Patch for updated libraries., Paul, 2015/10/19
- 06/151: gnu: ghc-xmonad-contrib: Update to version 0.11.4., Paul, 2015/10/19
- 07/151: gnu: ghc-dlist: Update to 0.7.1.2., Paul, 2015/10/19
- 08/151: gnu: ghc-dlist: Enable tests., Paul, 2015/10/19
- 09/151: gnu: ghc-text: Update to 1.2.1.3., Paul, 2015/10/19
- 10/151: gnu: ghc-hashable: Update to 1.2.3.3., Paul, 2015/10/19
- 12/151: gnu: ghc-quickcheck: Update to 2.8.1., Paul, 2015/10/19
- 11/151: gnu: ghc-primitive: Update to 0.6.1.0., Paul, 2015/10/19
- 14/151: gnu: ghc-vector: Update to 0.11.0.0., Paul, 2015/10/19
- 16/151: gnu: ghc-old-time: Add variable.,
Paul <=
- 15/151: gnu: ghc-network: Update to 2.6.2.1., Paul, 2015/10/19
- 13/151: gnu: ghc-syb: Update to 0.6., Paul, 2015/10/19
- 17/151: gnu: ghc-http: Update to 4000.2.20., Paul, 2015/10/19
- 18/151: gnu: cabal-install: Update to 1.22.6.0., Paul, 2015/10/19
- 22/151: gnu: Add ghc-setenv., Paul, 2015/10/19
- 19/151: gnu: Add ghc-ansi-terminal., Paul, 2015/10/19
- 20/151: gnu: ghc-containers: Remove variable., Paul, 2015/10/19
- 21/151: gnu: Add ghc-async., Paul, 2015/10/19
- 23/151: gnu: Add ghc-stringbuilder., Paul, 2015/10/19
- 25/151: gnu: Add ghc-transformers-compat., Paul, 2015/10/19