From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QIM2EI+wD2IVoQAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:43:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WGz7CI+wD2LxBQAAG6o9tA (envelope-from ) for ; Fri, 18 Feb 2022 15:43:27 +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 D85E5257D3 for ; Fri, 18 Feb 2022 15:43:26 +0100 (CET) Received: from localhost ([::1]:60752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4Tl-0007T2-Pq for larch@yhetil.org; Fri, 18 Feb 2022 09:43:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4RY-0005cA-B2 for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4RY-0005Tj-0r for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL4RX-0008W1-W3 for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 17/31] gnu: Add tree-sitter-json. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:41:07 +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.164519524332553 (code B ref 49946); Fri, 18 Feb 2022 14:41:07 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:40:43 +0000 Received: from localhost ([127.0.0.1]:53804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4R8-0008St-MV for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:42 -0500 Received: from mout.gmx.net ([212.227.17.22]:38647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4QX-0008Nl-3M for 49946@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645195199; bh=OTNKndmXVb6PWPWF70EDSZ5UIlgaSBkaeU8l0/Y/Pe4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=G4G7heUHJJO1LiVx37xVPSX+7+hpIjWRe9um/lyZl/eAqz+JW6qzfS/jcGD5rOCfu NK9iuIviiNLSJurMr6xTqJEBl3Xvk7nWt7P5c0gZYNq6jG6Mdm+/CcAq90sQ6hOWK+ y9iVsXUwp2sn/l/klKxxeHjPIA9wPJppXD4rK6ps= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MG9g4-1nUwJ107LA-00GYsz; Fri, 18 Feb 2022 15:39:59 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:34 +0000 Message-Id: <20220218143948.28989-17-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220218143948.28989-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220218143948.28989-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:mYK+G109TkdlsjZUP5/wDxEaUdtVlO9XDFVfmM+20zPXCSO14rJ ZM+YjOgeF7++lo4nEdrUQQI1jMtOJG+Jk2aATKkHYbtwLz+iaQcv4xeycuXmPX8TqN/utpw 6qcD5Wj+cG3GqJ1P4MipPVtJa/dqaThUX7cBXW4yoQcDw8DmlQOuJUmREpQmpP8QgeLIV7J xqnE/vmpzoVXkw8UDuU+Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:Jvze+3P2SUo=:qcrMcWNZxxQW1M8hAbtXuL /HjRO6E6ANClXm9fWk+IOB8vfdMMrGYb3AQScNhihub2uoW2ThUuQSmDjXgpWSS5embo2g8fr X58ki04TsnAKyAin3VQd+EMB2QDqXyUHOQZzOQbNAFQNkv9I2Gcy2B3nr+tyOBVQIohLid1q5 VzBUKGHVgf4CVOIosekBU9fmINYtZA4MePlegjfNa9OiD40ZINn/egqtV3QC9ICyU4cFeKxil 5ZbOVjxL4FfWbn+YTY+RAcL87IVRm4rfvaSdw+lSceCHPB4VGnMjC9YBV+Wy3/6KbrdRIxxZz 7Ys3vdoIb1QfS8x5QRRii9eJDmHAUUr3bIgt/5DhzCAw59Z4oj3X1KYYSqqLz3w3uhac1iRbr 9Z6L06ID1j54NyirzQBaHUuHGtP/Wv9dpxdRZzapK1PhEnW9loKkErok9Pdnf1FNQzJA21iC1 xtjFFbkzECThiTD0t7cfRRZooKTQH4avX+czy5xOZh4WBmjkUnS2FCJJrRMM21Wxjom0jzfeN G6y7nT/h3FMUkdrzrqK1PQk10plIf4/pPZNL60rFK+TzudTbvVEShWrXeWS/XdyWq3sPpcNb4 N6ysgOVhzG1axvRBAg5k8CydnXET3wfuhCoxI+BeYVL70bB+vXEm+gUOr4d2g+sMoaFACI7gd nXsVKaZ/5LQGsq8HKlp0Ac8CJlMa2Dqxxw/kIw14m36Bve0Sf7Pt4Mi7uaTitxMAh4denlMV+ xVmhgAB07mcsF/Vn4usTxE2xNGIQHY7WdxwQzOblBnKFxznPj9yqn7bqgWWFp7pTMO47KyEvA BZ7u1N18WavA4NoRXG2nYeKKhZvLy8K4rcag1cyPZKaksbMd0s12/fAs2XtMNC39AxZUo+3zZ dGHoHIuCRkuQVznkb9AjKi9BHvR+/IUFoMlAYLag8XbPT1mDDEMgFT9O6TWHHxGatElLQwNjF W42ibWcBXb4Gwr9qmdKlw+k+UZo97cneqcAIiBGIdNcmNIGVJKSZacAENIOQ81Ck5/MCPdl42 XnKfv1j6IIM9+6DMeTSJlgIywiLdbhsdsdb76o5Il8+oP2GotyM4GvnQMtYGsYGeG1ugSr1pD UznuViuiuVb5V8= 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=1645195406; 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=lxgz6/PlwUh858RBHST3F4FqKYltc3/2pByJ4qoUE0Y=; b=n5TUQTdA4tkkrcN189hBX7JUv2Ybzu/APj++LNfXCfN/KHLiOpOWzkKwRajAEj0WaZ0iNV iSPwsXw05jTtj3mwm5rPCCT4cm9Z1m9oCJ0Qt1bDXUHrUTL32DglWREOpUHgnBKO6r8tJI P9THwP5jjwMlG+azZKTC/KOi2C2lfPfMn/JAMGRdqjlTKGAHa+njhLN07EsQ8UW10TtxqQ XmXJNnGLn7BhaxYbzXcGOyllImQgsLjb0HONCt35vwCu1dw7K3LJBKRORyqh7x9kIXkrv+ p9/m5yY6Y/6vsfV5q+Pdq5vRHvvtqbwgAwBYQezZF7wgYglIN1ETJbif2sQ0nw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195406; a=rsa-sha256; cv=none; b=F97LS78Z5Z7gTm6nJtctxBv9fAPF6MfWEsjRWVbSjliDfypUpsIxLy3AkXadJFa1ILA9wH 9f+o9YtEYHBhl6jA5JXOjWXEv2SXD6wHQ99qg43ZIkJ9NmsyvhfzBAZDSkhUH6jpH+wrrD H2Jov9/NIxtJ3IJLCX2IdFPvX/RXJEtm/fhYcAg8vIHyfBXPmadMot4PrW8Fi2n5DR9CLY lG0nMA+U2izlLW0ryycwhzA/ooqkzsKkQYufELvVTcLJxApYF8RSKgFj/E59xSyWYQzw+V ZpA/NdFR4Qp1kR/L/x3GDOUIKCEjWfdfQihWXZoV6jm2e7rY1309xYYFisWrCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=G4G7heUH; 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=G4G7heUH; 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: D85E5257D3 X-Spam-Score: -0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZabKG413bgi/ * gnu/packages/tree-sitter.scm (tree-sitter-json): New variable. =2D-- gnu/packages/tree-sitter.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 976e4cf9ae..ea5a5a5156 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -494,3 +494,24 @@ (define-public tree-sitter-javascript "This package provides Javascript and JSX grammars for the Tree-sit= ter library.") (license license:expat))) + +(define-public tree-sitter-json + (package (inherit tree-sitter-c) + (name "tree-sitter-json") + (version "0.19.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-json= ") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06pjh31bv9ja9hlnykk257a6zh8bsxg2fqa54al7qk1r4n9ksnff")) + (modules '((guix build utils))) + (snippet tree-sitter-delete-generated-files))) + (home-page "https://github.com/tree-sitter/tree-sitter-json") + (synopsis "Tree-sitter JSON grammar") + (description + "This package provides a JSON grammar for the Tree-sitter library."= ) + (license license:expat))) =2D- 2.34.0