[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 40/43] gnu: ghc-unix-time: New variable.
From: |
Paul van der Walt |
Subject: |
[PATCH 40/43] gnu: ghc-unix-time: New variable. |
Date: |
Thu, 15 Oct 2015 15:06:21 +0200 |
* gnu/packages/haskell.scm (ghc-unix-time): New variable.
---
gnu/packages/haskell.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 555319f..641e1a6 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -980,6 +980,47 @@ 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
+ #: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")
--
2.6.1
- [PATCH 25/43] gnu: ghc-annotated-wl-pprint: New variable., Paul van der Walt, 2015/10/15
- [PATCH 27/43] gnu: ghc-uniplate: New variable., Paul van der Walt, 2015/10/15
- [PATCH 29/43] gnu: ghc-vault: New variable., Paul van der Walt, 2015/10/15
- [PATCH 34/43] gnu: ghc-blaze-html: New variable., Paul van der Walt, 2015/10/15
- [PATCH 33/43] gnu: ghc-blaze-markup: New variable., Paul van der Walt, 2015/10/15
- [PATCH 36/43] gnu: ghc-auto-update: New variable., Paul van der Walt, 2015/10/15
- [PATCH 28/43] gnu: ghc-fingertree: New variable., Paul van der Walt, 2015/10/15
- [PATCH 35/43] gnu: ghc-doctest: New variable., Paul van der Walt, 2015/10/15
- [PATCH 31/43] gnu: ghc-base-compat: New variable., Paul van der Walt, 2015/10/15
- [PATCH 40/43] gnu: ghc-unix-time: New variable.,
Paul van der Walt <=
- [PATCH 39/43] gnu: ghc-iproute: New variable., Paul van der Walt, 2015/10/15
- [PATCH 38/43] gnu: ghc-unbounded-delays: New variable., Paul van der Walt, 2015/10/15
- [PATCH 37/43] gnu: ghc-tagged: New variable., Paul van der Walt, 2015/10/15
- [PATCH 42/43] gnu: ghc-quickcheck-instances: New variable., Paul van der Walt, 2015/10/15
- [PATCH 43/43] gnu: ghc-http-types: New variable., Paul van der Walt, 2015/10/15
- [PATCH 044/105] gnu: ghc-nats: New variable., Paul van der Walt, 2015/10/15