Subject: bug#34137: closed (Re: [bug#34137] [PATCH] gnu: Add ghc-libmpd.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 25 Jan 2019 13:07:02 +0000

Your bug report

#34137: [PATCH 1/2] gnu: Add ghc-mtl.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
34137: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34137
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#34137] [PATCH] gnu: Add ghc-libmpd.
From: Ludovic Courtès <[email-masked]>
To: Gabriel Hondet <[email-masked]>
Cc: Timothy Sample <[email-masked]>, [email-masked]
Date: Fri, 25 Jan 2019 14:06:08 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Gabriel Hondet <[email-masked]> skribis:

> Here is a new patch following your remarks.  I have also used
> 'mirror://' for hackage.
>
> * gnu/packages/haskell.scm (ghc-libmpd): New variable.

Applied, thanks!

Ludo’.

Subject: [PATCH 1/2] gnu: Add ghc-mtl.
From: Gabriel Hondet <[email-masked]>
To: [email-masked]
Date: Sat, 19 Jan 2019 21:34:52 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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