From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iNX8HZGYBWJvVgEAgWs5BA (envelope-from ) for ; Thu, 10 Feb 2022 23:58:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kBPXFpGYBWLyxgAAG6o9tA (envelope-from ) for ; Thu, 10 Feb 2022 23:58:25 +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 1E4EA33E21 for ; Thu, 10 Feb 2022 23:58:25 +0100 (CET) Received: from localhost ([::1]:44260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIIOO-0003X7-8R for larch@yhetil.org; Thu, 10 Feb 2022 17:58:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIIME-0007mj-9H for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIIMC-0006KT-K0 for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIIMC-0000ym-JU for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [WIP PATCH v3 16/26] gnu: Add tree-sitter-php. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 22:56:08 +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.16445337663712 (code B ref 49946); Thu, 10 Feb 2022 22:56:08 +0000 Received: (at 49946) by debbugs.gnu.org; 10 Feb 2022 22:56:06 +0000 Received: from localhost ([127.0.0.1]:57550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIIMA-0000xg-1F for submit@debbugs.gnu.org; Thu, 10 Feb 2022 17:56:06 -0500 Received: from mout.gmx.net ([212.227.17.20]:48119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILl-0000sB-FQ for 49946@debbugs.gnu.org; Thu, 10 Feb 2022 17:55:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644533735; bh=Hhy3g256jZi53Ro0BkwJFm9eejZRrT1bHcC3+V+fuRQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=a7XJmy7KP8zlQuwIHqmtNCP9e390tIl+2qOUD9WekLBuLt1sHKiZrIkFfDzR6/bYv aVV5gWsAvrJQPYCkCHVSmUQQz0yNSNXv3VJOUcJmVe4yDoWhCgqbl5pOrWa1YhXEpN TQid9aSKgjPKXXAr380i5KgUS2ii8OdURCyd783s= 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 1Ml6qC-1o1ICZ2BVE-00lUKJ; Thu, 10 Feb 2022 23:55:35 +0100 From: Pierre Langlois Date: Thu, 10 Feb 2022 22:55:17 +0000 Message-Id: <20220210225527.25189-16-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:Y3jxTKtqOxlcZ3rwjk/4vzfSdIty66pxbPm6pH+bpYdyBF5aUx6 ZNDend2z5mznmGwRSPfieq0j2IqyM+jygU84VcXKizj+4bLTdAEGEXx5Ha5HOnlwuG+Syya tnIvx1bIIzQy0NL9v1b76ZeE2yuajrlWD0B7ttjaPYp1Kte+PcNwMwFahwjKtDNPiwyRTkE beDpvVI253Zf27YqZVzfw== X-UI-Out-Filterresults: notjunk:1;V03:K0:XM41TOozwXQ=:vjFzv6sA4RjJM/En9TrNJF nHST6XndOMRuJEZFKnnntj+alOldt3uOzucUCwuTkqdtTN/KTomMxjqhWe4Dpt4kxjMRZS+ks 5d5RK86vht3y6VIzMv/bz53Opc/Fu3cVyRDXqp6NeBb3muaS5e/jXXRHqjdL2lMS4/CQgrp2K DYpY0evi9Fr9h0tmm+tw4cnuoxWArG8BUK8ae/SfIti+D7vD2cbZBqP/KTTEZtQVSv5PpEvit av2OMZuP34Dlx53IKdQGN/l6vpNx5qjXWgYiRd63FLPcVeVjy0Vnn89T7u2nQFAtBzR6+VAad R4aI68oouEprm2lgYpg+CHbblqsSVMWKb/dJExoiXdy9MROwkoi5M/3ymNCxT4Z77kpw2SbP0 bz6Q/vRJXi1oEqYp0R+dTQ8pKBvemMUxOJwy+fXC67jlzwXLU1CxrATHqyZeaKgqWI1vpKdf3 UuqxWi4NM4AHlgtvzWjuntHXcVlDZ5DzHYy/qL99pE+fLMHh0a+3BT4X32FuZP95n7ltZ6ieZ 5xH287Y0hwRkEpyvzsCdtLkk4FzJm1GbHyW3JrAJTO5L7R+IPJZxaoSGJydbjLfRIWclWpnoa BSsIDveewvCdsNtl1kNJPCGIwDGdYsZ6ObXXJt0EQqFkMkuzGfJiXgLOU0bR6wAEcinVEvvbf kResWtfdBL5SNgE1GckLzp2h9oUdWd6qJxNOUUoC/5y0GmpgBt5McRth4I5crj/mUnC1VzDwV U+gY9TokUnfR2bsVorajthE1rgMYSDiYDrRGcEmpKGuJSlwxwzr+2J8KP77kHaZ3ycMbkOBC9 kQxsGnzeosyptqjZPug/Vxy4M93+yOk+/MZF9g6i1Z0QSKSaeZ532K4jfaaYLUkfyR22FHGDU Q4kIxSrouV60Wo3E9Qj/9r9LgwHOwERk4KGq454XyoeTm5gT3i5ReqUn4A43s3a5gQbAj/gU7 HiuBDITjuOPvLWPB3V3j0plKEp039NH3914Iex/GEqlqfbHrCXSkfHuUXkgIfBySJV4IW4o// /hsQmjMVPBFyBE+FGCpHwvBh84kT5NI4nP75ztUKtEQd4W9oeDxl0hKNmnbQo7Q1UpLsOO0Z3 OCaKuRINY2H4Ec= 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=1644533905; 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=x7/An5hxbL/aDJnihb79Cked906Z7RYSb7CQGNZ6zxQ=; b=aDwkjrchNgQjt1yo9W3yzVqj/GdKdGuoNyw6Bm1TgqiOqg+zGl1JBPSHNpV5t7Leaq7rN3 FPljjP9DG8us0eIKnLGky8/3/kCi74Xd6IleOCdkn1DjTXlKar+rTk1uW1DLikmMMPclNP 5vkcLe64u5u+BUQ6ShQVkiQtluWhhrY9JPOplqZm7K8mSMSIqHpxh9MQXCYNbR6MdrBt8I qHtfZSDXVc4LhSdYSNYHrlSeNSA3+lDb71o4LsoC158LJyrd44O8u84mNBIWl8lOdrtsHe 5vjggLS/TXdz7maLcKDQKAClT5fq43BH1nvkLMyX/CbTQj6dQeO1cYRufJRWDQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644533905; a=rsa-sha256; cv=none; b=kUdnhnV83s2EDmRUIr4owtOruWU76od81UA271pf+LTq3tkp9VhYRFWfs7iwv4I4YHJSgT q6b20t/ejLfAK83lJKkkXjGtoc1yGpVvx+52tKsOy5EHLxrWDqPsyPLm/OMPHzwbeZeAXP p21QEs2O7wI8ykiMvzAgFdD/g1s3Ms1zs7xP74pK8zy55WugKO7ABKuVNAwfAi4Il6KyCE 2YQV/QjVlrArlQXl0I/r96W4Wg7N+ThhmYD9P+4DhATQQ3erFLQGLoa/SftU8LCkSGa89O SQBtoWf9rm3NwccshVhqvVSjUpTIU7Z0MX9V7OdN4ue/Kh3MEOftn7iqlz+FFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=a7XJmy7K; 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=a7XJmy7K; 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: 1E4EA33E21 X-Spam-Score: -0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: s2U4eXGrgYEF * gnu/packages/tree-sitter.scm (tree-sitter-php): 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 aeb541224a..072d2bf588 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -424,3 +424,26 @@ (define-public tree-sitter-julia (description "This package provides a Julia grammar for the Tree-sitter library.= ") (license license:expat))) + +(define-public tree-sitter-php + (package (inherit tree-sitter-c) + (name "tree-sitter-php") + (version "0.19.0") + (source (tree-sitter-origin + name + version + "17cmybgpprw7w9d2v7lmc6zmr90d70g0jqq279gzg0mpwfzla53s")) + (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-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