diff options
author | rsiddharth <s@ricketyspace.net> | 2018-03-21 03:44:42 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-03-31 19:25:25 +0200 |
commit | fe9b5eff7be2afbafa1e8442a05b957fe4d90046 (patch) | |
tree | d41f9880e544bc5e80f7b2d1920bed20ec6956b8 | |
parent | fddb41f22bdb5d72e6d914461204fb22b998c328 (diff) | |
download | guix-patches-fe9b5eff7be2afbafa1e8442a05b957fe4d90046.tar guix-patches-fe9b5eff7be2afbafa1e8442a05b957fe4d90046.tar.gz |
gnu: Add ghc-monad-logger.
* gnu/packages/haskell.scm (ghc-monad-logger): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/haskell.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index ac88acac0a..3f58466942 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -8908,4 +8908,42 @@ features.") operators for looping.") (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 |