[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/151: gnu: Add ghc-async.
From: |
Paul |
Subject: |
21/151: gnu: Add ghc-async. |
Date: |
Tue, 20 Oct 2015 15:29:44 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit b963d777faab87c770d6a37290f091be5b031b2c
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 9b0ba42..b9175ed 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1232,4 +1232,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
- 02/151: gnu: ghc-mtl: Update to 2.2.1., (continued)
- 02/151: gnu: ghc-mtl: Update to 2.2.1., Paul, 2015/10/20
- 05/151: gnu: xmonad: Patch for updated libraries., Paul, 2015/10/20
- 04/151: gnu: Add ghc-old-locale., Paul, 2015/10/20
- 07/151: gnu: ghc-xmonad-contrib: Update to version 0.11.4., Paul, 2015/10/20
- 08/151: gnu: ghc-dlist: Update to 0.7.1.2., Paul, 2015/10/20
- 06/151: gnu: Add ghc-old-time., Paul, 2015/10/20
- 13/151: gnu: ghc-quickcheck: Update to 2.8.1., Paul, 2015/10/20
- 10/151: gnu: ghc-text: Update to 1.2.1.3., Paul, 2015/10/20
- 16/151: gnu: ghc-network: Update to 2.6.2.1., Paul, 2015/10/20
- 09/151: gnu: ghc-dlist: Enable tests., Paul, 2015/10/20
- 21/151: gnu: Add ghc-async.,
Paul <=
- 03/151: gnu: ghc-utf8-string: Update to 1.0.1.1., Paul, 2015/10/20
- 14/151: gnu: ghc-syb: Update to 0.6., Paul, 2015/10/20
- 11/151: gnu: ghc-hashable: Update to 1.2.3.3., Paul, 2015/10/20
- 20/151: gnu: Remove ghc-containers., Paul, 2015/10/20
- 12/151: gnu: ghc-primitive: Update to 0.6.1.0., Paul, 2015/10/20
- 17/151: gnu: ghc-http: Update to 4000.2.20., Paul, 2015/10/20
- 23/151: gnu: Add ghc-stringbuilder., Paul, 2015/10/20
- 15/151: gnu: ghc-vector: Update to 0.11.0.0., Paul, 2015/10/20
- 24/151: gnu: Add ghc-quickcheck-io., Paul, 2015/10/20
- 22/151: gnu: Add ghc-setenv., Paul, 2015/10/20