[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add ghc-clock.
From: |
ericbavier |
Subject: |
Re: [PATCH] gnu: Add ghc-clock. |
Date: |
Wed, 21 Oct 2015 22:25:07 -0500 |
From: Eric Bavier <address@hidden>
> * gnu/packages/haskell.scm (ghc-clock): New variable.
> ---
> gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
> index 6aa3a91..be37c5a 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -2445,6 +2445,28 @@ or timeout period. This package provides alternative
> functions which use the
> unbounded @code{Integer} type.")
> (license bsd-3)))
>
> +(define-public ghc-clock
> + (package
> + (name "ghc-clock")
> + (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 ghc-clock
A trick that's used with some other packages is to define an unexported
*-bootstrap package. The ghc-clock-bootstrap package would have tests
disabled, then the ghc-clock package would inherit from the
ghc-clock-bootstrap package, declare ghc-clock-bootstrap as an input, and
enable tests.
`~Eric
- Re: [PATCH] gnu: Add ghc-base64-bytestring., (continued)
- Re: [PATCH] gnu: Add ghc-blaze-builder., ericbavier, 2015/10/22
- Re: [PATCH] gnu: Add ghc-cereal., ericbavier, 2015/10/22
- Re: [PATCH] gnu: Add ghc-doctest., ericbavier, 2015/10/22
- Re: Reviews for wip-haskell-platform-7.10.2-a, Paul van der Walt, 2015/10/22
- Re: [PATCH] gnu: Add ghc-gluraw., ericbavier, 2015/10/22