From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:37611) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilqOF-0005Ak-Ex for guix-patches@gnu.org; Mon, 30 Dec 2019 03:27:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilqOE-0001ZT-9v for guix-patches@gnu.org; Mon, 30 Dec 2019 03:27:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54496) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilqOE-0001Yq-6b for guix-patches@gnu.org; Mon, 30 Dec 2019 03:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ilqOE-0005ZM-2I for guix-patches@gnu.org; Mon, 30 Dec 2019 03:27:02 -0500 Subject: [bug#38808] [PATCH] gnu: Add ghc-ghcid. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:37362) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilqNJ-000574-4o for guix-patches@gnu.org; Mon, 30 Dec 2019 03:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilqNH-0000Cg-Qs for guix-patches@gnu.org; Mon, 30 Dec 2019 03:26:04 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:42945) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilqNH-0000CY-L2 for guix-patches@gnu.org; Mon, 30 Dec 2019 03:26:03 -0500 Received: by mail-wr1-x442.google.com with SMTP id q6so31906054wro.9 for ; Mon, 30 Dec 2019 00:26:03 -0800 (PST) From: Alexandru-Sergiu Marton Date: Mon, 30 Dec 2019 10:26:14 +0200 Message-Id: <20191230082614.13781-1-brown121407@member.fsf.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38808@debbugs.gnu.org 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