Subject: bug#38808: closed (Re: [bug#38808] [PATCH v2] gnu: Add ghcid.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 15 Mar 2020 19:06:02 +0000

Your bug report

#38808: [PATCH] gnu: Add ghc-ghcid.

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].

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

Subject: Re: [bug#38808] [PATCH v2] gnu: Add ghcid.
From: Leo Famulari <[email-masked]>
To: Alexandru-Sergiu Marton <[email-masked]>
Cc: Alexandru-Sergiu Marton <[email-masked]>, [email-masked]
Date: Sun, 15 Mar 2020 15:05:35 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

On Tue, Feb 04, 2020 at 03:59:03PM +0200, Alexandru-Sergiu Marton wrote:
> * gnu/packages/haskell-apps.scm (ghcid): New variable.

Thanks! I updated it to 0.8.4 and pushed as
eea58169fb519c392ff3ba4a1ad5730e3be9ff39

Subject: [PATCH] gnu: Add ghc-ghcid.
From: Alexandru-Sergiu Marton <[email-masked]>
To: [email-masked]
Cc: Alexandru-Sergiu Marton <[email-masked]>
Date: Mon, 30 Dec 2019 10:26:14 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/haskell-xyz.scm (ghc-ghcid): New variable.
---
 gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 716d14d7fb..a8710037ae 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -4429,6 +4429,39 @@ properties for functions operating on them.")
 interfaces with ease.")
     (license license:bsd-3)))
 
+(define-public ghc-ghcid
+  (package
+    (name "ghc-ghcid")
+    (version "0.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/ghcid/ghcid-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1vyjsxxp0jqqfkxp9r8by9qg794g0nj3k5zg7vlvh5v8xzigv8qg"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-extra" ,ghc-extra)
+       ("ghc-ansi-terminal" ,ghc-ansi-terminal)
+       ("ghc-cmdargs" ,ghc-cmdargs)
+       ("ghc-fsnotify" ,ghc-fsnotify)
+       ("ghc-terminal-size" ,ghc-terminal-size)))
+    (native-inputs
+     `(("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
+    (home-page
+     "https://github.com/ndmitchell/ghcid#readme")
+    (synopsis "GHCi based bare bones IDE")
+    (description
+     "Either \"GHCi as a daemon\" or \"GHC + a bit of an IDE\".
+A very simple Haskell development tool which shows you the errors in
+your project and updates them whenever you save.")
+    (license license:bsd-3)))
+
 (define-public ghc-gitrev
   (package
     (name "ghc-gitrev")
-- 
2.24.1