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 ms5.migadu.com with LMTPS id oKMLAVcagGOkfAAAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 02:28:55 +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 uIcVAFcagGPOTQAAG6o9tA (envelope-from ) for ; Fri, 25 Nov 2022 02:28:55 +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 C405F1319D for ; Fri, 25 Nov 2022 02:28:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyNVi-0001gz-4Q; Thu, 24 Nov 2022 20:28:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyNVc-0001eg-IK for guix-patches@gnu.org; Thu, 24 Nov 2022 20:28:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyNVb-0000wT-2R for guix-patches@gnu.org; Thu, 24 Nov 2022 20:28:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyNVa-0000cp-Ut for guix-patches@gnu.org; Thu, 24 Nov 2022 20:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v7 22/32] gnu: Add tree-sitter-php. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Nov 2022 01:28:02 +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.16693396492306 (code B ref 49946); Fri, 25 Nov 2022 01:28:02 +0000 Received: (at 49946) by debbugs.gnu.org; 25 Nov 2022 01:27:29 +0000 Received: from localhost ([127.0.0.1]:60919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNV2-0000b3-Su for submit@debbugs.gnu.org; Thu, 24 Nov 2022 20:27:29 -0500 Received: from mout.gmx.net ([212.227.17.21]:55859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNV0-0000aF-UY for 49946@debbugs.gnu.org; Thu, 24 Nov 2022 20:27:27 -0500 Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MtfJX-1ol6gt2V9r-00v8g5; Fri, 25 Nov 2022 02:22:20 +0100 From: Pierre Langlois Date: Fri, 25 Nov 2022 01:21:32 +0000 Message-Id: <20221125012142.22579-23-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221125012142.22579-1-pierre.langlois@gmx.com> References: <87mtfi63ut.fsf@gmx.com> <20221125012142.22579-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:/0NBaw696KZx9vR1noXhIAccJ+jzyj6MfQwtlM4S0Rgycp4thPL nzhsjgoxBGZZucQmKqj2iEohlniiuE3EEfzh1EOnUs6SvITFIi65V5+HefOUWrcJwgHrzwh GpLck8F32ht9/7d7q+cr39iPGaa2/hWcXUU/F2px8fTFQeMG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ij4M 55UF1Cke2Kxp9TD7ICU5n2VVvdpcmEmsonQlm0XY15L9joTgym9ozlQxKpvUJTSOo+MU/Qf/r bBXO7HTygtb2G0hEK/wEb7Pvt4mx6M/wBast1/o 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-bounces+larch=yhetil.org@gnu.org 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=1669339734; 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; bh=A0edE7qWDxfX3uHPlFtKZGh/U35AmbR5fFgnrHamWhc=; b=nXrP0JyY8mJ0w3dgB1onOlKL8eznKuB42UlusJz6axYN+Io4HbAhd4z0PigLfWieaaucah EwKt2htHaJzvfz8tVCduqunOU2Ld6rOlnCFiNO4fB9yGaP8nmnu2+69cgqQrdaKX+BsDHr 1WwnO3A9Y64BIIpEnuMXZmBzD5TZ4P/BoTjeaa4CHZ3u2ijR1AW3fUzqVJlLloR2nAFx5C +Z5pCjWrQt9ADlG3aJNIW/zAXBx0FD1EKBkyQr9Qe0QgNbX3Y5u2crHBgG4RZvmycABHX+ kiNy7r9G9y55TUYrrRBaZmEWHFqwzZeIxPNXyiFPlXc8jDoXhD8G/uWQArjSXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669339734; a=rsa-sha256; cv=none; b=CF15IGWhW0PpvQcPp719iN8hLhpeXBqByGJoj4Oj632HURV7u0zyiDMOJsO4JMAtVQxBOQ wx/2eKI/mHhckLb3djE9Dne3uGuh7JjMhki+7vu2GfMF24aL/PQRkNppIBOFPIDxMFaI2t CNRAU3oPaPJYnXe0QZFc0ygrDib11bj2HTNA7TBTunCFJADV9QxEgOlkYVRgKZqz7rN4qO I+IgCDlomu0GQQwBDCXFETlv1FgwCn9yYWxPhPRvxcGsV+bwbGF40b5ixuSNvThp/I9T+P i0lswUztPNLZLLhIHx6qFbJwPmN1Lw7s6bzh2tfNWU00XuzC8qkQC0nf17vxjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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: 3.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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: C405F1319D X-Spam-Score: 3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0g9VS3JYMkwG * gnu/packages/tree-sitter.scm (tree-sitter-php): New variable. --- 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 244eb2e8ec..0a1bd4739a 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -526,3 +526,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-php") + (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)))) -- 2.38.1