[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 18/43] gnu: ghc-async: New variable.
From: |
Eric Bavier |
Subject: |
Re: [PATCH 18/43] gnu: ghc-async: New variable. |
Date: |
Mon, 19 Oct 2015 09:08:36 -0500 |
On Thu, 15 Oct 2015 14:21:12 +0200
Paul van der Walt <address@hidden> wrote:
> * gnu/packages/haskell.scm (ghc-async): New variable.
> ---
> gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
> index e7476e4..cb2af0a 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -1239,4 +1239,31 @@ lets you set up HTTP connections, transmitting
> requests and processing the
> responses coming back.")
> (license bsd-3)))
>
> +(define-public ghc-async
> + (package
> + (name "ghc-async")
> + (version "2.0.2")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "http://hackage.haskell.org/package/async/async-"
> + version
> + ".tar.gz"))
> + (sha256
> + (base32
> + "0azx4qk65a9a2gvqsfmz3w89m6shzr2iz0i5lly2zvly4n2d6m6v"))))
> + (build-system haskell-build-system)
> + (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
If this is the case, can the "ghc-hunit" input be left out?
> + (propagated-inputs
> + `(("ghc-stm" ,ghc-stm)))
> + (inputs
> + `(("ghc-hunit" ,ghc-hunit)))
> + (home-page "https://github.com/simonmar/async")
> + (synopsis "Run IO operations asynchronously and wait for their results")
> + (description "Higher-level interface over threads in Haskell, in which
> +Async a is a concurrent thread that will eventually deliver a value of type
> +a.")
The first sentence here is a fragment. Also, I believe our new texinfo
support could come in handy here (and in other haskell packages, as
they seem to like including code fragments):
"This package provides a higher-level interface over threads in
Haskell, in which @code{Async a} is a concurrent thread that will
eventually deliver a value of type @code{a}."
`~Eric
- Re: [PATCH 04/43] gnu: ghc-xmonad-contrib: Update to version 0.11.4., (continued)
- [PATCH 05/43] gnu: ghc-dlist: Update to 0.7.1.2., Paul van der Walt, 2015/10/15
- [PATCH 07/43] gnu: ghc-hashable: Update to 1.2.3.3., Paul van der Walt, 2015/10/15
- [PATCH 17/43] gnu: ghc-containers: Remove variable., Paul van der Walt, 2015/10/15
- [PATCH 18/43] gnu: ghc-async: New variable., Paul van der Walt, 2015/10/15
- Re: [PATCH 18/43] gnu: ghc-async: New variable.,
Eric Bavier <=
- [PATCH 10/43] gnu: ghc-syb: Update to 0.6., Paul van der Walt, 2015/10/15
- [PATCH 12/43] gnu: ghc-network: Update to 2.6.2.1., Paul van der Walt, 2015/10/15
- [PATCH 08/43] gnu: ghc-primitive: Update to 0.6.1.0., Paul van der Walt, 2015/10/15
- [PATCH 16/43] gnu: ghc-ansi-terminal: New variable., Paul van der Walt, 2015/10/15
- [PATCH 24/43] gnu: ghc-split: Update dependencies., Paul van der Walt, 2015/10/15
- [PATCH 23/43] gnu: ghc-regex-base: New variables., Paul van der Walt, 2015/10/15
- [PATCH 11/43] gnu: ghc-vector: Update to 0.11.0.0., Paul van der Walt, 2015/10/15