* [bug#38808] [PATCH] gnu: Add ghc-ghcid.
@ 2019-12-30 8:26 Alexandru-Sergiu Marton
2020-01-03 17:51 ` John Soo
2020-02-04 13:59 ` [bug#38808] [PATCH v2] gnu: Add ghcid Alexandru-Sergiu Marton
0 siblings, 2 replies; 5+ messages in thread
From: Alexandru-Sergiu Marton @ 2019-12-30 8:26 UTC (permalink / raw)
To: 38808; +Cc: Alexandru-Sergiu Marton
* 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#38808] [PATCH] gnu: Add ghc-ghcid.
2019-12-30 8:26 [bug#38808] [PATCH] gnu: Add ghc-ghcid Alexandru-Sergiu Marton
@ 2020-01-03 17:51 ` John Soo
2020-01-17 15:57 ` John Soo
2020-02-04 13:59 ` [bug#38808] [PATCH v2] gnu: Add ghcid Alexandru-Sergiu Marton
1 sibling, 1 reply; 5+ messages in thread
From: John Soo @ 2020-01-03 17:51 UTC (permalink / raw)
To: 38808, brown121407
Hi Alexandru-Sergiu,
I tested this out this morning. It looks pretty good to me.
Thanks a lot! I love seeing more haskell support in Guix.
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#38808] [PATCH] gnu: Add ghc-ghcid.
2020-01-03 17:51 ` John Soo
@ 2020-01-17 15:57 ` John Soo
0 siblings, 0 replies; 5+ messages in thread
From: John Soo @ 2020-01-17 15:57 UTC (permalink / raw)
To: 38808, brown121407
Hi Alexandru-Sergiu,
One thing to consider is maybe naming the package "ghcid" and putting
it in gnu/packages/haskell-apps.scm instead with the other haskell
executables.
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#38808] [PATCH v2] gnu: Add ghcid.
2019-12-30 8:26 [bug#38808] [PATCH] gnu: Add ghc-ghcid Alexandru-Sergiu Marton
2020-01-03 17:51 ` John Soo
@ 2020-02-04 13:59 ` Alexandru-Sergiu Marton
2020-03-15 19:05 ` bug#38808: " Leo Famulari
1 sibling, 1 reply; 5+ messages in thread
From: Alexandru-Sergiu Marton @ 2020-02-04 13:59 UTC (permalink / raw)
To: 38808; +Cc: Alexandru-Sergiu Marton
* gnu/packages/haskell-apps.scm (ghcid): New variable.
---
This moves the package to haskell-apps and brings a newer version (0.8.1, rather than 0.8).
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 767f0c7f99..6e614245a9 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2015 John Soo <jsoo1@asu.edu>
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -267,6 +268,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.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/ghcid/"
+ "ghcid-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1k5yk9ba6g2x0wsqx1zb9zviqp9p7myd628fxi2rf4wjh0kkjc4c"))))
+ (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.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#38808: [PATCH v2] gnu: Add ghcid.
2020-02-04 13:59 ` [bug#38808] [PATCH v2] gnu: Add ghcid Alexandru-Sergiu Marton
@ 2020-03-15 19:05 ` Leo Famulari
0 siblings, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2020-03-15 19:05 UTC (permalink / raw)
To: Alexandru-Sergiu Marton; +Cc: Alexandru-Sergiu Marton, 38808-done
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-03-15 19:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-30 8:26 [bug#38808] [PATCH] gnu: Add ghc-ghcid Alexandru-Sergiu Marton
2020-01-03 17:51 ` John Soo
2020-01-17 15:57 ` John Soo
2020-02-04 13:59 ` [bug#38808] [PATCH v2] gnu: Add ghcid Alexandru-Sergiu Marton
2020-03-15 19:05 ` bug#38808: " Leo Famulari
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).