diff options
author | Paul van der Walt <paul@denknerd.org> | 2015-10-15 15:34:58 +0200 |
---|---|---|
committer | Paul van der Walt <paul@denknerd.org> | 2015-10-23 09:10:52 +0200 |
commit | 40b56b52914bd53e714d401844f96d8b75881498 (patch) | |
tree | cc6df5fa21b2ada0384dd31bb57059e71aa85a24 /gnu | |
parent | fa4f5024bcc42514de005d92b138ed7f2d25e5a8 (diff) |
gnu: Add ghc-comonad.
* gnu/packages/haskell.scm (ghc-comonad): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/haskell.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 939d2e79c3..dc53fb989a 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1267,6 +1267,36 @@ similar to @code{binary}, that introduces an @code{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))) + (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") |