From patchwork Fri Mar 13 06:17:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 20665 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 16E4B27BBE4; Fri, 13 Mar 2020 06:18:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CBC1627BBEA for ; Fri, 13 Mar 2020 06:18:09 +0000 (GMT) Received: from localhost ([::1]:54218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCde5-0006tC-7O for patchwork@mira.cbaines.net; Fri, 13 Mar 2020 02:18:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55242) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCddz-0006su-6s for guix-patches@gnu.org; Fri, 13 Mar 2020 02:18:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCddy-0005El-19 for guix-patches@gnu.org; Fri, 13 Mar 2020 02:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52068) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCddx-0005Eb-Uv for guix-patches@gnu.org; Fri, 13 Mar 2020 02:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCddx-0006Ox-QA for guix-patches@gnu.org; Fri, 13 Mar 2020 02:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40050] [PATCH] gnu: Add ghcid. Resent-From: brown121407@posteo.ro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Mar 2020 06:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40050 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40050@debbugs.gnu.org Cc: Alexandru-Sergiu Marton X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158408024224536 (code B ref -1); Fri, 13 Mar 2020 06:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Mar 2020 06:17:22 +0000 Received: from localhost ([127.0.0.1]:58041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCddK-0006Ng-Ee for submit@debbugs.gnu.org; Fri, 13 Mar 2020 02:17:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:48343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCddH-0006NS-Vo for submit@debbugs.gnu.org; Fri, 13 Mar 2020 02:17:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54391) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCddG-0006rU-H8 for guix-patches@gnu.org; Fri, 13 Mar 2020 02:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCddF-00049H-AS for guix-patches@gnu.org; Fri, 13 Mar 2020 02:17:18 -0400 Received: from mout02.posteo.de ([185.67.36.66]:48931) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCddE-00044c-RJ for guix-patches@gnu.org; Fri, 13 Mar 2020 02:17:17 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A360E2400E6 for ; Fri, 13 Mar 2020 07:17:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1584080234; bh=52eoawGxByvJwl2p0QlEYwI3ccce/bjLKmHsmhLYe+k=; h=From:To:Cc:Subject:Date:From; b=ELph53VqU2Ha8aQ1ud9KPSitXN3tQ//gGfLtkyQy0PUWn09fJImpqDsnLBdIeummY hcYDbnY353J/WJGsyy+Nn3KVtO8oAWJrChPh7KQxb/wwWzGP4K1SpqZK/YeyxC+A0B b25YS0OjNe4IPaQIsb0nukDqstlhQmNfwYBi5FGQsajZNb/xSt1Z3oz2DlpkKFFRAa gzXXVzd6dGz9uCI0+qJ7+kfr09ZCnAvnAn47xq2e6jXbG8HOxChefhAJkck0HIHCfG tV8TFDoHUIFK0aIiwNEtr4BeeUjW5JP/TAZei1g2K1GGyx6eEE8ZEOZaoaNlqlu/gE AmxIvKnEA/zZg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48dwTP5dpjz9rxQ; Fri, 13 Mar 2020 07:17:13 +0100 (CET) From: brown121407@posteo.ro Date: Fri, 13 Mar 2020 08:17:55 +0200 Message-Id: <20200313061755.1853-1-brown121407@posteo.ro> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Alexandru-Sergiu Marton * 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")