unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40050] [PATCH] gnu: Add ghcid.
@ 2020-03-13  6:17 brown121407
  2020-03-20 18:41 ` bug#40050: " Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: brown121407 @ 2020-03-13  6:17 UTC (permalink / raw)
  To: 40050; +Cc: Alexandru-Sergiu Marton

From: Alexandru-Sergiu Marton <brown121407@member.fsf.org>

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

diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index 6005816260..58552666f1 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -266,6 +266,40 @@ unique algebra of patches called @url{http://darcs.net/Theory,Patchtheory}.
 @end enumerate")
     (license license:gpl2)))
 
+(define-public ghcid
+  (package
+    (name "ghcid")
+    (version "0.8.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/ghcid/" ;
+                           "ghcid-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1b8a8mx6z2ridw79gijjv90b2jgk0qrncvg0sjbmvyyyajx1h5f7"))))
+    (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.  Run @code{ghcid --topmost --command=ghci}, where @code{--topmost} makes the
+window on top of all others (Windows only) and @code{--command} is the command to start
+GHCi on your project (defaults to @code{ghci} if you have a @file{.ghci} file, or else
+to @code{cabal repl}).")
+    (license license:bsd-3)))
+
 (define-public git-annex
   (package
     (name "git-annex")
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#40050: [PATCH] gnu: Add ghcid.
  2020-03-13  6:17 [bug#40050] [PATCH] gnu: Add ghcid brown121407
@ 2020-03-20 18:41 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2020-03-20 18:41 UTC (permalink / raw)
  To: brown121407, 40050-done; +Cc: Alexandru-Sergiu Marton

[-- Attachment #1: Type: text/plain, Size: 159 bytes --]

brown121407@posteo.ro writes:

> * gnu/packages/haskell-apps.scm (ghcid): New variable.

This was pushed in eea58169fb519c392ff3ba4a1ad5730e3be9ff39, closing!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-20 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13  6:17 [bug#40050] [PATCH] gnu: Add ghcid brown121407
2020-03-20 18:41 ` bug#40050: " Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).