gnu: Add ghc-either.

* gnu/packages/haskell.scm (ghc-either): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
rsiddharth 2017-10-18 03:07:40 +00:00 committed by Ludovic Courtès
parent 87129984ca
commit 16d4125e90
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -9539,4 +9539,33 @@ (define-public ghc-monadrandom
which consume random values.")
(license license:bsd-3)))
(define-public ghc-either
(package
(name "ghc-either")
(version "4.4.1.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"either-" version "/"
"either-" version ".tar.gz"))
(sha256
(base32
"1lrlwqqnm6ibfcydlv5qvvssw7bm0c6yypy0rayjzv1znq7wp1xh"))))
(build-system haskell-build-system)
(inputs `(("ghc-bifunctors" ,ghc-bifunctors)
("ghc-exceptions" ,ghc-exceptions)
("ghc-free" ,ghc-free)
("ghc-monad-control" ,ghc-monad-control)
("ghc-manodrandom" ,ghc-monadrandom)
("ghc-mtl" ,ghc-mtl)
("ghc-mmorph" ,ghc-mmorph)
("ghc-profunctors" ,ghc-profunctors)
("ghc-semigroups" ,ghc-semigroups)
("ghc-semigroupoids" ,ghc-semigroupoids)
("ghc-transformers-base" ,ghc-transformers-base)))
(home-page "https://github.com/ekmett/either")
(synopsis "Provides an either monad transformer for Haskell")
(description "This Haskell package provides an either monad transformer.")
(license license:bsd-3)))
;;; haskell.scm ends here