summary refs log tree commit diff
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-03-21 03:44:41 +0000
committerLudovic Courtès <ludo@gnu.org>2018-03-31 19:24:44 +0200
commitfddb41f22bdb5d72e6d914461204fb22b998c328 (patch)
treef6ddb034282f1677cbb36572b21286d6daaf971e
parentbb87be09a972c41bc4c0c8b5758b2abac2312750 (diff)
downloadguix-fddb41f22bdb5d72e6d914461204fb22b998c328.tar.gz
gnu: Add ghc-monad-loops.
* gnu/packages/haskell.scm (ghc-monad-loops): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/haskell.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 61ee78e42f..ac88acac0a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8886,4 +8886,26 @@ similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
 features.")
     (license license:bsd-3)))
 
+(define-public ghc-monad-loops
+  (package
+    (name "ghc-monad-loops")
+    (version "0.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "monad-loops-" version "/"
+                           "monad-loops-" version ".tar.gz"))
+       (sha256
+        (base32
+         "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
+    (build-system haskell-build-system)
+    (native-inputs `(("ghc-tasty" ,ghc-tasty)
+                     ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
+    (home-page "https://github.com/mokus0/monad-loops")
+    (synopsis "Monadic loops for Haskell")
+    (description "This Haskell package provides some useful control
+operators for looping.")
+    (license license:public-domain)))
+
 ;;; haskell.scm ends here