guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add ghcid.


From: guix-commits
Subject: branch master updated: gnu: Add ghcid.
Date: Sun, 15 Mar 2020 15:04:41 -0400

This is an automated email from the git hooks/post-receive script.

lfam pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new eea5816  gnu: Add ghcid.
eea5816 is described below

commit eea58169fb519c392ff3ba4a1ad5730e3be9ff39
Author: Alexandru-Sergiu Marton <address@hidden>
AuthorDate: Tue Feb 4 15:59:03 2020 +0200

    gnu: Add ghcid.
    
    * gnu/packages/haskell-apps.scm (ghcid): New variable.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/haskell-apps.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index 6005816..f5b45d0 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2015 John Soo <address@hidden>
 ;;; Copyright © 2019 Efraim Flashner <address@hidden>
 ;;; Copyright © 2019 Alex Griffin <address@hidden>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -266,6 +267,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.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/ghcid/";
+                           "ghcid-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0wpm4ikrm1krz1ckzwk0srng091yh2skjal4fh95iz1hq3dw6qlw"))))
+    (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]