gnu: Add ghc-monad-logger.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
rsiddharth 2018-03-21 03:44:42 +00:00 committed by Ludovic Courtès
parent fddb41f22b
commit fe9b5eff7b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 38 additions and 0 deletions

View File

@ -8908,4 +8908,42 @@ features.")
operators for looping.") operators for looping.")
(license license:public-domain))) (license license:public-domain)))
(define-public ghc-monad-logger
(package
(name "ghc-monad-logger")
(version "0.3.25.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"monad-logger-" version "/"
"monad-logger-" version ".tar.gz"))
(sha256
(base32
"0yv4fsi566zrn30j2g5l901lyqgmflhvzy4hji7ikcbh5d45m920"))))
(build-system haskell-build-system)
(inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
("ghc-text" ,ghc-text)
("ghc-stm" ,ghc-stm)
("ghc-stm-chans" ,ghc-stm-chans)
("ghc-lifted-base" ,ghc-lifted-base)
("ghc-resourcet" ,ghc-resourcet)
("ghc-conduit" ,ghc-conduit)
("ghc-conduit-extra" ,ghc-conduit-extra)
("ghc-fast-logger" ,ghc-fast-logger)
("ghc-transformers-base" ,ghc-transformers-base)
("ghc-monad-control" ,ghc-monad-control)
("ghc-monad-loops" ,ghc-monad-loops)
("ghc-mtl" ,ghc-mtl)
("ghc-blaze-builder" ,ghc-blaze-builder)
("ghc-exceptions" ,ghc-exceptions)))
(home-page "https://github.com/kazu-yamamoto/logger")
(synopsis "Provides a class of monads which can log messages for Haskell")
(description "This Haskell package uses a monad transformer approach
for logging.
This package provides Template Haskell functions for determining source
code locations of messages.")
(license license:expat)))
;;; haskell.scm ends here ;;; haskell.scm ends here