From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wIddGc1PMWVWTAEAauVa8A:P1 (envelope-from ) for ; Thu, 19 Oct 2023 17:48:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wIddGc1PMWVWTAEAauVa8A (envelope-from ) for ; Thu, 19 Oct 2023 17:48:29 +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 351AE47646 for ; Thu, 19 Oct 2023 17:48:29 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=NUxxK1+K; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697730509; a=rsa-sha256; cv=none; b=Bx2oJtXzxgcvaQRkv4IRmyb7ZhP+53mHQ+t0x3O/Lu9LtDzyxSCnzEpgjy2nLWM6o2inaG Jxt0zIvNbv8G+GvmM3aoeQZD0gJtxloNVhywcsJyAgOS4UdTiPzDB/cG/6U8BeZr4J1KTW XGTeYiz2h2fXcFjzHbyNijme7tYNqfqwCkY+SudzKSA5RLjZFdK0ppRzLtM3Gmr2MC0sJS ktsMtHl8rYL8NlDuS/CKRxtjZYKVSJPUxpF3oBwSx4LrrAcDLSIqfjIliVGyeQP5emOQs3 7VaAtYfpCdHi7o4u+lKA2jSYseeCIxxvaHgVV60+ST/fWJiQugNEoZ6kYzUQcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=NUxxK1+K; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697730509; h=from:from:sender:sender:reply-to: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=6sDGApAT7leLmgWRO0MDObQhGkxy2xg9LjzD885naec=; b=dUNxI5sHrFv6PHPx5yE+LFzC672uw8O6FzX2rB9bMsktjwk77foURfCTGWu1xHAIX/9glL VYhSbnXDXquEWa5SMoXKn2yXZWF+5INQKLNNxtpEe3FuQTUHRbV8KavA3VTSBhj7Gf9L4h FWo9kYIqdZ/pkXS0RozUblV5/t8eiELmSumwSplfBIo5eP2UK21KuMbFPdoT2nRoH5qi64 HEZj0LP01pWPjXeJMA30wk4ZM+ZXYpwIzrD8cvfuHaucUPR0Bui5fQ48uBla4Q6PtFO7Ta J82Oby6Wn0q6DEQY/zHUwoVVJbDb9aWSEj3dyAIfgzfOMfRzvqwqvezEXYr/aA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtVFL-00088R-CL; Thu, 19 Oct 2023 11:47:39 -0400 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 1qtVFJ-00086W-NG for guix-patches@gnu.org; Thu, 19 Oct 2023 11:47:37 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtVFJ-0007it-Eh for guix-patches@gnu.org; Thu, 19 Oct 2023 11:47:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtVFj-00064e-Ac; Thu, 19 Oct 2023 11:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64905] [PATCH v5 04/10] gnu: tree-sitter-javascript: Update to 0.20.0-22.f772967. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: hako@ultrarare.space, mail@cbaines.net, andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 19 Oct 2023 15:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64905 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64905@debbugs.gnu.org Cc: Hilton Chain , Hilton Chain , Christopher Baines , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Hilton Chain , Christopher Baines , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 64905-submit@debbugs.gnu.org id=B64905.169773043423169 (code B ref 64905); Thu, 19 Oct 2023 15:48:03 +0000 Received: (at 64905) by debbugs.gnu.org; 19 Oct 2023 15:47:14 +0000 Received: from localhost ([127.0.0.1]:37569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtVEv-00061d-Uq for submit@debbugs.gnu.org; Thu, 19 Oct 2023 11:47:14 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:59522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtVEu-00061V-An for 64905@debbugs.gnu.org; Thu, 19 Oct 2023 11:47:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1697730259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6sDGApAT7leLmgWRO0MDObQhGkxy2xg9LjzD885naec=; b=NUxxK1+KZarDuMqPa/SRfEBdv2M3EYE/Vqsdeph802c+YVVugsUW8DrtDG/WbQ5q730XXu 9wrPXMdMYZlp9ryAOxV9rre4N0z8N20lBqVtj5eh59v9uEMyB+8LOKNq+1w+yq4s1CzpC+ u1P65Py11hWNX4La7qhWsUujOUsvEsDKI2ipijPCdNQUeiobUAWH/K1XXmEldHTm3J6krx RpJfC7qFPRocI6hC9qmzYTq9RhbvIxKsLdGoaedgtUdPpCXlbLdJCQ8yInC/WI2o46m1c8 QlUa0axwuTqlCj/X18iIuyl4mHDt80AImMll9Y8MaNp1DVDwl+dCPtUpPQXXMg== Date: Thu, 19 Oct 2023 23:44:30 +0800 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.66 X-Spam-Score: -4.66 X-Migadu-Queue-Id: 351AE47646 X-TUID: vX1KIZE6N1sc * gnu/packages/tree-sitter.scm (tree-sitter-javascript): Update to 0.20.0-22.f772967. [#:get-cleanup-snippet]: Remove tree-sitter-javascript.wasm binary. --- gnu/packages/tree-sitter.scm | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index dcb3d5506e..51afe91631 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -317,11 +317,29 @@ (define-public tree-sitter-html "0.19.0")) (define-public tree-sitter-javascript + ;; Commit required by tree-sitter-typescript 0.20.3. + (let ((commit "f772967f7b7bc7c28f845be2420a38472b16a8ee") + (revision "22")) (tree-sitter-grammar "javascript" "JavaScript(JSX)" - "175yrk382n2di0c2xn4gpv8y4n83x1lg4hqn04vabf0yqynlkq67" - "0.20.0" - #:commit "rust-0.20.0")) + "0vp7z57scpbcvyxpya06lnpz9f5kjdb66wjlkrp684xwjjgq1wxd" + (git-version "0.20.0" revision commit) + #:commit commit + #:get-cleanup-snippet + (lambda (grammar-directories) + #~(begin + (use-modules (guix build utils)) + (delete-file "tree-sitter-javascript.wasm") + (delete-file "binding.gyp") + (delete-file-recursively "bindings") + (for-each + (lambda (lang) + (with-directory-excursion lang + (delete-file "src/grammar.json") + (delete-file "src/node-types.json") + (delete-file "src/parser.c") + (delete-file-recursively "src/tree_sitter"))) + '#$grammar-directories)))))) (define-public tree-sitter-typescript (tree-sitter-grammar -- 2.41.0