guix-commits
[Top][All Lists]
Advanced

[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: Mon, 19 Oct 2015 08:57:18 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit e3c28a02eae20f33d28fdd20dcd256ce276dde90
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 |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 57d2752..cdb8f38 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1234,4 +1234,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.
+    (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.")
+    (license bsd-3)))
+
 ;;; haskell.scm ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]