From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ONxcOQFJgWLzQQEAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 20:40:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mJI8OQFJgWJtXQAAauVa8A (envelope-from ) for ; Sun, 15 May 2022 20:40:01 +0200 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 9E6A6284A6 for ; Sun, 15 May 2022 20:40:01 +0200 (CEST) Received: from localhost ([::1]:44804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqJ9s-0003sI-OD for larch@yhetil.org; Sun, 15 May 2022 14:40:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqJ95-0001jO-F9 for guix-patches@gnu.org; Sun, 15 May 2022 14:39:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqJ95-000098-41 for guix-patches@gnu.org; Sun, 15 May 2022 14:39:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqJ95-0006eo-2Q for guix-patches@gnu.org; Sun, 15 May 2022 14:39:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v6 18/27] gnu: Add tree-sitter-php. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 May 2022 18:39:11 +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.165263994625488 (code B ref 49946); Sun, 15 May 2022 18:39:11 +0000 Received: (at 49946) by debbugs.gnu.org; 15 May 2022 18:39:06 +0000 Received: from localhost ([127.0.0.1]:50694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqJ8z-0006cq-M1 for submit@debbugs.gnu.org; Sun, 15 May 2022 14:39:06 -0400 Received: from mout.gmx.net ([212.227.17.20]:45129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqJ8h-0006Xi-AJ for 49946@debbugs.gnu.org; Sun, 15 May 2022 14:38:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1652639921; bh=gFdEHrCOPd3ePMY4gGZSl3Kbu/n8CTI4SP7/QSYJnQ8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=LXaCs5UyXzQcT2syXIAcJBycI9pk50R29EkFpFa7qhF0+bomkurtquKpqFIMQk8UM vQ/L0rci5GcMr+rypaW1tzVV+wKZQZTx/dvzx05kKTB8NxPlGG1NX1RQx48R2RwDJo gbtHlskNui78Vgyl7drWKj/Df9ujrExf5Hz5n35U= 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 1M9Wyy-1nvpRd27fQ-005bN2; Sun, 15 May 2022 20:38:41 +0200 From: Pierre Langlois Date: Sun, 15 May 2022 19:38:25 +0100 Message-Id: <20220515183834.18771-18-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220515183834.18771-1-pierre.langlois@gmx.com> References: <87mtfi63ut.fsf@gmx.com> <20220515183834.18771-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:rlpLj+2/eiel7TxTFGdwIxE88ogqt9pr2bzKEg8ZlQGot03sKcX RT1bfwVqLj79iqsTxVHtc/Qp5QytF1h3wTGAxDF/GRPunK/Iec6sdPTdf842ewdLmsiK1Br D9Goirl5iZIwy03W1Km0CmxY2vGG+pXiLTV/wAh4l1D//yapwMDXs+geBw9ur3jxxuOD7YG djUoH5Vlyh3pQv1j+Vz6w== X-UI-Out-Filterresults: notjunk:1;V03:K0:VuGDFx5JMLU=:bPCDTjtk//hVMsaBYR67PI uvmHaTTwCtCSfDiittrH8LSPHudV4uyIX8QTO8Hi1w0P2lRhA/ywTTkaOnHf2YOrdwLhKoYDF ajgjmpNUL2xgPjSrgnxgev2gRvlS6cZeLoEW/At1zEJiteMOUVi9cAZ9BmOqwwvDBh7Id3H8y n1EFebAfrpEFO2WsNLgSq3yaT/UhpjEyD29E9ge/vaWjPRXPLOPLQaddKIUZPeeGvIOd5jnXf xyp+PJnvCdD1WstWL9YBKO/jICDXIMewxZbiw7CRc8RftghloDNp0atEeEhddVkjMNLxeNR1n z4HvB/+KPK/9oBP7IRYMVv/YndbaVuiAVfk8xfwwh+eWZ8BwRfLTgT849ziqUvWCcFY2L8Lz0 fCPab3PYFD97W4aQC4TIpE2o9VzwZuHb5Uh8Ns2YebI5R/fDJwTt+SscFV3Py1qJkMqHZXnWG /muy/BCMEkti3yZ1eKWtdKrbf9Ga6YYx6G5rK61iODzsdCqGeZub2Fh9C16KpFwbnYv/XWV2K u8yQvTppL4l+4zNUAk6Bfcrex4NbRjELqpKkhuEk9qdXDR5t017iCTdD7lL/aHbBHBWb4boKT M+tT0EdXl1JerY8HgXjIJJQWGHJV0Kq+BvQpAUyMqJhhGQ92IQvcWnKYRrto9e2jBJe7Xwk3z 1gZ1qDTeDi81hOJ8G/HMTSyCBfAw5G/1nD0iJbWendnep/R+dlmKh63QSvKE0MDl2edEPpxnj xD+ecG0+MEnX8+FDkm2zr5zGf3rcZq0X5+huRrlK9zQUCO9bNR8/6nI/njEz+/7mZjRVhr/C9 gaPWXmI3y/mYg+abb6fM0wczLo85PSr5fbLBdDrdiIABbjgdetOls7Q2PbMsyMBSkMtz91OQx yT4zYwJZdC57mGbgWvWi99coowWX4tGvTWx12wIZRuU0+glWpP4vzi62/xrt84Wt5mrm+uxYY h+beDtPo24Qqiv0W8YIuCfKnF7qpI+bXGhRC7WktqR6UUP90sKq9Z7/C3CP1TSewr+1fRy9my J+Kh2ya9CKQFR6gQrLNqoDo9RZz9G7BSpbL6n6YPd2RG5CdpTvmyuxE01L8GDJLKp3s3pUgae VpSOxI/JeUyHN8= 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652640001; 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=pYMJAg9ixKc34G29VPHliKM+zpn73fN7nuMPDLcGaFo=; b=g0vTw/LtTpc4b+GkRXnVLMvtRjo8M2S6AURl/e6nT0Jij9Tao8QQ0OQc72Dz+zRxLwD/AW w+rztSiKMfQ1iLX+os8f+LZNCkBmnDkSvt7LKuqSTOX6/I0YDUawEbe+X0i6p4HvPs+Y+I ZJAfnBQtOgDLNDndrEWX+kOMfuuvO7aTJZJfGvIt5xc3f1YwWQOyu+gHllTDCtXgmHnYRF aSfzAL/v5I2POzdwGtsnQZ//5f0rSjKKp+jnlz/eDUTwlDy8jQa3llMsdG1JCjWeCRUC8e SoI9BGk5F5lKoGEsk2mAdh2oAjJoJuj4KY27NWTcHEvXXLsM0LG7ffvDMCw4Aw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652640001; a=rsa-sha256; cv=none; b=SxnfPocyKJ+2JI2w+X5YmKdZYj+P40de4P9AUxzI+Y1OPngfgMMP5u7GGg4UhkTMtAhq52 cYpM012sD20tMsu4/RbNHFhWrVC8CbuOgjm2Thh8070L7csU1iVmNd0AkXDsk/1Kj5pL3m 56vcxEJmu8iLQgZXkUk6F8g7yEgtPL/A1u4HPEnOAObHuHXIiAmwLC1JWJ2LgENOTjjFgz SfbYE+pS6qbzGR4t9MFbv8LVAt08VR6qXHO6/RtmONxCyAuKvjxPdQ18EevtNUjoUKJl/c 3ezVIMWGvoSJNjEDjL7oy06ZefRqk0vwTAKC4czgXnXAgF40CsKthMFhJinVrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=LXaCs5Uy; 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: 7.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=LXaCs5Uy; 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: 9E6A6284A6 X-Spam-Score: 7.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: Bf88NhWah91f * gnu/packages/tree-sitter.scm (tree-sitter-php): New variable. =2D-- gnu/packages/tree-sitter.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index ff98044cc1..654445f71d 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -497,3 +497,33 @@ (define-public tree-sitter-ocaml (description "This package provides a OCaml grammar for the Tree-sitter library= .") (license license:expat)))) + +(define-public tree-sitter-php + (let ((commit "435fa00006c0d1515c37fbb4dd6a9de284af75ab") + (revision "1")) + (package + (name "tree-sitter-php") + (version (git-version "0.19.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-ph= p") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05k4h58gi616gv41r0qqdb1x4rs8y94vghn2r10yczisgzq4vbad")= ) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file "src/grammar.json") + (delete-file "src/node-types.json") + (delete-file "src/parser.c") + (delete-file-recursively "src/tree_sitter") + #t)))) + (build-system tree-sitter-build-system) + (home-page "https://github.com/tree-sitter/tree-sitter-php") + (synopsis "Tree-sitter PHP grammar") + (description + "This package provides a PHP grammar for the Tree-sitter library.") + (license license:expat)))) =2D- 2.36.0