* gnu/packages/haskell.scm (ghc-mtl): New variable. --- gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index a3ce2a3e4..97616d451 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -11405,4 +11405,29 @@ from a shell. The @code{tldr} pages are a community effort to simplify the man pages with practical examples.") (license license:bsd-3))) +(define-public ghc-mtl + (package + (name "ghc-mtl") + (version "1.2.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/ghc-mtl/ghc-mtl-" + version + ".tar.gz")) + (sha256 + (base32 + "0h6r6gip9nsjlsq88wj105hhqliy7ac2dmmndsfzbjz07b03cklk")))) + (build-system haskell-build-system) + (inputs + `(("ghc-exceptions" ,ghc-exceptions) + ("ghc-extensible-exceptions" ,ghc-extensible-exceptions))) + (home-page "https://hub.darcs.net/jcpetruzza/ghc-mtl") + (synopsis + "Mtl compatible version of the Ghc-Api monads and monad-transformers") + (description "Provides an @code{mtl} compatible version of the @code{GhcT} +monad-transformer defined in the @code{GHC-API} since version 6.10.1.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.20.1