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 ms0.migadu.com with LMTPS id EIiSICdiQ2J0nwAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 21:46:47 +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 eLtoHSdiQ2J2gQAAauVa8A (envelope-from ) for ; Tue, 29 Mar 2022 21:46:47 +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 37A3718D68 for ; Tue, 29 Mar 2022 21:46:47 +0200 (CEST) Received: from localhost ([::1]:39742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZHnh-0007Os-SZ for larch@yhetil.org; Tue, 29 Mar 2022 15:46:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZHlB-0003el-Ie for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZHlB-0001DW-62 for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZHlB-0004zb-3s for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v5 18/27] gnu: Add tree-sitter-php. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Mar 2022 19:44:09 +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.164858303719005 (code B ref 49946); Tue, 29 Mar 2022 19:44:09 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Mar 2022 19:43:57 +0000 Received: from localhost ([127.0.0.1]:33616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHky-0004wM-Vx for submit@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:57 -0400 Received: from mout.gmx.net ([212.227.17.21]:42673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHkr-0004sL-C2 for 49946@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648583023; bh=Q2QbvAIsJT3dGPkjrmYJeT0DPYl3vzMMpS4QdQmaEZ0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=KPvoauYazOAcswkNzZD6AqHW+PrKCeARCMNwl6/4+uebaFBtq60mYG8oPbyNNb2Oy 5VWL7/tQvrrw3i1RcgjFSjyEMUBF2A6KHBUMh6RdwNSYAODoMIx+eZQAiZ4WZLqQrB oWpAFgbH+vN3nZ9wiK6qdQOSeNnIPViQZIpFjjmI= 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 1Mkpap-1oJsIa2Htf-00mM95; Tue, 29 Mar 2022 21:43:43 +0200 From: Pierre Langlois Date: Tue, 29 Mar 2022 20:43:09 +0100 Message-Id: <20220329194318.6106-19-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220329194318.6106-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220329194318.6106-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Vm5S+H7Gg1naM/E1GTxK86v64P7FwUH817NDVwbYEIPdB12wOWS 72+4lowbTsXp58UkK/Fa5en8hqO5aYYo5Smye4veIY6O8uGZ8412EPRpoHfiw0JPnHJePRm SPyxJCtHa6RaUhYdRdhhDPjZO56jxABR8poSqXHm0fCo6Qv7y0DXvsKQSIhDS5wARcLAaFZ GY+MEdfSeBkzm6sZ+jRhA== X-UI-Out-Filterresults: notjunk:1;V03:K0:VPRiXS3j39o=:NPcJa3oeR54p4SSZLbQX3x ArVRx4YN750Q0YesaltEMn8ihXI2isZK2/NDHRLxMPi7kynsQSL1/sP38vTJSAi1GR9U5FJ78 aRWRuYCr3LKUAfMcq0uMU6xrmC+pw7PYcGTrNI7ybZON8/X2oJYg0kVe5PM0sPeujibtrxgdO sOt98xAkJn7vxV2U/1bQK0AY1DvU5LRQaN33S5uIS+WKmFdwkxwekUMB8ZqIslTdmQ1K7KPCR tjB/KrEE+cryrhB6cqeTUYasDKKJu59CQMNgzRD9l7x0weVVpoyrTgHxvOrOhoEIl8dKz4ioV Blx8xIdh+i7RnFw2hWzcqSkwwYx06adipC3ATpMf5x2zvUuEXa0JE+xJhv7vmXdAMb+WQ3pnX 3TKyNt/QSRxVUBGq+Kia+mQz7FAz5xpneVrRyJshZubZ3nYtYbD6sMaLRSPCyub01knjuBqqM niIEM3DIkQYLcPgKvG649PHn6+XFMoTUcKTy8H1lVObQL9m/x3xGzNJgXkqSHNQizjNFPybdc atDkI5rSIHtPkUjtpbnoZYCpXKz+Ycw2921EHzzx3QNBuOuTOQlpHe8RazYO/Gx2DkE0Y9XaM IjeLhyBJhi9y8gkaPumEKmMnmj3kTagG0u7lfZp75XzOtQCAjs4B99w0FOu2C3GvczUHFIARe GayZ1fDyoT2sojmz47wP69fGtIGIDq9/OktkH1tn4ASxLrXr0iERTLTi1rVBl/SssRnhIVWo5 zKPQhqfZLpkn6bg/PyjM6YSij6KXXAfP+oNGfHOINU3yWZM524LmqP6rqowgA+AFt6rucjCy0 7347/0qFPNGWv/uDF3I4BwwuK/9F/cRQA2BB4X5H1dxjVKwR3LcajlzoW3RVAByEISc1uUQEo imoO5KrgQYdiSL9uo/nDBTqWd/ZgF1PPeZ5i/bczjRMGTwy+wrQKlB3dPpPiboh93EmcPGk++ kx/RfCuMfo+2aKX2wgmZEAdRV04axYb2gObtOeojn93F/DCR5wAlwMlkTY7R6DXLhjT7/qNOP 15UV7tbk0lDP3ZqQCT4EogawrN7NcLsA3rpc3jsQLY9dSRV2pHUUl1vq9bqXoOSnltaeZyj3m RZ9on7cCSct4W0= 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=1648583207; 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=FUh0qpbIF6+i6LqMyflh0KsGMhkxdPlqBSILUW/erJs=; b=j2gOWHE+NPIHN9DA09Ww47yV4R/Q/tL45/GheA4G4JS1sHoQ2nA8CZ8gwS0cH6JgnqrD36 TN57EYfw5/am0q9tsoqaxLnMuLtkWg0mFGrNfRpB68fRBTjBeq9uOcC740JKjaMcw6D7pW ykBiAYgTd7bHGxyvFXUz0SlAeFoXbeETDUJCqRFBRHe3Y9Zkj+Q2SrmX9krJbqcQa31xl1 mKW3ry/+8lXPX62QHWIlYi8OLsY//yz+RycsgGQU1N/1bl/T1EDqf4dKm3qgGxwIfgK92U KDO/JZADXv/c9SFxBZbCpMKyIcrQVNlPVYcMVWuyC6ZgvTrwozRmmwHvsmx0dA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648583207; a=rsa-sha256; cv=none; b=uqKkpMbqo3n8chpRQ7LkPokZ2ZJIIRMmHb00YxfayH0vcvvJMcmdJPIzpgekF440rR6zfA EumlZMj1GSsSSIPIDQkDvFavy8q0XdnS474E9y7CTOEv/ZEcuDD+7+GXO/DN8SgJDuRyg+ v9ZQjGQCp3iZ8ymQ8fOw256TN/yRrup1rUoEPUS1t/+PlANrZKDlUOM1WicCv4q5H3+0R5 HeY6SsZzNAEQIIiYLJBd2czwS84AVBvEaiKQiLKxJbj38ym1tYYbc3xkA8i4U56G27zv9e YjN7XU2aXiMQzxKjzKUWo++uJmNN5QpBHtgdb/qJqHLdyG0Zbw3/2KUr8F90nQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=KPvoauYa; 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.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=KPvoauYa; 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: 37A3718D68 X-Spam-Score: 7.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8kUMwiTpEZMS * 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.34.0