guix-commits
[Top][All Lists]
Advanced

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

100/151: gnu: Add ghc-comonad.


From: Paul
Subject: 100/151: gnu: Add ghc-comonad.
Date: Tue, 20 Oct 2015 15:31:03 +0000

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

commit 21791974ee83289861cf34f2c603f8f7b7f461ec
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:34:58 2015 +0200

    gnu: Add ghc-comonad.
    
    * gnu/packages/haskell.scm (ghc-comonad): New variable.
---
 gnu/packages/haskell.scm |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 3f59690..905471d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1300,6 +1300,37 @@ that introduces an isolate primitive for parser 
isolation, and labeled blocks
 for better error messages.")
     (license bsd-3)))
 
+(define-public ghc-comonad
+  (package
+    (name "ghc-comonad")
+    (version "4.2.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/comonad/comonad-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0arvbaxgkawzdp38hh53akkahjg2aa3kj2b4ns0ni8a5ylg2cqmp"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-distributive" ,ghc-distributive)
+       ("ghc-transformers-compat" ,ghc-transformers-compat)
+       ("ghc-contravariant" ,ghc-contravariant)))
+    (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
+                               ; -package contravariant-1.3.3"
+    (inputs
+     `(("ghc-semigroups" ,ghc-semigroups)
+       ("ghc-tagged" ,ghc-tagged)
+       ("ghc-contravariant" ,ghc-contravariant)
+       ("ghc-doctest" ,ghc-doctest)))
+    (home-page "http://github.com/ekmett/comonad/";)
+    (synopsis "Comonads for Haskell")
+    (description "This library provides @code{Comonad}s for Haskell.")
+    (license bsd-3)))
+
 (define-public ghc-appar
   (package
     (name "ghc-appar")



reply via email to

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