guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 10/21] gnu: Add ghc-lifted-async.


From: Paul van der Walt
Subject: [PATCH 10/21] gnu: Add ghc-lifted-async.
Date: Wed, 4 Nov 2015 21:00:58 +0100

* gnu/packages/haskell.scm (ghc-lifted-async): New variable.
---
 gnu/packages/haskell.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 88a7fe5..03a8e37 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1121,6 +1121,40 @@ Utility Toolkit, a window system-independent toolkit for 
writing OpenGL
 programs.")
     (license bsd-3)))
 
+(define-public ghc-lifted-async
+  (package
+    (name "ghc-lifted-async")
+    (version "0.7.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/lifted-async/lifted-async-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0skfpgqlxni3bdn7pdg2732xkijmwsz655962wrbmflh987ms8y3"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-async" ,ghc-async)
+       ("ghc-lifted-base" ,ghc-lifted-base)
+       ("ghc-transformers-base" ,ghc-transformers-base)
+       ("ghc-monad-control" ,ghc-monad-control)
+       ("ghc-mtl" ,ghc-mtl)
+       ("ghc-hunit" ,ghc-hunit)
+       ("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+       ("ghc-tasty-th" ,ghc-tasty-th)))
+    (propagated-inputs
+     `(("ghc-constraints" ,ghc-constraints)))
+    (home-page "https://github.com/maoe/lifted-async";)
+    (synopsis "Run lifted IO operations asynchronously")
+    (description
+     "This package provides IO operations from the @code{async} package,
+lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.")
+    (license bsd-3)))
+
 (define-public ghc-gluraw
   (package
     (name "ghc-gluraw")
-- 
2.6.2




reply via email to

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