From patchwork Mon Dec 30 08:26:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 19473 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 375C01797C; Mon, 30 Dec 2019 08:27:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_SBL,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EA8CC17960 for ; Mon, 30 Dec 2019 08:27:09 +0000 (GMT) Received: from localhost ([::1]:59394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilqOL-0005Aq-AC for patchwork@mira.cbaines.net; Mon, 30 Dec 2019 03:27:09 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#38808] [PATCH] gnu: Add ghc-ghcid. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2019 08:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38808 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38808@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.157769436921341 (code B ref -1); Mon, 30 Dec 2019 08:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2019 08:26:09 +0000 Received: from localhost ([127.0.0.1]:60469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilqNN-0005Y9-1w for submit@debbugs.gnu.org; Mon, 30 Dec 2019 03:26:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:51599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilqNK-0005Y0-Di for submit@debbugs.gnu.org; Mon, 30 Dec 2019 03:26:07 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OMZ0nR9tlEzMZoBru47dQywcffkyDfhuasoeTxSLYzo=; b=lIcXZDeJHc23bTnzWfFyv5EpaX2DS4EaHfoGQeYsvYUUbqlClma3XWjRVB6UlbdvMd E0ZaS0eBG2iD0ltEiycnUIOW2CYSPipQvstoj1zG+OErSdRKQZ4oFAQ69PzKod/TYABj nd+6bM29dvu0Yt2yTpgiyM0JrCIl8G/bTQmvc0/Px+pgcuqtqBi48UX/r9obj5ipX/PF vRNW6V/b+mbQVTMA1yePKqLgFEw9kHgEKaXmYd8bvxTisA1vZfh+YetVupe7daYn1eKM 7/ckVPCs2arNH/xmNWHYXlvn+VHGuM0UTWnHv02604YcNlpz9asR+EDomnW/pGdgmERG gigA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OMZ0nR9tlEzMZoBru47dQywcffkyDfhuasoeTxSLYzo=; b=tKOWauLEj3Y+CyVuK4x6Pi9vZ7yK1wArHkO7tmmQj3hXs30q1seAE0NuFVlMDYVCku U51n3P2bLbj64cuF91CG9qE/1XUzdhhSjyRi4QNF0wHyUwMQaix7sh8fMNEmda03jWfk MMpTXZSyaPYDmPGx5J0WiounuYMog2PeeGi3wIf7jjrsc3vfY+ilO41Tkkc/D3xWjfzF ZRvljCzOBtkAaVONFJkZ/uCMHRSnf7+Dm0LF8MVhkC/mpXeR4b+X/8Q0uNF4InBMqTIX 2ST/BH8hw0dmMFyXI7P4J0noE3qMuT91fuiTXbb0KYcIlYIpdYhNC6dz/SLP4qJihdq+ UpzA== X-Gm-Message-State: APjAAAV7TtG263BIfGPgd7HIzd5m1QESXuhwoNMuM5J3cT+o7m6awi1g jM5A/9OakjtU7DnV0HTzP0002zpB6aKg2A== X-Google-Smtp-Source: APXvYqxrzppEbZ55mnpHuvTERhmYVzrPnEmEc/gJa6vEuIPTKmgc+Y0Pjq1G0TpbJ0LVmmYd3GmedA== X-Received: by 2002:adf:db41:: with SMTP id f1mr67282884wrj.392.1577694362048; Mon, 30 Dec 2019 00:26:02 -0800 (PST) Received: from localhost.localdomain ([86.107.75.45]) by smtp.gmail.com with ESMTPSA id k7sm19428490wmi.19.2019.12.30.00.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 00:26:01 -0800 (PST) From: Alexandru-Sergiu Marton X-Google-Original-From: Alexandru-Sergiu Marton Date: Mon, 30 Dec 2019 10:26:14 +0200 Message-Id: <20191230082614.13781-1-brown121407@member.fsf.org> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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 * 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")