[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/153: gnu: Add ghc-old-time.
From: |
Paul |
Subject: |
06/153: gnu: Add ghc-old-time. |
Date: |
Wed, 21 Oct 2015 16:07:06 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 39f6149b3e4080e8dc2849105992d7feba8931ce
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")
- 37/153: gnu: Add ghc-generic-deriving., (continued)
- 37/153: gnu: Add ghc-generic-deriving., Paul, 2015/10/21
- 30/153: gnu: Add ghc-hspec-core., Paul, 2015/10/21
- 35/153: gnu: Add ghc-appar., Paul, 2015/10/21
- 45/153: gnu: Add ghc-base64-bytestring., Paul, 2015/10/21
- 44/153: gnu: Add ghc-ansi-wl-pprint., Paul, 2015/10/21
- 32/153: gnu: Add hspec-discover., Paul, 2015/10/21
- 51/153: gnu: Add ghc-mmorph., Paul, 2015/10/21
- 61/153: gnu: Add ghc-auto-update., Paul, 2015/10/21
- 47/153: gnu: Add ghc-fingertree., Paul, 2015/10/21
- 59/153: gnu: Add ghc-blaze-html., Paul, 2015/10/21
- 06/153: gnu: Add ghc-old-time.,
Paul <=
- 53/153: gnu: Add ghc-monad-control., Paul, 2015/10/21
- 05/153: gnu: xmonad: Patch for updated libraries., Paul, 2015/10/21
- 27/153: gnu: Add ghc-temporary., Paul, 2015/10/21
- 28/153: gnu: Add ghc-silently., Paul, 2015/10/21
- 20/153: gnu: Remove ghc-containers., Paul, 2015/10/21
- 101/153: gnu: Add ghc-hscolour., Paul, 2015/10/21
- 86/153: gnu: Add ghc-stringsearch., Paul, 2015/10/21
- 92/153: gnu: Add ghc-tasty-ant-xml., Paul, 2015/10/21
- 02/153: gnu: ghc-mtl: Update to 2.2.1., Paul, 2015/10/21
- 29/153: gnu: Add ghc-hspec-expectations., Paul, 2015/10/21