[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
84/154: gnu: Add ghc-clock-bootstrap.
From: |
Paul |
Subject: |
84/154: gnu: Add ghc-clock-bootstrap. |
Date: |
Thu, 22 Oct 2015 16:15:37 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 7c89383b2401bcbc06849dfe64f9479b8dc53cab
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 14:57:25 2015 +0200
gnu: Add ghc-clock-bootstrap.
The ghc-clock-bootstrap package has tests disabled, since they
themselves indirectly require ghc-clock. After adding ghc-tasty and
ghc-tasty-quickcheck, ghc-clock is defined as a public package with
tests enabled.
* gnu/packages/haskell.scm (ghc-clock-bootstrap): New variable.
---
gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4031146..5af5206 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2414,6 +2414,31 @@ or timeout period. This package provides alternative
functions which use the
unbounded @code{Integer} type.")
(license bsd-3)))
+;; This package builds `clock` without tests, since the tests rely on tasty
+;; and tasty-quickcheck, which in turn require clock to build. When tasty and
+;; tasty-quickcheck are added, we will add ghc-clock with tests enabled.
+(define ghc-clock-bootstrap
+ (package
+ (name "ghc-clock-bootstrap")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/"
+ "clock/"
+ "clock-" version ".tar.gz"))
+ (sha256
+ (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
+ (build-system haskell-build-system)
+ (arguments `(#:tests? #f)) ;; Testing suite depends on tasty and
+ ;; tasty-quickcheck, which need clock to build.
+ (home-page "https://hackage.haskell.org/package/clock")
+ (synopsis "High-resolution clock for Haskell")
+ (description "A package for convenient access to high-resolution clock and
+timer functions of different operating systems via a unified API.")
+ (license bsd-3)))
+
(define-public ghc-charset
(package
(name "ghc-charset")
- 71/154: gnu: Add ghc-void., (continued)
- 71/154: gnu: Add ghc-void., Paul, 2015/10/22
- 70/154: gnu: Add ghc-semigroups., Paul, 2015/10/22
- 73/154: gnu: Add ghc-statevar., Paul, 2015/10/22
- 75/154: gnu: Add ghc-digest., Paul, 2015/10/22
- 76/154: gnu: Add ghc-tagsoup., Paul, 2015/10/22
- 74/154: gnu: Add ghc-contravariant., Paul, 2015/10/22
- 67/154: gnu: Add ghc-quickcheck-instances., Paul, 2015/10/22
- 77/154: gnu: Add ghc-bytestring-builder., Paul, 2015/10/22
- 80/154: gnu: Add ghc-regex-tdfa-rc., Paul, 2015/10/22
- 79/154: gnu: Add ghc-charset., Paul, 2015/10/22
- 84/154: gnu: Add ghc-clock-bootstrap.,
Paul <=
- 81/154: gnu: Add ghc-lifted-base., Paul, 2015/10/22
- 83/154: gnu: Add ghc-stringsearch., Paul, 2015/10/22
- 82/154: gnu: Add ghc-word8., Paul, 2015/10/22
- 85/154: gnu: Add ghc-tasty., Paul, 2015/10/22
- 87/154: gnu: Add ghc-tasty-quickcheck., Paul, 2015/10/22
- 78/154: gnu: Add ghc-fast-logger., Paul, 2015/10/22
- 88/154: gnu: Add ghc-clock., Paul, 2015/10/22
- 89/154: gnu: Add ghc-temporary-rc., Paul, 2015/10/22
- 86/154: gnu: Add ghc-tasty-hunit., Paul, 2015/10/22
- 90/154: gnu: Add ghc-tasty-golden., Paul, 2015/10/22