[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/154: gnu: Add ghc-async.
From: |
Paul |
Subject: |
21/154: gnu: Add ghc-async. |
Date: |
Thu, 22 Oct 2015 20:22:41 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit d076b44460cea354849cc7374d342026be832c64
Author: Paul van der Walt <address@hidden>
Date: Wed Oct 14 23:41:47 2015 +0200
gnu: Add ghc-async.
* gnu/packages/haskell.scm (ghc-async): New variable.
---
gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a5ae4d1..9e9f18c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1228,4 +1228,30 @@ 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.
+ (propagated-inputs
+ `(("ghc-stm" ,ghc-stm)))
+ (home-page "https://github.com/simonmar/async")
+ (synopsis "Library to run IO operations asynchronously")
+ (description "Async provides a library to run IO operations
+asynchronously, and wait for their results. It is 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}.")
+ (license bsd-3)))
+
;;; haskell.scm ends here
- 01/154: gnu: ghc: Update to 7.10.2., (continued)
- 01/154: gnu: ghc: Update to 7.10.2., Paul, 2015/10/22
- 07/154: gnu: ghc-xmonad-contrib: Update to version 0.11.4., Paul, 2015/10/22
- 12/154: gnu: ghc-primitive: Update to 0.6.1.0., Paul, 2015/10/22
- 10/154: gnu: ghc-text: Update to 1.2.1.3., Paul, 2015/10/22
- 09/154: gnu: ghc-dlist: Enable tests., Paul, 2015/10/22
- 18/154: gnu: cabal-install: Update to 1.22.6.0., Paul, 2015/10/22
- 19/154: gnu: Add ghc-ansi-terminal., Paul, 2015/10/22
- 15/154: gnu: ghc-vector: Update to 0.11.0.0., Paul, 2015/10/22
- 16/154: gnu: ghc-network: Update to 2.6.2.1., Paul, 2015/10/22
- 14/154: gnu: ghc-syb: Update to 0.6., Paul, 2015/10/22
- 21/154: gnu: Add ghc-async.,
Paul <=
- 11/154: gnu: ghc-hashable: Update to 1.2.3.3., Paul, 2015/10/22
- 17/154: gnu: ghc-http: Update to 4000.2.20., Paul, 2015/10/22
- 28/154: gnu: Add ghc-silently., Paul, 2015/10/22
- 24/154: gnu: Add ghc-quickcheck-io., Paul, 2015/10/22
- 26/154: gnu: Add ghc-exceptions., Paul, 2015/10/22
- 23/154: gnu: Add ghc-stringbuilder., Paul, 2015/10/22
- 22/154: gnu: Add ghc-setenv., Paul, 2015/10/22
- 29/154: gnu: Add ghc-hspec-expectations., Paul, 2015/10/22
- 25/154: gnu: Add ghc-transformers-compat., Paul, 2015/10/22
- 20/154: gnu: Remove ghc-containers., Paul, 2015/10/22