From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6NuSNdCYBWIEMAEAgWs5BA (envelope-from ) for ; Thu, 10 Feb 2022 23:59:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8O9zLtCYBWLTxQAAG6o9tA (envelope-from ) for ; Thu, 10 Feb 2022 23:59:28 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 71D263E7FD for ; Thu, 10 Feb 2022 23:59:28 +0100 (CET) Received: from localhost ([::1]:45936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIIPP-0004ie-ME for larch@yhetil.org; Thu, 10 Feb 2022 17:59:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIIMB-0007lp-L6 for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIIMA-0006K4-7g for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIIMA-0000xh-6J for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [WIP PATCH v3 10/26] gnu: Add tree-sitter-go. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 22:56:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49946 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49946@debbugs.gnu.org Cc: Pierre Langlois Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.16445337533585 (code B ref 49946); Thu, 10 Feb 2022 22:56:06 +0000 Received: (at 49946) by debbugs.gnu.org; 10 Feb 2022 22:55:53 +0000 Received: from localhost ([127.0.0.1]:57532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILw-0000ve-M8 for submit@debbugs.gnu.org; Thu, 10 Feb 2022 17:55:52 -0500 Received: from mout.gmx.net ([212.227.17.20]:51865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILj-0000s4-Lw for 49946@debbugs.gnu.org; Thu, 10 Feb 2022 17:55:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644533734; bh=enJxBVHODwxH4qeNuA2MpvZoLdFzzMS9kOiEDllojl8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=OGjo2zLE9g2TGHzKBNdMJDzxCnvecDWWD3ry7LREnlmKQmX0Em8apmgOJ6iZEmdDK /Mv918SS4ws3umwIB6yHQO9QkwU+P/3UOA46VGUrdpVWCXPs/8XdDjpERSScazhD6X 0YezoSdKEZjTmqjce7yxwBZCOEV3f/CYe55ZcZhs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mn2WF-1nzM7m3KEB-00k7Xs; Thu, 10 Feb 2022 23:55:33 +0100 From: Pierre Langlois Date: Thu, 10 Feb 2022 22:55:11 +0000 Message-Id: <20220210225527.25189-10-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220210225527.25189-1-pierre.langlois@gmx.com> References: <87leyinxly.fsf@gmx.com> <20220210225527.25189-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:VKDjwP9BMyso8lZZ5Ro0KYZe6h2INquANnVlM7GbhkYURmJCw2c T9WPvH4cPcLuggLXmNtU2SNfBsak/DRB+d1TYipZ+9LPE6oloiXeC7wZkh1pHEIOc8MyznP 3UnVV1hPWE0fPsSyAuss6yCKxwb1iv50VMMrYNtRtP6C2u5WO21WLNUV6VLckmuaNQ48zxK BC0QhPPwFlXCt23GLa9Xw== X-UI-Out-Filterresults: notjunk:1;V03:K0:gu69trzz13c=:xpyR6j7D6PGoS2TyBi0FMa aBg4p8tSKGs4MqVRD+k1EF7hKtEglUoB6kjwnscv5WaDprUDekj6G1n0W6lELlSTRc8qt9EUU s2bH2giq1gPJ7Oy2XcIS/gQey1mw4v9jqR10RIH53FyKGr4IzwqvdLbfGcI9A+46xsyLBVHhS 6ZsqmEGMsGP/LX9N2BesUQC1LDlIarQOn8/u5xCwYJZOZbKzpRWM4o2Y640HxCCcxecdIGdJY msTLSKL1guLOMsHla2mpHUyd9vbW9VQfEMdnWZQD+rtvMUNTcbCbSIU4TILihqCZXtALAZhSf zjnRXhVHblC0YAQ9Dx7yrfZjvkZLvZoOu7A4WxvFhDDIdsDdb2HjheROmy3qGGuCXifPg8Pw/ 1ddoDbGEVOxIlWwUEElO3fsF+L6mXJg/7SDQtIM9yMNbFJCgszzMEPeYGqviesJCAnMqm/1n+ /H3nwyGwX+80MIdg+afaa/d+ZsinQzUxaTQ72KRD2lDXmfWAxtvj3yiBmIDzotL14RbGBa/Km rWBsVCAtUC4TJTN3KcNh/VMZRzk759y7M1P3yPYAGgjmuw/w5Q1CzNjVaT95B01Bb9Sk5nZ92 Id4gyEcQ4qnp43CIoXkctcVcj/GHZ/88NcQlEsDlyAB/oa4xakaRql7L8zHeIqia5PJeljRMF gl2YjA0wyuWvv/odgf2+GHvsJagDylWR1Y0WCnGAw3vprlgte4NLay9LakasrbLu4UklcoXrd Y4ikmVhYEXIrMH3n017DI7JvCFXa53/M3CGqNyCfNmiQIX++9//murA5M1ntemUafDOy0D11N z7R0KpODejOgOA7hq7Sa8InInJH42QpAcMcJ8G+BHmPybTS62WcWYH7HwedZ5qa6FYrVCWBCx f5w58G0VuxfBQgV1IUdUyBUc192ZJdT3fDM+KJ9rDrW++LUr6Vqw7Cv72QpJ4fQdZJDHJWH4z qyiR3JM1pB0qxyfH1Tz/t7TSKJ3Hc99LZUUTJ2l6/bcG/F7/FE+aFRS2ifhTcBVYeBX6dbmqt vDg5gNLkQXqAJdnXVfikjk6rY0VPQzRsXpcgLV7tCkAw2zvTcD1IhUCwd2WQsNufgS38bsl+0 MQzQWHC0odQvhE= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644533968; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=erArTu9+ICKeXaoeEj03KL+K6bcWSN4WccQDe/UPd10=; b=LsgayC8/5KX9udZzu8lBimCBHX3Tmrw78Wy0cWEmR0svg+I28RT1vClPihuGHKWlpHk39C iYxlrzMazkUNFA1a5yvUyzRKOT53rLmNa6YZ4QcGn54M15vcEKsCkSTWXdFOHffo2PRNII KdMJK/eEKpKKy8yBd+4SFEAmI0hXfV+ewOmjB48BMEAuwrrvERqNa2h37dsRhQrkRZBdgs bR8IPZ6IG/ZNnChDFTjLQi6HYDWO6rqsthdOZi3m4OAvZQe+Td+PZAGMMQJKROtfFIoDLs OJR9sqJX+qjxsmqJ0rQqKCZK0cnyPHHaW+aX978WNttOotMHwZsW7N1TKvQpig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644533968; a=rsa-sha256; cv=none; b=ip8xiNI+dA3nAuINTWz/svgm/rVQaEWDNgJFlFqTC7LwhYx8LxewP1hIlanOC1x4vqyePC p8kZ1nPVSJZo6tF/7WW/JvKPMhIEM7U1brcsuBdzaYPLBjr0re8RB0NHwWM3CGRPnMUdhf vYuRVj7znXrY3Cuw/LnHRshFpF+dLbwzS73+GMUSPTcVUXdfm18YVbw2xfVYyygtSnzm0I hmLl0xpBWglQeb7Tl0SzjVyw9kfGNJorpBgzkkM4wPCHQFqkSuRM4GCKI6gw/AvCZD6CMc jCJMDcdJh6TUWyzvTf8iYe7gO33wRQWqqokVdlAASqvB63CqQ+LUAm4/vsC09Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=OGjo2zLE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=OGjo2zLE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 71D263E7FD X-Spam-Score: -0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5qcrFcRr2TY+ * gnu/packages/tree-sitter.scm (tree-sitter-go): New variable. =2D-- gnu/packages/tree-sitter.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 36b712c189..47f102b0b3 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -303,3 +303,26 @@ (define-public tree-sitter-css (description "This package provides a CSS grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-go + (package (inherit tree-sitter-c) + (name "tree-sitter-go") + (version "0.19.1") + (source (tree-sitter-origin + name + version + "0nxs47vd2fc2fr0qlxq496y852rwg39flhg334s7dlyq7d3lcx4x")) + (arguments + (substitute-keyword-arguments (package-arguments tree-sitter-c) + ((#:phases phases) + `(modify-phases ,phases + ;; The parse-example script tries to clone git repositories. + (add-after 'unpack 'remove-parse-example + (lambda _ + (substitute* "package.json" + ((" && script\\/parse-examples") "")))))))) + (home-page "https://github.com/tree-sitter/tree-sitter-go") + (synopsis "Tree-sitter Go grammar") + (description + "This package provides a Golang grammar for the Tree-sitter library= .") + (license license:expat))) =2D- 2.34.0