From patchwork Sun Aug 29 10:45:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32359 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 89C4027BBE3; Sun, 29 Aug 2021 11:49:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3DD7427BBE1 for ; Sun, 29 Aug 2021 11:49:17 +0100 (BST) Received: from localhost ([::1]:39208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKING-0006FG-5i for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:49:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILA-00066t-Ft for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILA-0001aM-1U for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIL9-0000Ev-SF for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 01/33] gnu: rust-chunked-transfer: Update to 1.4.0. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:03 +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.1630234000741 (code B ref 49946); Sun, 29 Aug 2021 10:47:03 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:46:40 +0000 Received: from localhost ([127.0.0.1]:55546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKl-0000BI-0x for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:40 -0400 Received: from mout.gmx.net ([212.227.17.22]:39977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKh-0000A5-7g for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233989; bh=vOb7MtUA+4BpsonuFHUfq+/6qbatkB54dEaxa+UGkcE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=iFukxZ6iCYUBQIWD42SufkDqCkOY+gISFJpW2lYORAVRRiCrdl1eV4w9AqVP4PHuI XQNkPnJsyP2XXPgXBPi8i1hd66eSHLsVyhHE5DsYVAQMRUTZa1qoa9F9v2FriCy6+l G6QtiMu9BO8pPLM0i054tae3OBU7tLHv6JtGZxGc= 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 1MAwXh-1m8zfh3rIH-00BL3H; Sun, 29 Aug 2021 12:46:29 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:36 +0100 Message-Id: <20210829104608.3103-1-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <87czpwzg9e.fsf@gmx.com> References: <87czpwzg9e.fsf@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:OOw6aXm4A6CkZ3ocoYbyNn0hv8E7LAeDSLSCopC5E+J+FEYr16N uQnu+IOgU52xCRwwqy8E0fS4GP8TW/xBNyrmpCi81Uv575ndyByeOyIshosGMsM+t8JLHMl 7s+ZVCLSF2cv2VfEiVocxxV7dCyu1RcBcqDmKAIFI43YqRHqL3ThJYz5rjjae9rg/BNVxMR p8aVb16raLuyZARZe7Umg== X-UI-Out-Filterresults: notjunk:1;V03:K0:7wtIdVJ5y7w=:j9j6Vv+vy0SEIHXgU+BGkg 0fc82qW2aJrSKOeN2dmzIbLVBVxZczbFYnNGRsvHZ513qf7ueiZjCz9GHaAjXj0wyqFJa0yR/ IlxI2DNB4bFNmsWfdQp5qJjor64VYPQIit+Q+pglqC1XJEXzI/yBjSZI8e/dNsZUlnJJpC6SW pbHhBFJ8vpB5f6V9MTfDubTLMPsUhazTafu5cXexKnbGMl/RD+EirHmSO/WH3N9th/p0QBVG9 HwWM8rBN5Sm+ROTYbNLS3BYlKELWXPFKkEzxxohHfp69KguAKEdVunltgfoFaTcQIo5t0xMJD SiVvHb/+GMqFyHzOQ5Q1dIiRdfiQ8jFDVfuIB1eNqJxBJFrucXRDJSW3HP/LtYOHScGJhwHx3 jXr6UBsvizotfhfqsw4Yw6KvJEl5JuO0A96YjmVXQgiCcJfcCDlgW0/bfJeASDT4yDZ9qxcPK ggtgvBxpcppaZSeOfv4npdOFY1VV1eCIU0h+hP0ecKfJodX2GRHfelKO3sTZHIbMaiz6IrJTV yQv6xYxUFlzp7lSSO5VAkEu5g3AH3ixg6yAsNhEDlOsQToxmcAkV9KCEodaFsL7CUw8RSD/7K isuGBDER2/D9fqJPUkD6vfdZfO29WQmFRwDVYFdZZA2IRRFafpnK2zV5jwyw+77MX0CTTqsc4 uwxzxv5k7DbL2f3GoOSTujTylm9g2u0OZPduQcV6eEul+fp2DEZ9GY+Yujh0veyfOa2OqbKqf D6yirR6EA99IfiHiAXmhoRBkv86gNFwkwjqroCJ1UtLauwkmQ0RCE5u3mO3Ya7fvwk4H15HuP ns2gWRmGypW3Je9aVE1PJ55CV/F1AxezFaFy5wWHEdSUzl+uR6HlOVmKW2XIRUiE7z5BFHhtM fs+vljpTDLr0f+k0Kjpk1/9+EHaEAGSaLWdI8rI83abLihu/Ce0FYCv+uppf5nmLKqIi2MRav jhJk+lFZEtN4H1eydWPiCkmpRjDIZeiZbZGionTKL5DDN+UQaeRO7AYIwiC6J9m3xlnMkMLP8 KCAolBSSnhMygqLUAupDCpuf49AEktAjEg3NqSWyDSj7pYJV7zHzz7c1bdcssvKIdcHK10Sww I0Lr/gbr5PLD18JQu4JFG+FCCE80I4dLz7sRjzKGrMIaJvYdnIchOURFQ== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-chunked-transfer-1): New variable. (rust-chunked-transfer-0.3): Inherit from rust-chunked-transfer-1. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 087ffa1d27..3e93db1879 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2021 Antero Mejr ;;; Copyright © 2021 Maxim Cournoyer ;;; Copyright © 2021 Vinicius Monego +;;; Copyright © 2021 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -7884,19 +7885,21 @@ Python arrow.humanize.") TimeZone trait for @code{rust-chrono}.") (license (list license:expat license:asl2.0)))) -(define-public rust-chunked-transfer-0.3 +(define-public rust-chunked-transfer-1 (package (name "rust-chunked-transfer") - (version "0.3.1") + (version "1.4.0") (source (origin (method url-fetch) (uri (crate-uri "chunked_transfer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9")))) + (base32 "0bkdlsrszfcscw3j6yhs7kj6jbp8id47jjk6h9k58px47na5gy7z")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments + `(#:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3)))) (home-page "https://github.com/frewsxcv/rust-chunked-transfer") (synopsis "Encoder and decoder for HTTP chunked transfer coding") (description @@ -7904,6 +7907,19 @@ TimeZone trait for @code{rust-chrono}.") coding.") (license license:asl2.0))) +(define-public rust-chunked-transfer-0.3 + (package (inherit rust-chunked-transfer-1) + (name "rust-chunked-transfer") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "chunked_transfer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9")))) + (arguments `(#:skip-build? #t)))) + (define-public rust-ci-info-0.3 (package (name "rust-ci-info") From patchwork Sun Aug 29 10:45:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32358 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6202427BBE1; Sun, 29 Aug 2021 11:48:47 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B080027BBE3 for ; Sun, 29 Aug 2021 11:48:46 +0100 (BST) Received: from localhost ([::1]:39138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIMn-00069x-Lu for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:48:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIL9-00066s-Q8 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIL9-0001Ze-Ac for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIL9-0000EZ-2o for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 02/33] gnu: Add rust-fdlimit. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630233999704 (code B ref 49946); Sun, 29 Aug 2021 10:47:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:46:39 +0000 Received: from localhost ([127.0.0.1]:55542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKk-0000BE-EN for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:38 -0400 Received: from mout.gmx.net ([212.227.17.21]:54001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKh-0000A7-Ee for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233989; bh=D9U6XmczKxpVrZ53yWi9lSSmnm578DGi4xk2UiTszso=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=S/JzoFublhV4CjbZOn584Jn+T5S9u2aBkiAfIwhuB0uZBqtfIGbIQSWTKDX216Gtm VoLln207GrNfkKqI+koCDd/+Jl55eXkv8Vw+GxDFI3ICQfc4J92RP7Ow1VI0owvkDm 1BszDtl0DZdWFSThOqA8z0DTrSgoPfpcB0rdcpLw= 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 1MD9T7-1mBBWm0u9J-009887; Sun, 29 Aug 2021 12:46:29 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:37 +0100 Message-Id: <20210829104608.3103-2-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-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kEjjrA1S0YbX1pEZC BjPBvvfOoTxI9ne1GyNCYWInSKeCQvu2XIsq6U7CmgGcslSNN8yMSbIAgwLTpPcukoyR91ifV u5PONVVLg0/mtcDTpZ5Z6Savki+pAHXWcdW4OEoK6EWju4BXmKR+2hJzA7NBlGEg2mBzQI4Yl inQ+JP/lVb6UaHiBFy2m13+dm4GOeYf+CihkoYb0rTO2IghSCz9jEs3qyZdvspKbKbLXj8GvG ZIB32AHa+gGtbiv4ptfO8t8duFocyp1NpVlpbhYZRa0vUp0PFEV9tFUlT+kDW9OF39cZYgAnK md2SU5Wru5DO5rNtIkBww9f71MlmPkmp+Apgrl/hsab8aqSLj/gHywefA== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-fdlimit-0.1): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3e93db1879..bfa14d5297 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16008,6 +16008,28 @@ it.") (("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-fdlimit-0.1 + (package + (name "rust-fdlimit") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "fdlimit" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0g30d6gqkrwy8ylwdy7pqm443iq0p5dmnpz4ks41pirl7dclm98d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/paritytech/fdlimit") + (synopsis "Raise the open file descriptors limit") + (description "Utility crate for raising file descriptors limit.") + (license license:asl2.0))) + (define-public rust-femme-2 (package (name "rust-femme") From patchwork Sun Aug 29 10:45:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32369 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2987527BBE5; Sun, 29 Aug 2021 11:53:01 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 83EF027BBE3 for ; Sun, 29 Aug 2021 11:53:00 +0100 (BST) Received: from localhost ([::1]:41948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIQt-0008Oi-Jl for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:52:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILB-00066u-Sj for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILA-0001b2-R3 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILA-0000FJ-Ms for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 03/33] gnu: Add rust-html-escape. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:04 +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.1630234002780 (code B ref 49946); Sun, 29 Aug 2021 10:47:04 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:46:42 +0000 Received: from localhost ([127.0.0.1]:55554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKm-0000Bu-GR for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:41 -0400 Received: from mout.gmx.net ([212.227.17.22]:47489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKh-0000A8-FF for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233989; bh=QpcC6OHBzKjP6ZvVdR+Jv1AF5ZeIZZxhy2/B7IXGnW0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=eIli3rPtOUw3tchBPTvi5oHqBjbbF43yWyrBmg+1Sis5wg+//8ivsp/MdaUxpxMxD lflx84o9+BXcIr1hqndoY3dXSkFr0jcaRbho1Gpt1OOazBOSO3CZg6RavSqPJxnihS s3DRdT6KTWcoRN8rIX/hFAxxbuOvXLwM0dBtmx9o= 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 1Mdvqg-1muB2x2Dl0-00b0My; Sun, 29 Aug 2021 12:46:29 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:38 +0100 Message-Id: <20210829104608.3103-3-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:sSFnyNhM89+kbwujXyaFjtFPKrnToEFXYxlxWY9PQmgw04jgF9U pRvdh+WdYq7vd703qhaU5Gn4nDpD58s0xqBmhBKuSUzsP8+U/ko2bwWQRTrwzZgyW6TAvQa 7j4mbfQ2sh4zcT4ESpScKZaWx9aBFYXI6PqA3iASblTlTPt0SkrMNHE4MvsxhRRRWZQ4qEA ToIVlW1B0EUqSxCtbe+sg== X-UI-Out-Filterresults: notjunk:1;V03:K0:+BEVZEW/4OY=:Nzr/91Jyyq3upFCYGF0iUH d4qG/uMv8VzKeeH9RsyHVAGzYddZVrddjFLx2ow1djKEbOaGL6G6B5Cu9PkegMvbagvf36HV0 atJGMThdO9buLhCi7GUZWNPrll2hfJdwkGdY7bE7lormxhazcazccmavXs+/5lpHJqTywvTgc fTPbiKp0BXzMLGbCT+wFaxscYvIg6kr8QBk89CSKeqbi443A0OIqX4VOygxnW8XXwRZxiaHvm 0x8Y5ZMOPsHp2cTJxY/nW8mD+Qfd035ntBVqFeFAw+Baup1JfGUncQCC45cXIKgOiOyBTTH24 aIYw35/LQ9CNuaquLuFL2ebuGGK0pj172N1jD/b8qTkLy2aArbCniHuK136tN37nywNHO7+/X svDsUxHlbZMjWMiWUvnHAR0WIMUUL8emE5VgUGAKCMSoNBBOoBdt6eBZrUnO6OcFiQ2ypHDt9 XTIiPuOqBcfn1f09EGAAZApNNIaNWblZPZ30F5JAFw0oy7/HuaKHJnw4qw/HyP+dcqGPzqW/u cEplEGJIFuQc3Hxpzh68VjBuOWtoYSmlPYfN1cWMpVH6q04QILQpmYniQW8TPpOC1z8DNd96u wx3+yaMHFwVn99rfLbHZGh6Qv/e9leurmVxOjYxhlWhxxsFag+iYcbUBQ4ApITBmXeXJLtf5v cHMXO4yWDla9GRRehRbSrxPG2shIIoKFiq73PnbidEOtLmvssSOrOB4Fv6bGM+BJ3sor0QmY4 nJx4Dzr7LNMS0NKwLdMet64NCsyBcQfI8GthQSLTA2qJ1Bxmx0iP0LQSPcYsG82aqzLr21PQU LeXJYvBULNSDp4pnTISUswDydLI6TcAf1oVqTyRiJ72rm35wJWqgo2qf8cfo16FVuWoRGQlPC sbyAEu7a3Xu7Ya7q3JUNnOGukjejofHzR3qdSf99TxePpuYUjePWUvm0VHl8TU2AGFV6jP2bt e+bwlSGGxs9oO5p042RPncXM67nbvDRuR+o2SAtrNUwgY2T1SY+DK7HjsAOqXd6gMkcEsWOfo 1xxgm7lXQQEKEu5EWzZY/J2XcgVz65I7lB4ee2jI966oNoCEpWfm1LJHd6KfpHXZhuOynonk+ dTi31/sMvtzfdjNo4DgjFCWqx8j+7AufeLkDTJfAVZqWZpSSE9O5zAqsw== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-html-escape-0.2): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bfa14d5297..31136a88e3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20921,6 +20921,32 @@ Hash-based Message Authentication Code algorithm} for SHA1.") "This package provides a library for HTML entity encoding and decoding.") (license (list license:asl2.0 license:expat license:mpl2.0)))) +(define-public rust-html-escape-0.2 + (package + (name "rust-html-escape") + (version "0.2.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "html-escape" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dxw9lpckrqzzqgbkw64ckbajr4b7xxnjdn8adgzqf2mm40shvl1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-utf8-width" ,rust-utf8-width-0.1)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://magiclen.org/html-escape") + (synopsis "Library for encoding and escaping special characters in HTML") + (description + "This package provides a library for encoding and escaping special +characters in HTML, decoding and unescaping HTML entities as well.") + (license license:expat))) + (define-public rust-http-0.2 (package (name "rust-http") From patchwork Sun Aug 29 10:45:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32366 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A470C27BBE4; Sun, 29 Aug 2021 11:52:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3F3AF27BBE1 for ; Sun, 29 Aug 2021 11:52:30 +0100 (BST) Received: from localhost ([::1]:41118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIQP-0007nT-42 for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:52:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILB-00066v-TL for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44049) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILB-0001bc-KF for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILB-0000Fe-HK for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 04/33] gnu: Add rust-smallbitvec. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:05 +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.1630234019827 (code B ref 49946); Sun, 29 Aug 2021 10:47:05 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:46:59 +0000 Received: from localhost ([127.0.0.1]:55560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL4-0000DF-QQ for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:59 -0400 Received: from mout.gmx.net ([212.227.17.22]:50231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKh-0000A9-Mk for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233990; bh=F+4W/kiDc2TYDJz5FKD1ekKyq2/hO1sAeTgMpgS2gjA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=DWzGpWt3ZyYppDn/nzLIdD4mFQbygK5v93EMVy6LKe74RQtS9i/djpkSoobI0k9cj Wydzg4UAVn0crmrlIOJ8f5XvJDUK5sIInsOO8l+9qCvv57tWe1PLHyJOC49OH/fwTr ugH6EmTJfjRRyQyxQlWLapMk81cxlDr6+MqH8m2g= 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 1MPXhK-1mfh6V3UCA-00Mcmq; Sun, 29 Aug 2021 12:46:29 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:39 +0100 Message-Id: <20210829104608.3103-4-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:bOLk4vzr6W7OYrkTI8aNxXTjbv/1QKqPr/+Dfy3Y+Z3D81Ga3es olxSZHNkfrxjVHRJa29v9KKPkeeedB2l/s8mY8UOAoOt9I+y3+LuNU4EsSg6X10uNWtGL3X L4aqdUNIGHm5AIXOBndqL/0W5hhzjkrzgWxYBQzBqgk0VFWpNXooNqZMrloSOjJ3yv1N37g z7YdtpQturZMLz8aTATVQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:2p1u0zvtIHA=:zK8eGrE6Yi34dI/SwT8m/I 2dW4gECNkP3wbaV/Rk6fzMfHpU3SP+3YmjPXq6uXe9V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xXnOBux+5SO34sP8hMeA+QJPA== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-smallbitvec-2): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 31136a88e3..de1b581cbd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -44429,6 +44429,29 @@ I/O programming.") ("rust-futures-core-preview" ,rust-futures-core-preview-0.3) ("rust-futures-io-preview" ,rust-futures-io-preview-0.3)))))) +(define-public rust-smallbitvec-2 + (package + (name "rust-smallbitvec") + (version "2.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "smallbitvec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0plrbldsjpwip3afbzd8fgrnvdhizcg5z4ncfqs4q6x4qjflzkkm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-bit-vec" ,rust-bit-vec-0.4) + ("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/servo/smallbitvec") + (synopsis "A bit vector optimized for size and inline storage") + (description "This package provides a bit vector optimized for size and +inline storage") + (license (list license:expat license:asl2.0)))) + (define-public rust-smallvec-1 (package (name "rust-smallvec") From patchwork Sun Aug 29 10:45:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32371 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EBFEC27BBE3; Sun, 29 Aug 2021 11:53:01 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0BEF627BBE1 for ; Sun, 29 Aug 2021 11:53:01 +0100 (BST) Received: from localhost ([::1]:41968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIQu-0008PK-2w for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILD-00066x-Ji for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILC-0001cy-T7 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILC-0000GC-RK for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 05/33] gnu: rust-tiny-http: Update to 0.8. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:06 +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.1630234019841 (code B ref 49946); Sun, 29 Aug 2021 10:47:06 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:46:59 +0000 Received: from localhost ([127.0.0.1]:55564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL5-0000DP-Cb for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:59 -0400 Received: from mout.gmx.net ([212.227.17.22]:36851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKi-0000AA-1X for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233990; bh=VXLuCZXJqJ0e/hkhzHlaWoXTlTkybPUBR+0Ndjx+FWE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=b3dy5qaVC6LUGZICvSMIGR2r2FJVaNzUfMjj7vAl7wHYf7BQBPlWT3BQUXrKJubuJ 4czpVoeHkjrDgAj4D8hYp8B1HDSoxJyOHd79wVnkw4ZtdPpNBEYYKDlPkNLnInuyjb DF/LWW717mMrkdaUWTgOe99kOGrYBUXy1Br0nGK8= 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 1M8hVB-1mOR4J0X2H-004gAB; Sun, 29 Aug 2021 12:46:30 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:40 +0100 Message-Id: <20210829104608.3103-5-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87cz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2JOGcIj83dQT7dI2g gHdxpZYHmixvdpBIxaXdVNFei0ATCIKLWzd8RjomLZS+/GO9B5aGg+Nm6zcCrSUkfqhIlvvfT BJvjZrsTU7cBtUEUNUOrUFGLen/wmVOKh8VAaI+nsMI0XIvFDwMaEjmlfg+S8IihvN1kRzsVY WWYaww8hUyL2JcnXr1VoywQkciLaOO/SxP0Wyyuq7ei5sQo0CgszDDabJjtDlvHDptqu8WVjQ sTj62T7b/M87xwBlEBgevYqthndj8EE5DHuU3jrzw4zpG/VyPuJ706vF2i8+US14nZrtlCXOk Ow8UoDSwwnhnpqF6XWBdclJsvwoiU0mLw4PHzEW2nF5KlYaGaLUBH17Tx5ipIwrMIJCqMlSox L6G9/FSWpvK6DbmChn0uN9dyzOiJKfLzQhpMSjO+fjDKir2qTV4t+b46A== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-tiny-http-0.8): New variable. (rust-tiny-http-0.6): Inherit from rust-tiny-http-0.8. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index de1b581cbd..07d0a7594e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49152,8 +49152,39 @@ closures after a delay or at a given timestamp.") manipulation in Rust.") (license license:expat))) -(define-public rust-tiny-http-0.6 +(define-public rust-tiny-http-0.8 (package + (name "rust-tiny-http") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny_http" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fcdwpb2ghk671qjjrk6048hs3yp7f681hxpr68gamk00181prcw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ascii" ,rust-ascii-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chunked-transfer" ,rust-chunked-transfer-1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-fdlimit" ,rust-fdlimit-0.1) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-sha1" ,rust-sha1-0.6)))) + (home-page "https://github.com/tiny-http/tiny-http") + (synopsis "Low level HTTP server library") + (description "This package provides a low level HTTP server library.") + (license license:asl2.0))) + +(define-public rust-tiny-http-0.6 + (package (inherit rust-tiny-http-0.8) (name "rust-tiny-http") (version "0.6.2") (source @@ -49172,11 +49203,7 @@ manipulation in Rust.") ("rust-chunked-transfer" ,rust-chunked-transfer-0.3) ("rust-log" ,rust-log-0.4) ("rust-openssl" ,rust-openssl-0.10) - ("rust-url" ,rust-url-1)))) - (home-page "https://github.com/tiny-http/tiny-http") - (synopsis "Low level HTTP server library") - (description "This package provides a low level HTTP server library.") - (license license:asl2.0))) + ("rust-url" ,rust-url-1)))))) (define-public rust-tiny-keccak-2 (package From patchwork Sun Aug 29 10:45:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32362 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F111527BBE1; Sun, 29 Aug 2021 11:51:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 51A5227BBE4 for ; Sun, 29 Aug 2021 11:51:59 +0100 (BST) Received: from localhost ([::1]:40264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIPu-0007As-Ca for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:51:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILC-00066w-Gz for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILC-0001cK-8e for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILC-0000Fs-51 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 06/33] gnu: rust-spin: Update to 0.7. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:06 +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.1630234019834 (code B ref 49946); Sun, 29 Aug 2021 10:47:06 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:46:59 +0000 Received: from localhost ([127.0.0.1]:55562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL5-0000DI-2o for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:59 -0400 Received: from mout.gmx.net ([212.227.17.21]:53665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKi-0000AB-AB for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233990; bh=Pk8hbknbhAZhEy3Ad1EW1EmjTaPvBpYftNJqpGpNt9A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=IgU0p5IzWhVMwHozX+YnPzeTvVDatJEhAk6Ik0jzBchAHRRDY6X3OLSgLE1AEruJj vzJ0sai0oaogBA2DhLw+lqcFL862+QXXbkPOcss7AqwOWR9CM1HsbrakQv6MkdRhhn PmFZN/JaxLs89WxNzr6LmqK9vtDqt7skxxS0GbJo= 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 1MPXhK-1mfh6S1kRO-00Mcmq; Sun, 29 Aug 2021 12:46:30 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:41 +0100 Message-Id: <20210829104608.3103-6-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:4ZnlhzDGzJfP5NygCJtisZ/+D9hBq4QUt/2K3aFmO/DdHSGGNnS gC/M+0VJCwNMQ/QYrrjCLg+P6e2bmB1rFDGbtylWlTBPhMYslFtghZ0/xgX5pFVve7rCODn tpH04Vmf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o8g3qchdW4wbl/74+7+ebqN hbO0wp9uYKHqNVVVwMNJ0fi1jLvnELx3nQJTaBYmMHGcu9QFwl9D/XLmTb7JevIvV+TGmYyob s3deHzCn3n2nt8N6Tksqj7HGZdOjcDt6XyqjYI7OR6DLHAArq/TYk1dtK6I9KGqmRbGOZQmOi GTnDTjzTxf2tITAMwG6+SAZ+IWpMkj9T0Rycy8DsjpFcTQ4/UEF5dzWPA== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-spin-0.7): New variable. (rust-spin-0.5): Inherit from rust-spin-0.7. --- gnu/packages/crates-io.scm | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 07d0a7594e..476d35c241 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -44838,10 +44838,10 @@ track of where each new file and line starts.") "An RSpec inspired minimal testing framework for Rust.") (license license:expat))) -(define-public rust-spin-0.5 +(define-public rust-spin-0.7 (package (name "rust-spin") - (version "0.5.2") + (version "0.7.1") (source (origin (method url-fetch) @@ -44849,8 +44849,11 @@ track of where each new file and line starts.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0b84m6dbzrwf2kxylnw82d3dr8w06av7rfkr8s85fb5f43rwyqvf")))) + "0qjips9f6fsvkyd7wj3a4gzaqknn2q4kkb19957pl86im56pna0k")))) (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lock-api" ,rust-lock-api-0.4)))) (home-page "https://github.com/mvdnes/spin-rs") (synopsis "Synchronization primitives based on spinning") (description "This crate provides synchronization primitives based on @@ -44858,6 +44861,21 @@ spinning. They may contain data, are usable without @code{std},and static initializers are available.") (license license:expat))) +(define-public rust-spin-0.5 + (package + (inherit rust-spin-0.7) + (name "rust-spin") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "spin" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "0b84m6dbzrwf2kxylnw82d3dr8w06av7rfkr8s85fb5f43rwyqvf")))) + (arguments '(#:cargo-inputs ())))) + (define-public rust-spin-0.4 (package (inherit rust-spin-0.5) From patchwork Sun Aug 29 10:45:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32384 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AF2DF27BBE3; Sun, 29 Aug 2021 11:54:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 25F3B27BBE1 for ; Sun, 29 Aug 2021 11:54:10 +0100 (BST) Received: from localhost ([::1]:45224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRz-0002Gx-7b for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:54:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILJ-00067I-St for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILJ-0001jA-A9 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILJ-0000ID-7S for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 07/33] gnu: Add tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:13 +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.1630234026994 (code B ref 49946); Sun, 29 Aug 2021 10:47:13 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:06 +0000 Received: from localhost ([127.0.0.1]:55595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKILB-0000Fd-FN for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:06 -0400 Received: from mout.gmx.net ([212.227.17.20]:38845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKj-0000AE-2L for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233991; bh=Vgh2eZkelgO2F9SuT/oTcPELfMcCqST1QveMvJpfIWg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ZZK/GqVPAYj8J2QSZJ4t9C1lkaPi+tDsXhatCF+kLQpQF0H0MC5xzQzZFBEs/gEvR GshQFjLwQT8Uh+SLlsRnU/eEDKGTuMBXCGZ1PktQDv3r2fPKyvdP0iUBBemrdXz0Kp O8XdTDbcZac8+P1lv3j5hsUvkrGcC4tFZmpVGUlM= 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 1MWASY-1mUfYi31Io-00XfOe; Sun, 29 Aug 2021 12:46:30 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:42 +0100 Message-Id: <20210829104608.3103-7-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:R5Z9YDmmELd1123258lwBG5a0DFKovi6jPdYh1czEMFqNEnNu45 3fBkwCGLP2zaDdc5LBXYyX6ZGwm91MZo03lQ3j8OiV5qEOrrHDYUxGeRZaETg9rHrWf0Jbi Nam446eeqv3s9vlbbbpBMD0YV4CJmeZQkWTqzNen7cM4wXa9k1t2vrul8BTPAGSuyV3CwS8 FiDem/kuvi0V+H7DnBz0A== X-UI-Out-Filterresults: notjunk:1;V03:K0:wngC7+KKy94=:o8uEbLr/9Uqgs0Iv2b7jKd 1qB8GlQWxW7JxLicYS10MxKHSojr9fjgnX27DcZDHqW6SjfQdkPFfvo5H+6JHpIt2shOx/IRv 6EMxxKReT3mIj9OrTYBlbVqSwBiA0mvZ+lz+yq4HCLjsecDdVsc4MnWt8BPgMZNrCB8+hyCQ+ jsfF8Z5neYUgTKe1cxTEOZt0mtt9GpjBvulQXRDtBPBN3giW7aKcf5qJJgVgFLXVmhGnmlsSn npBBUJQqa9BDkAjgflwIsVRnbWzB5GTmhAMQ+70DcjMkn4sl6puA8sVPmMy9i7Kogk6SCPgps moSYbSTcvq0ReSY8UOuXXJ6rXTE18rhUO6i9PKxrP/fp18HXnFrybm8uQUwGuJVh/pswvnNzm VT56rUjjm7mAfMN1XqbZ8lP8F9BROwMluDYwwOSO6wtTSSaUvpPjY5S9TUOVDUfLqLf07SyFZ tA/0jWTzHdfKXX9wOge3fcmZAdaKrzebKBFzG5l8KbGBip715gH7iOXZ/3gBx0+r/iz1bQC0a R96Bw5G0Wcows/bl2pPkaRSgTccEXchgMAcxq0ySz5lQPgZDds4PESGulXMQR0TUbN0jAn2yT mC20kr2XmDQxUnadBp714F44PL5JCLHQFPpyJuCUMGuR4Ffo4ORG0sQGy21mgSGehAT8uQzyv aRTUIJZwCJWuSZ0hGjqPPL8oRlU8jp4vR7n9JTbdFBgyXCdeyJor4wRzR124P/vWGytirNRdl il2EkIZDYn+Bo+SOWXosglIsWzqVqdYGlkOYOJebfcQbDxmdpztINMNU59Yo4/8Sf78VGWboL ER+C/RJBexuZylTH5dh9ZUWQ/W7IjS3OpUoiVCLgsxQV44v0O4m1zvvMT9fDKv3qhZluDoner XvRagls9wkWwPy4nmIRZa2CGe/+cYdguzJ72jXzfHTHrAoumhXVd7x5sbtAf7PYXrpL0LOLRT Znn7ZLSkCavbqfYyvQveb1ppeJkCCXkThnyDSm0AQCpQBrN69wZBfgmFIBYYpUL9rP8fm1GWA 2XsC81uW6esQjF/8b8VaAUDKmksanVy2+CTNe/eNdZU56W8zMbrGF4PkXof5CqTCQ4DD9zoEl Qhx8TlMtra5hQM9RDIHRWpofyKbk7igwQjWRZiZ4ucG3guOFuwe6Tqqhw== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/package/tree-sitter.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Register it. --- gnu/local.mk | 1 + gnu/packages/tree-sitter.scm | 73 ++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 gnu/packages/tree-sitter.scm -- 2.33.0 diff --git a/gnu/local.mk b/gnu/local.mk index a0da1a96d8..0315106c30 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -559,6 +559,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/tls.scm \ %D%/packages/tmux.scm \ %D%/packages/tor.scm \ + %D%/packages/tree-sitter.scm \ %D%/packages/tv.scm \ %D%/packages/uglifyjs.scm \ %D%/packages/uml.scm \ diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm new file mode 100644 index 0000000000..e6e66cd447 --- /dev/null +++ b/gnu/packages/tree-sitter.scm @@ -0,0 +1,73 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Pierre Langlois +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages tree-sitter) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module (guix utils)) + +(define-public tree-sitter + (package + (name "tree-sitter") + (version "0.19.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qmb0sva28zv6r3c3j7xs9pc8bpwwhkb9vxxndw2zbdn9wkvmbmn")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;; No check target. + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-cc + (lambda _ + (setenv "CC" ,(cc-for-target)))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib"))) + (setenv "PREFIX" out) + (invoke "make" "install"))))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description "Tree-sitter is a parser generator tool and an incremental +parsing library. It can build a concrete syntax tree for a source file and +efficiently update the syntax tree as the source file is edited. + +Tree-sitter aims to be: + +@enumerate +@item General enough to parse any programming language. +@item Fast enough to parse on every keystroke in a text editor. +@item Robust enough to provide useful results even in the presence of syntax +errors. +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application. +@end enumerate + +This package includes the @code{libtree-sitter} runtime library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32360 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E8F3E27BBE3; Sun, 29 Aug 2021 11:49:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7ADC827BBE1 for ; Sun, 29 Aug 2021 11:49:58 +0100 (BST) Received: from localhost ([::1]:39994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKINx-0006sw-I5 for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:49:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILE-00066y-2Z for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILD-0001da-Mc for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILD-0000GX-L4 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 08/33] gnu: Add tree-sitter-cli. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:07 +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.1630234020848 (code B ref 49946); Sun, 29 Aug 2021 10:47:07 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:00 +0000 Received: from localhost ([127.0.0.1]:55566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL5-0000DW-LX for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:00 -0400 Received: from mout.gmx.net ([212.227.17.20]:52627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKi-0000AD-UI for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233991; bh=4i+AH3M0k9oKHKFs+3X1xwXbyLuH32/cVilwNPVNRQY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=e9Tv/uYIjU9g1ggu9OVghk2yRTjBIEQsCSDMdVhhB6AvAZAQs+V6b2CwtuFe4O+ia maYGNnn6XFYcKAuqdx3nSB2TW2I/8RymOEwFnAO5J9Pkx8ckhFEDnNW6okgXu7iyo6 eb6afp/tckes61H/KdgzjE4cBRe1HsP1qDcZ92Mk= 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 1MatRT-1mqc9603AJ-00cOLV; Sun, 29 Aug 2021 12:46:31 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:43 +0100 Message-Id: <20210829104608.3103-8-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:zFJqB2rzgksW3azCwFl2gh8ycTv3deOr8rydpj3DhHT40e5Y3MZ Vl+8woFMUECwH5pV9cz9oSkVXxFUbuc14KjRiEeCp/Ln3ZQQPBdo5exq8LbofFciWXPil2T yCBXO0St5Y9lpPxacVtQVtPCwS3xJuyeF2vtV8X/Nq0wdpmD2pvTNSV1PEBZ2rdh6HykndR IZKvw0w39BRgdmCj90lDQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:TTKHXMHE1HE=:mvo4JASSyrCHMBo9VFIwb/ hFSY6Y/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8mCWKBCPWZnL 4+c8JPL4+p3mLddNZZTLl/UgFkRr9XPKN0APB5BtnsCiIrbGB+m390XxQ== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-cli): New variable. --- gnu/packages/tree-sitter.scm | 61 +++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index e6e66cd447..d8d4a305da 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -18,10 +18,13 @@ (define-module (gnu packages tree-sitter) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system cargo) #:use-module (guix build-system gnu) #:use-module (guix git-download) #:use-module (guix packages) - #:use-module (guix utils)) + #:use-module (guix utils) + #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crates-io)) (define-public tree-sitter (package @@ -71,3 +74,59 @@ can be embedded in any application. This package includes the @code{libtree-sitter} runtime library.") (license license:expat))) + +(define-public tree-sitter-cli + (package (inherit tree-sitter) + (name "tree-sitter-cli") + (build-system cargo-build-system) + (arguments + `(;; Running test requires downloading fixtures, see the + ;; script/fetch-fixtures script. + #:tests? #f + ;; FIXME: Installing the sources for the tree-sitter Rust bindings + ;; doesn't work out of the box due to tree-sitter having multiple + ;; Rust packages in the same repository (bindings and CLI). + #:install-source? #f + #:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-atty" ,rust-atty-0.2) + ("rust-clap" ,rust-clap-2) + ("rust-difference" ,rust-difference-2) + ("rust-dirs" ,rust-dirs-3) + ("rust-html-escape" ,rust-html-escape-0.2) + ("rust-libloading" ,rust-libloading-0.7) + ("rust-smallbitvec" ,rust-smallbitvec-2) + ("rust-spin" ,rust-spin-0.7) + ("rust-tiny-http" ,rust-tiny-http-0.8) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-webbrowser" ,rust-webbrowser-0.5) + ("rust-which" ,rust-which-4)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'delete-cargo.lock + (lambda _ (delete-file "Cargo.lock"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (lib (string-append out "/lib"))) + (mkdir-p bin) + (install-file "target/release/tree-sitter" bin))))))) + (synopsis "Incremental parsing system for programming tools") + (description "Tree-sitter is a parser generator tool and an incremental +parsing library. It can build a concrete syntax tree for a source file and +efficiently update the syntax tree as the source file is edited. + +Tree-sitter aims to be: + +@enumerate +@item General enough to parse any programming language. +@item Fast enough to parse on every keystroke in a text editor. +@item Robust enough to provide useful results even in the presence of syntax +errors. +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application. +@end enumerate + +This package includes the @command{tree-sitter} command-line tool.") + (license license:expat))) From patchwork Sun Aug 29 10:45:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32367 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EA65027BBE1; Sun, 29 Aug 2021 11:52:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4F0D327BBE3 for ; Sun, 29 Aug 2021 11:52:30 +0100 (BST) Received: from localhost ([::1]:41104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIQP-0007mr-4j for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:52:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILE-000670-JT for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILE-0001df-5f for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILE-0000Gg-1x for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 09/33] gnu: node: Patch /usr/bin/env in node-gyp. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630234020856 (code B ref 49946); Sun, 29 Aug 2021 10:47:08 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:00 +0000 Received: from localhost ([127.0.0.1]:55568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL6-0000Dd-1D for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:00 -0400 Received: from mout.gmx.net ([212.227.17.22]:48379) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKj-0000AF-6X for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233991; bh=42b5qx9L9D1T6tyD+X99xNIoTWXxU0Oz3k8IgJOnBB0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=EjJEdAyKIJHSGVk7zLjPuOMNfoiAS4g3TFl4sMJActaIDF2YishrUGAwZ3acU6Tlr FLBGyjCHygpE4G+MPb7CmPIVBDXIS6ZSF7G6g23tNu0272ysA52lh64CiWCGv4Y6hi yLhPaaMwwfiIzSLLFsQHbvtZltFdpnnQh6RLvAe0= 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 1N8XPt-1n6T141HRh-014Vyh; Sun, 29 Aug 2021 12:46:31 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:44 +0100 Message-Id: <20210829104608.3103-9-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:YhwC86UAfuAgWFyDgFVCwdXzLZH0VoDhaF04W2M42AjFnRaV8Xb jNnqb76RWHmrOnwmJbJh4lLglAoJUqfFqm9wZKByEGtV+bKQRXzTnQTC4suyAPCkU9WgqBH 2HKgqiDmOQ5Etx+QezazaZEagKQVAraDcl0ioB6qdPONcNXhODU9yeZBmtZHS61vY1vDl44 8s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as6kqAmp76aJGr1GnvwKvmu4eebXXbd3FSq Ar2yVIfiIjSjHaOEOUzijHUcMNic7NLmqkryPuADF+6cnVYwGSPyjZ4AOwEHciPRVV4yjDLki qaeHemUVQjfhcJHXVBDBBuVBep3f2rj7kjJm431GUxyEEtvCfkhfpX1IA== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/node.scm (node)[arguments]: Fix /usr/bin/env shebang in node-gyp.js. (node-lts)[arguments]: Ditto. --- gnu/packages/node.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) -- 2.33.0 diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index 36c45e9c7a..530c04bc68 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2017 Mike Gerwitz ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018, 2019, 2020, 2021 Marius Bakke -;;; Copyright © 2020 Pierre Langlois +;;; Copyright © 2020, 2021 Pierre Langlois ;;; Copyright © 2020 Ricardo Wurmus ;;; Copyright © 2021 Simon Tournier ;;; @@ -120,6 +120,11 @@ (("'/usr/bin/env'") (string-append "'" (which "env") "'"))) + ;; Fix /usr/bin/env shebang in node-gyp. + (substitute* "deps/npm/node_modules/node-gyp/bin/node-gyp.js" + (("#!/usr/bin/env") + (string-append "#!" (assoc-ref inputs "coreutils") "/bin/env"))) + ;; FIXME: These tests fail in the build container, but they don't ;; seem to be indicative of real problems in practice. (for-each delete-file @@ -661,6 +666,11 @@ source files.") (("'/usr/bin/env'") (string-append "'" (which "env") "'"))) + ;; Fix /usr/bin/env shebang in node-gyp. + (substitute* "deps/npm/node_modules/node-gyp/bin/node-gyp.js" + (("#!/usr/bin/env") + (string-append "#!" (assoc-ref inputs "coreutils") "/bin/env"))) + ;; FIXME: These tests fail in the build container, but they don't ;; seem to be indicative of real problems in practice. (for-each delete-file From patchwork Sun Aug 29 10:45:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32363 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D087D27BBE1; Sun, 29 Aug 2021 11:52:00 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4B80A27BBE3 for ; Sun, 29 Aug 2021 11:51:59 +0100 (BST) Received: from localhost ([::1]:40270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIPu-0007Av-9w for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:51:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILF-000672-8G for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44061) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILE-0001eb-TE for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILE-0000Gu-Qy for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 10/33] guix: node-build-system: Support compiling addons with node-gyp. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630234022880 (code B ref 49946); Sun, 29 Aug 2021 10:47:08 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:02 +0000 Received: from localhost ([127.0.0.1]:55572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL7-0000Dt-EJ for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:01 -0400 Received: from mout.gmx.net ([212.227.17.21]:56681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKj-0000AG-HM for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233991; bh=1nQawcoPpnQ/cWAQJ5aFPxfolfxLxPFqFzBtuzewkyU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=SCJ/ib5tsT93qIoZ3kSD86tWiqGIURASipNhpbfU8hBfBu44212uwCvJnJqtRsdb+ PHlO8U9TdJrtN7stfYFF2DbmbF+93ZWGqcvSh3td+CX/b0aGOmGfddO+4or577TLAs aXGypzxfyD9SVcX4mprliLTkqdirgZo0X+mT6vHA= 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 1MIx3C-1mZ5OX2kyQ-00KRzI; Sun, 29 Aug 2021 12:46:31 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:45 +0100 Message-Id: <20210829104608.3103-10-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:V04dxS/jfa51YI1PGQrLluiANiNiGELvjQAN1xlG3qV87tsV4H1 PvrhPeX6Nq5AkZiZZItprJdVeUX1ywHZnE2smJ9YcfwnACrWiU8iB5dI/gFBglxMjT9eFkP 72RhOi3nYnniLuW0QLvuSvoECEhWUksZ+vmyhKrVkt3nhStOvXbz28B2o5vQfXUHdREc6fF MUMt0g8PiGaAiGXfu7dfQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:qq1IjGjISEE=:IwWl2AzOSrIN+OsstozEx+ zGmdBEKF4ei7wNcAcgp3Fi2fAWnS3icRKmpJhdUG+ypNaOKb/nDDONbi0v5Ot/FYCur/6DxOd JDhh+3TOZxayguXYycXQkWEE9n+oZNBZkQVxhfErtKUT0MAOBdXz/Ps1s1v/9Jpcbq5R668v6 phLzfTDnr9trFNfyuoSDPioyptBINz9hsNELQFcKpDnKF7DhPmVR7W/oQAQldtj38g/F+cjXa +w6I4O9db36VMPVMDUsv9TWFr8k7qQG+/idV6dWDVxugkrWZJV93fAkiyt6aMkkiKwOH8hOlU y7aSZHYF27cXHpu4rCeoQwKVXHaMeXVxLe0j/ZKUbyZRZneztzYzDKNG2s8fslLy7OdPXcmna /4hhKocrKa4zgHd1ScnwNae8idqqD8IfxP/EaHM2uhr10R7C6i0QeLHLRpAR9HxY58Jetd+r/ MU9n8EoaVDJxKl4F+BIK0hexZuRmjbgJ8zUhe45AqgspFEQnn/eCZ6210Ooeng1LHagJY4D/Y qWyL5vNhkZqS1i9U9Nqg752orROJHr1Lnpk6t9H0Bisf13dEN95maObAdh4dj43coj1WsxAv5 EvGApy658XlGA8v2ORE/iXDmzTbT+mh2GRjvF3Ns4R101Pc2YMPHsiNzyN2WgLkuSP9FUt9/s 6NxrY6W0gMciGjcUBgLziyDtCJGyYcnQO+gr6aIyqz+W+/oWI0dQXVzeOrAIyuRd1EaKy8U1F vhqmdgGs/oTh6b2sCB+6clGgupjcsBnM1G9YVZVQn5kIw3J0VcxAUo5k+RcWyC5gbPIy3AmNU e9sPkQs7zlU186MndUffpbl/KmpC/pj/tWEG7rMQoIKSGci4oNvXrTW2dWe7PAr0BI5767YKU Jl/j7JNv84qosThbaa+RcNUVaTQy0TtDf2zNZNSjFvRaU92N+bbAJiC9gAYgWTDo9whFpzwrD fAwNaNe8fhZLZSLmSsulog/6QdKCRLTYJ4QhgGoKYbIy2VfoOFKKZazpLGXZux5CATCcv0GWu dLsMVqnV7xZmj52JuIl6R1k2T4NGraXW6/sjFC8o1nOeh98hZDZCRRbMIhvIKQYP/SbJeJbtF VTFEFW0Jp6Td8ZJXUx7UP6OXh525PgAxnDFpv0L+F5fAx1CDyOW58mU8w== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/node.scm (node-headers): New function. * guix/build-system/node.scm (python): New function. (node-headers): New function. (lower): Add node-headers and python to build inputs. * guix/build/node-build-system.scm (configure-gyp): New function. (%standard-phases): Add 'configure-gyp after 'configure. --- gnu/packages/node.scm | 19 ++++++++++++++++++- guix/build-system/node.scm | 16 ++++++++++++++++ guix/build/node-build-system.scm | 15 +++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) -- 2.33.0 diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index 530c04bc68..a6dab75309 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -48,7 +48,24 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages tls) - #:use-module (gnu packages web)) + #:use-module (gnu packages web) + #:use-module (ice-9 match) + #:export (node-headers)) + +(define (node-headers node) + "Return an object for a tarball with headers for the given node +package version." + (let* ((version (package-version node)) + (hash (match version + ("10.24.0" + "0h37zjwcpxjdqcxqjfj5zp1n5zjxaa0g8lsy83955afg5cca8p0n") + ("14.16.0" + "1vpdgq7kcw1a0w90lpvbvxbrc0n3pwjrs3sm42pjj7560clvji2b")))) + (origin + (method url-fetch) + (uri (string-append "https://nodejs.org/dist/v" version + "/node-v" version "-headers.tar.gz")) + (sha256 (base32 hash))))) (define-public node (package diff --git a/guix/build-system/node.scm b/guix/build-system/node.scm index 98f63f87ef..7828582a9a 100644 --- a/guix/build-system/node.scm +++ b/guix/build-system/node.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Jelle Licht ;;; Copyright © 2019 Timothy Sample +;;; Copyright © 2021 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -41,6 +42,19 @@ (let ((node (resolve-interface '(gnu packages node)))) (module-ref node 'node-lts))) +(define (python) + "Return the python package." + ;; Lazily resolve the binding to avoid a circular dependency. + (let ((module (resolve-interface '(gnu packages python)))) + (module-ref module 'python-wrapper))) + +(define (node-headers node) + "Return a tarball with headers for the given node, needed for packages that +need to build native bindings using node-gyp." + ;; Lazily resolve the binding to avoid a circular dependency. + (let ((module (resolve-interface '(gnu packages node)))) + ((module-ref module 'node-headers) node))) + (define* (lower name #:key source inputs native-inputs outputs system target (node (default-node)) @@ -62,6 +76,8 @@ ;; Keep the standard inputs of 'gnu-build-system'. ,@(standard-packages))) (build-inputs `(("node" ,node) + ("node-headers" ,(node-headers node)) + ("python" ,(python)) ,@native-inputs)) (outputs outputs) (build node-build) diff --git a/guix/build/node-build-system.scm b/guix/build/node-build-system.scm index 70a367618e..2993c49b2b 100644 --- a/guix/build/node-build-system.scm +++ b/guix/build/node-build-system.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2015 David Thompson ;;; Copyright © 2016, 2020 Jelle Licht ;;; Copyright © 2019, 2021 Timothy Sample +;;; Copyright © 2021 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -101,6 +102,19 @@ (invoke npm "--offline" "--ignore-scripts" "install") #t)) +(define* (configure-gyp #:key inputs #:allow-other-keys) + "Run 'node-gyp configure' if we see a 'binding.gyp' file. + +By default, 'node-gyp' will try to download node headers from the internet, we +prevent this with the '--tarball' flag." + (let ((node-gyp (string-append (assoc-ref inputs "node") + "/lib/node_modules/npm/node_modules/node-gyp" + "/bin/node-gyp.js"))) + (if (file-exists? "binding.gyp") + (invoke node-gyp "--tarball" (assoc-ref inputs "node-headers") + "configure")) + #t)) + (define* (build #:key inputs #:allow-other-keys) (let ((package-meta (call-with-input-file "package.json" read-json))) (if (and=> (assoc-ref package-meta "scripts") @@ -147,6 +161,7 @@ (add-after 'unpack 'set-home set-home) (add-before 'configure 'patch-dependencies patch-dependencies) (replace 'configure configure) + (add-after 'configure 'configure-gyp configure-gyp) (replace 'build build) (replace 'check check) (add-before 'install 'repack repack) From patchwork Sun Aug 29 10:45:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32361 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AA22027BBE6; Sun, 29 Aug 2021 11:51:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2CD7827BBE1 for ; Sun, 29 Aug 2021 11:51:59 +0100 (BST) Received: from localhost ([::1]:40268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIPu-0007Au-6u for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:51:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILF-000671-5X for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44060) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILE-0001dm-GU for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILE-0000Gn-Eg for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 11/33] gnu: Add node-nan. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630234021864 (code B ref 49946); Sun, 29 Aug 2021 10:47:08 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:01 +0000 Received: from localhost ([127.0.0.1]:55570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL6-0000Dl-E9 for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:01 -0400 Received: from mout.gmx.net ([212.227.17.20]:39445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKj-0000AI-Rb for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233992; bh=Ochb53iWSM0vDFC9rgtvjnHn5lS2LSnrvcQweAQYi0E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=R7PrlQhMiILnAnBcZsU8nQ6kJ+u0bQyZbndlFmqcEiVwQnYK8m1AY2NfXyTKU4EBd RYpRuaW4+huSUkiNh+PBibYdZopE7APAnmt+MDHnKWMLEazZdymHQT8J8RTycjgwsk FMK3+9hWwVlU5P63JTWBJK1Urkdj+1qRBQxhX/w4= 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 1MYvcG-1mXPNf3xEu-00UuFC; Sun, 29 Aug 2021 12:46:32 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:46 +0100 Message-Id: <20210829104608.3103-11-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:hMV6X6y7WRAr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h9umq/RtWJR4qHyU d7OvQzFPBw5qsTTKCv8HTUsczPHEerV0k0YlSj1zDQzZkLTBYVMCVDaU7SAAgIKpR+Rfz4LQ7 plYgOZivnhMMQijTCD1Ubkl/TzJZM8bFntUABvayw6kaQvAj6r5iIEkEW/pEiJwIHuM8vmJPg 74TEfP7qmExiSGb8d1NC+XftXxnNIDoErudmQnbaUSeT/XdMdJPCHjaEzcWolDk/LVGaXRZNl ORkFC6oxuwQA6gBfaSdpCsuY1Tcq2vDSWS7sWNCRelJyElD06wsbZov73E/t4eY+E8kuGPgSV drNlPeBqPbiBKPmNrsbdW2t9cvltWjtVeOTc1CrapFO+cqknomNrO2Cag== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/node-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) --- 2.33.0 diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index cbb68f77d6..eb4b59d1ab 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2021 Noisytoot ;;; Copyright © 2021 Charles +;;; Copyright © 2021 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -171,6 +172,35 @@ user-land JavaScript.") random number generator.") (license license:bsd-3))) +(define-public node-nan + (package + (name "node-nan") + (version "2.15.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nodejs/nan") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18xslh9va5ld872scrp5y4251ax9s3c6qh0lnl1200lpzbsxy7yd")))) + (build-system node-build-system) + (arguments + '(#:tests? #f ; FIXME: tests depend on node-tap + #:phases + (modify-phases %standard-phases + ;; The default configure phase fails due to tap being missing, as we do + ;; not have tap packaged yet. It is used only for tests. This package + ;; still works as a dependency of node-glob and node-inflight. + (delete 'configure)))) + (home-page "https://github.com/nodejs/nan") + (synopsis "Native Abstractions for Node.js") + (description "This package provides header files filled with macros and +utilities for making add-on development for Node.js easier across versions.") + (license license:bsd-3))) + (define-public node-oop ;; No releases, last commit was February 2013. (let ((commit "f9d87cda0958886955c14a0a716e57021ed295dc") From patchwork Sun Aug 29 10:45:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32381 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D48E327BBE5; Sun, 29 Aug 2021 11:53:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C014E27BBE3 for ; Sun, 29 Aug 2021 11:53:57 +0100 (BST) Received: from localhost ([::1]:44510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRo-0001mU-T8 for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILH-000679-EY for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILG-0001gY-RC for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILG-0000HV-PH for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 12/33] gnu: Add tree-sitter-c. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:10 +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.1630234024935 (code B ref 49946); Sun, 29 Aug 2021 10:47:10 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:04 +0000 Received: from localhost ([127.0.0.1]:55583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL9-0000En-Ed for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:03 -0400 Received: from mout.gmx.net ([212.227.17.22]:39841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKl-0000AJ-6Y for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233992; bh=DSoJwaIBQi5yJ8i2s90mTQ96yHRoG2wAxhHJ8eocWqM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=dmUE3MNDuL95M82f7aKPr58/bfs6spvbvAJcHszOR8SrFr+B4Ef5NulEPn0iw7PGa wI7p7qSUXR3Zn3rNfgEmQt9RCLpY3hwCqoDvQlD/24Ykkf+pF6hIGm1IjqR2vvQLyH 827UoDealNFqz0apjakNkXPWOwulQCBwnairopG8= 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 1MulmF-1nAKt9176x-00rqnd; Sun, 29 Aug 2021 12:46:32 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:47 +0100 Message-Id: <20210829104608.3103-12-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:ZAXptjxI7eeP8gQ/T4vK/mVdZb8sENma7UVrionjj6vkjUwGHLP l8KJz0f0tzj8slVTeNk3Lb4Pxx1w6OYbBDqLlmrMPIsYIUT8BGm/sxreK2YAhPP2kwL2YES cFlT9HHKOopWG8+4IktSzmn9i3x57DZMw+sGSoOKQzq0qdxyDm4bEYoW6xNpd8WyUS8mR+R O1z1as8fuHJfnivhuepnw== X-UI-Out-Filterresults: notjunk:1;V03:K0:jRo8doZA86o=:+hKxO57hE6NM9a9U344RLe /Wv4C+x1xi+pPe2tWzDv4bbqrTVAVlefTogQrbblrQHH36WZDMolNS5ps0vA4pfZGtqymz7Kz J5gKMOlfo74Y5T+1WzEo4y6F1jxLUib5Grl8gBNuZownon75ftp6YBMAdN3NF2XkshtmlrHG/ hT0KX3ugXFQyIHKtHKSr99d84BAMHaRIfHB/cME9MuTomTqrrrQYAabPs4ioMBeI01LFIpM3N k5igJjVYT8RCojIVi57kMx51FmWYuo/vp7R5iJURUNQ7NyIwue2tkBVEDAZr2kKh3OTyudGQM 8LJsGFEYhrAzOBz6O7aaZLMOOI7jCLn+CbJwDz96Va5tJWVtjN5bNOhX15QGciP+rWn1+ck2D vRHDon5n/bsoMvTP8eobKyXRJKYOfUr7H7uzZ5jYLDFSl/Zsvf+04NuOyFCnkLU4RTc8FEMrE DmAjRHjErWDJd6xj4amXOYrqRRvtRm99+aBzWySgm5Y6JoLL1mQjXteH76ekBOi2+9gXR27k1 Y0to6NpqqmmZGSFE51IBwpiivrbxtq/lpiZt3qwTAL9CKbLDf0JRuK48ZZm3mkkGcpYbHJ2B2 tDXNg0Vtq6nSsN+0ToXrsVQ6JuG9QEWs1TeCS9nCbQWU4AW+e055pvcU0ea59rvlt3ZkIZ2ay Gq+5IF9X3Sy9mkZBEuxhEHNcmphPvPmj1kfVdPcvckONhrioDwJ+IKB18zVzBgZPBxc2Jfvk9 iscJG21IgTmk/HdRJAdrQrjVZ2k8p6YH5QcHtIpb9qGHPyFZn8pDJRH8LfjWDHHiA1wKfQ2p1 jVsuRCvtpUyXADb+NMCzlytVbKVx3PGGN4ytq6rF95CjygUIUJgdzIyAwrG8yrQtgKlZTwh46 34hRvFmV6g61aGj7nhXIo/CJHGrbKLF6XLKd47fu+x2B0na5gFdJtr+eYgRyWFU8Epz4o0re4 ddbI1H1EecdtpjiEaRicFZW1kR6obJimXEyNTEZIGIJBU7wK0qxxwwO1V28H5VX+/UJslw2PY FVe+z43dYsizWEH5NIDDwokvQ00KhP+qqdUCDOP5ygq9VmwjgEnmb2+Dvg/i6fFR2Q8058ab5 NFcHZw/oXTQMG+IBfjvOUEE7M3BnNa5hg1x2jTjWpIYVkFvtIfkmaCbkg== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-c): New variable. --- gnu/packages/tree-sitter.scm | 63 +++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index d8d4a305da..bc04a4a5a7 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -20,11 +20,13 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cargo) #:use-module (guix build-system gnu) + #:use-module (guix build-system node) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) #:use-module (gnu packages crates-graphics) - #:use-module (gnu packages crates-io)) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages node-xyz)) (define-public tree-sitter (package @@ -130,3 +132,62 @@ can be embedded in any application. This package includes the @command{tree-sitter} command-line tool.") (license license:expat))) + +(define-public tree-sitter-c + (package + (name "tree-sitter-c") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-c") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1diys8yigvhm4ppbmp3a473yxjg2d5lk11y0ay7qprcz7233lakv")))) + (build-system node-build-system) + (native-inputs + `(("tree-sitter-cli" ,tree-sitter-cli) + ("node-nan" ,node-nan))) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; tree-sitter-cli is listed as a Node.js dependency, however the + ;; node tree-sitter-cli package is just a wrapper which downloads a + ;; tree-sitter binary, see + ;; https://github.com/tree-sitter/tree-sitter/tree/master/cli/npm + ;; Instead we remove it as a dependency so that we can use our own + ;; tree-sitter package. + (add-after 'unpack 'fix-configure + (lambda _ + (with-atomic-file-replacement "package.json" + (lambda (in out) + (use-modules ((guix build json))) + (let ((package-meta (read-json in))) + (assoc-remove! (assoc-ref package-meta "devDependencies") + "tree-sitter-cli") + (write-json package-meta out)))))) + (add-before 'build 'set-cc + (lambda _ + (setenv "CC" ,(cc-for-target)))) + (add-before 'build 'make-files-writable + (lambda _ + (for-each make-file-writable (find-files "src" ".*")))) + (add-after 'install 'install-native-lib + (lambda* (#:key outputs #:allow-other-keys) + (let ((lib (string-append (assoc-ref outputs "out") + "/lib/tree-sitter"))) + ;; Invoking `tree-sitter test' loads the grammar which + ;; compiles it to a .so binary that we install. + (invoke "tree-sitter" "test") + (mkdir-p lib) + (copy-recursively (string-append (getenv "HOME") + "/.tree-sitter/bin") + lib))))))) + (home-page "https://github.com/tree-sitter/tree-sitter-c") + (synopsis "Tree-sitter C grammar") + (description + "This package provides a C grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32356 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7F5C527BBE3; Sun, 29 Aug 2021 11:48:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4408D27BBE1 for ; Sun, 29 Aug 2021 11:48:46 +0100 (BST) Received: from localhost ([::1]:39140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIMn-0006AI-Ag for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:48:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILG-000673-0W for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILF-0001f6-9f for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILF-0000H2-7B for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 13/33] gnu: Add tree-sitter-cpp. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630234022890 (code B ref 49946); Sun, 29 Aug 2021 10:47:09 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:02 +0000 Received: from localhost ([127.0.0.1]:55574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL7-0000E0-UN for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:02 -0400 Received: from mout.gmx.net ([212.227.17.22]:51629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKk-0000AK-CQ for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233992; bh=zHUhFXLhkleepxN3jx5nLi2MUSp6cMmL0F1wp/OIbW0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=cQqqxPVTblTEXyflcRKkHVZanwFRld3dmN4V++GN5xaMGwlkZkMJsx2ooiwFHZPv+ zm7gGT8Eu2B6+f1XRc2h5/RhAatPx7nTlv2bAYfZRM9o1JrA6G3dAg7GhOdJoQQ8wu 2BInpDtrME2zz+ijd33ALLrvBjjt35ML3693l4VQ= 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 1Mdvqg-1muB382LHa-00b0My; Sun, 29 Aug 2021 12:46:32 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:48 +0100 Message-Id: <20210829104608.3103-13-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:JHYrQXP+GUSU0wu5CnIdPoUEKxAs/fscg0mrlLBPqx+xmHsEJ26 YaxOHPs1rjjOnwTXW53ASaJFZ20akoq9v/Trqukuq6VXt1CM1m+QG9Ln2QpcRzHorGwvL9f LMt0d5UYjuD+MCCLE+jCBe0gSmwVe9xjIYrwbiOzjthELJzZeHQ8jiMx4BYs0sXr2QvA027 5vMKPtpzIosLxZ+92h5oQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:K8FHc6V5dbQ=:tgCykmi8HRTrWQyaobxCHB RbIW0Yu2Zrg3zxEKX7WaMGpMRrs85nocqRn4N39Q3fJnTo63ecPiR1QKm+hZeIPdXxIAAaTgL lcWnieN9skAJKCWwPLxp+3N0/DeGZRCfs+byslo4om6zBdCij+XWGGJyxpX86X0TRUypVEsdm qapFmk5zy/43wF+jOoD9Ro/7MD3yzcGdgpnIsy2U9S0DCvlDOnSO+slY4qTi8D55cGDQ/Uu+S EfGYBqKElGv0fD77EiwOg8gI5MCpJZ9FrE29j1UAz3NIjAcNOjY6iOGxcTrPwIiEg/30l0RD2 Mk4XkEAHAV/UotWjA+BhTZT46xiK4pQigsR5csBwIeALeLu+3GGNow9L1kMqd5EZ3tKvZEvpp wFHILMSXNMBfJz2CEWrK5u3FcdcdUCpMXBv1gBm878mmts2bsioB2wQKn3YsMdWXFwxlpXEvF Yp6Zh15aOda5qT6Jo6qfCSJl41hi+plWTbpzDgwth/4eTaFE6K1v2BdvveFqc6pV6IVp+X3PV 01SraiCp44W3jg/WMQn7bwtlGb1Bo1FE27m7V/SHKDhnkVBL6fka5U7z3dv/O3htri9GeATNv V0qOSTJFYrZvFt6Va3Gg3+C/bRA2IjtALCv0EsIM4ESsO3B4jb0H2ec60gmpEculDQUQM8xLh 7RosN1xlRPYNiApqw3vvimJcJaroeov5kj0lC9Iuti0IfXDkpyXYwvBMFOzbMmGaOFnyDhZ+Z jAC+m2qz/vLcPhGNu9ZzIURwdDgWCQaO0uvCE2b4jfowlX6E7R/+iVmYf/XKtBSb7/tbH5eKr 6SSNquDBzjJcgdujFQ62HxuykCaApdEqY2i5XvFmsGDpQSNuYNTu0gzyZzgycqvWQIrN+lCyC EqQy7Hh17Y1IHe2l7YmZv5izBy9uD6C6eUf6LsElNKNWcAkT+BHVmjHDIjGbyK2ZIsZgawpFU W+73lSSdsAuE45t/gU4uy1c0SOLiZtXvWv+gfLmlfbslRGX7DKo7qtM7LzNlr+U3P4NEdTctV H3PmboG7tcN6AQWskGPw8AL0P5rD8wWBQmqPKX5afRyE4s8GrJFv4YQQhhsNtIQ2jfkujZdq1 aoQtm/oXIXhgegTSJBjyXuEW7bT7iJEVs9trn525RttW3xig4KovdXDug== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-cpp): New variable. --- gnu/packages/tree-sitter.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index bc04a4a5a7..07bdb54627 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -191,3 +191,27 @@ This package includes the @command{tree-sitter} command-line tool.") (description "This package provides a C grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-cpp + (package (inherit tree-sitter-c) + (name "tree-sitter-cpp") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-cpp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08ywv6n80sa541rr08bqz4zyg7byvjcabp68lvxmcahjk8xzcgwk")))) + (native-inputs + `(("tree-sitter-cli" ,tree-sitter-cli) + ("tree-sitter-c" ,tree-sitter-c) + ("node-nan" ,node-nan))) + (home-page "https://github.com/tree-sitter/tree-sitter-cpp") + (synopsis "Tree-sitter C++ grammar") + (description + "This package provides a C++ grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32375 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A3BE527BBE1; Sun, 29 Aug 2021 11:53:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6B0CA27BBE5 for ; Sun, 29 Aug 2021 11:53:36 +0100 (BST) Received: from localhost ([::1]:42832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRT-0000c7-FM for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILG-000674-0r for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILF-0001fR-Ly for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILF-0000H9-Js for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 14/33] gnu: Add tree-sitter-bash. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630234022900 (code B ref 49946); Sun, 29 Aug 2021 10:47:09 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:02 +0000 Received: from localhost ([127.0.0.1]:55576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL8-0000EI-9k for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:02 -0400 Received: from mout.gmx.net ([212.227.17.20]:34677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKk-0000AM-Nd for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233993; bh=6vy3IoYr/SLa/e4w/SsJaHk5Zl4lutEoaiNrkF5/Xbk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=YlVVCJ0zwhBuztSsnsAYAuZlJ50RiOOVYIloJiqJ+z6am6yVRst2takXx9C6IDU6h UhynGnJwoyXo5uHzfEtS6KFC+fxBE61LmPky0Y0nZIZnxaCNJXXASr3d96xnRrE7vF yZQRYzZrflQvX9wJOzmmt14670NDzHpnvTXO4R0o= 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 1M2f5T-1mINK33bVH-0049WT; Sun, 29 Aug 2021 12:46:33 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:49 +0100 Message-Id: <20210829104608.3103-14-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:NRL9WSsc3depoe8ALyD3zor6juWzhJN0dGYNwnKxuzxEBCkHlQw ewq1yYCKIx3KBqTwEhOC9+6/l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n8MNqtB3DbwWx56oOb13epOLyJYITQqLDZAgvv7sf8V4NeC3wsotD6xuQ5Fg5D5 WII6Zb5XjIxn9e+LnWlz0rZCjLY57OwBAJNKhoDIG7OqGMhOnY5F9mKK1YFBbBnYFquLLiaaw Ag3qmTxgYCroWa54NGqcUCodgAldxQCqpVQIP2cYryxUD9A/LYBbqd0tArxIoA4xHnmULEBgj HEGSePIWOMg3vnVV+Wbp8lpC1wScsNHVGq2IkmGwQCh57MZ/0Pii0Bqhw== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-bash): New variable. --- gnu/packages/tree-sitter.scm | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 07bdb54627..f98a7d392f 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -215,3 +215,44 @@ This package includes the @command{tree-sitter} command-line tool.") (description "This package provides a C++ grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-bash + (package (inherit tree-sitter-c) + (name "tree-sitter-bash") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-bash") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18c030bb65r50i6z37iy7jb9z9i8i36y7b08dbc9bchdifqsijs5")))) + (native-inputs + `(("tree-sitter-cli" ,tree-sitter-cli) + ("node-nan" ,node-nan))) + (arguments + (substitute-keyword-arguments (package-arguments tree-sitter-c) + ((#:phases phases) + `(modify-phases ,phases + ;; The `prebuild' dependency is a way to intercept the build step + ;; and download a prebuilt binary instead. If we remove it then the + ;; buid system falls back to building from source. + (add-after 'unpack 'remove-prebuild-dependency + (lambda _ + (with-atomic-file-replacement "package.json" + (lambda (in out) + (use-modules ((guix build json))) + (let ((package-meta (read-json in))) + (assoc-remove! (assoc-ref package-meta "dependencies") + "prebuild-install") + (assoc-remove! (assoc-ref package-meta "devDependencies") + "prebuild") + (write-json package-meta out)))))))))) + (home-page "https://github.com/tree-sitter/tree-sitter-bash") + (synopsis "Tree-sitter Bash grammar") + (description + "This package provides a Bash grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32370 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A09BD27BBE3; Sun, 29 Aug 2021 11:53:01 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A430827BBE4 for ; Sun, 29 Aug 2021 11:53:00 +0100 (BST) Received: from localhost ([::1]:41940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIQt-0008OU-MG for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:52:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILG-000675-DC for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILG-0001g5-2C for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILG-0000HG-0F for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 15/33] gnu: Add tree-sitter-css. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630234023910 (code B ref 49946); Sun, 29 Aug 2021 10:47:09 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:03 +0000 Received: from localhost ([127.0.0.1]:55578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL8-0000ES-NY for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:03 -0400 Received: from mout.gmx.net ([212.227.17.20]:35831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKl-0000AN-0n for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233993; bh=sBQ4Zm9E512lrlU1CBov77A9FGzPDpEiUqAmgzt4qg4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=aKmvP2B3RR2kC5+ABmq3+pBTQ0XTu0WC5K5z//tBNKbxtQ/pM49bfOnVEWuKxQOud zWzxbraXyUUpnmTaa3jO3aVKqomHi33/eSPjlKRbzWltMBP4C6Nx4atTVv+fxW7a/y ZWk2oPkCj+kZokjlghTp9qJa6ClhmF4W4maJYFbQ= 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 1MKKUp-1mZuCs0c2x-00Lotl; Sun, 29 Aug 2021 12:46:33 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:50 +0100 Message-Id: <20210829104608.3103-15-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:/qvaUDfwQPbEh5rQ7Hmek2L2O2PziI5RpzAoVKnw2P2XRKJDaqi G7vqn9eDTsFH72d73wkHje2BykueAWJ05pdON5lSzr0R9quDp+fAps8t1Ks8tlMc0G3qX0H s3sPmMerOzstFFUMtVvmcJCZBXrA4qJnGoPoGlsAoUkUgCV/+0g0gfoLS78QB5tEbPfPo+I xzHYGz0yK7OxG2sdcZEJA== X-UI-Out-Filterresults: notjunk:1;V03:K0:78XOD5TU/cE=:4EWr1XrY2GSkYDLumlh6dU ak2u5X4I9FvilgYjGBZ4LfvTsuEikeDn0AyCX1zO6GJhO3Y4NwF/lMD0BAjK1QcY8CUOym8Q8 poFIpIh5quwmQpNR9waszWKDekO7G7ODHhBdlRrpYi7IVoh9gNpr0gMgm4uPYFtlPa++y2HDx ODUdQ4cZVtmru3IDSlR1+uW74L6IYbZectJvkn0uENPpdjchkRiThWNvi3oaD2ww95fWPQnj0 Gqm2RnbABf/MTFiYF/J9vrYhLpCOGzp373gsRxuyHddGB7NT9h6KS2+ELHScB3TA09SteZfGG W96dZTdyzF9POoez/j4L7h5sPePleqlO2cmWgLNLkRE2wRj2lD1mpr3Z8xJJcVNzfVJ/6J01i lgxi/xOqLJRG4IkOVC+c0XRduOzNLkTQIJxhjCzU4qsogTokbsNErW2B8WgBKfQba04kwY/No 7ZR8X6qd3MXTbsN1fDRiq7j6YIAAEfpaFnQRaB28oSRkfimf+MZhKToyeCr51O+rHz4mJNYIf a2oCw4ewXV6hfpstLTsor0Vwa4R812/i6B64A64lN9vNtrBI2AtnoCC/HtWLN503Ru+AGAqNS Zl+3k0OWjygPBZH0k5phH6d3Rj60V6IP7Nu9XIU9bTbt6a3NPGpuvS6CVAZGs+gdQPUjsmEHG ybSs9vpwK7BrsF8PxUz1/n/2X/LmIGWSWv3z3NBDzot3aBKhgfgxXERiuOsDUUo7/Q83jabWu LwfnXzMzL9cIvrvO4wH/zG37xa1VZ2sUyLNipjr5CWR/61sTqH0ySarkJ/ViFnTXAFPCwDEgi zHUH9uWYEsTxflzIL07KeMpP9S8siOA08e788N0Ka4caIwVD23pgq3aPwflTrNSINm4GLOxxu xr5uwstszEHzHrP7aYqIyG35zoRWPbj520SHeKCQivgVyHSZ0E/Lev+QgucKfg4BnqduBL2lx BWruqZJrFp+nLGEqIful9cJXfF0YWhAqnd0YKHtecTc7xeXcWad3njCFEZ3UFgSFlOuWlAgX/ MTobZRDhKrwiFIr+y0XjFhyajC0KRcBHJJWVYkc75f9rdC9+VNjsIA2l5DFHGhP3/7zZgNJec mfn0Cop/z4cmNt+D9ByMiWdI5Re5M8usbYYA30zadeF3KJ0rqfvWr9Ktw== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-css): New variable. --- gnu/packages/tree-sitter.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index f98a7d392f..592a61ed25 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -256,3 +256,23 @@ This package includes the @command{tree-sitter} command-line tool.") (description "This package provides a Bash grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-css + (package (inherit tree-sitter-c) + (name "tree-sitter-css") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-css") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "014jrlgi7zfza9g38hsr4vlbi8964i5p7iglaih6qmzaiml7bja2")))) + (home-page "https://github.com/tree-sitter/tree-sitter-css") + (synopsis "Tree-sitter CSS grammar") + (description + "This package provides a CSS grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32365 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E64F327BBE3; Sun, 29 Aug 2021 11:52:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AEFE427BBE1 for ; Sun, 29 Aug 2021 11:52:29 +0100 (BST) Received: from localhost ([::1]:41114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIQO-0007nE-PT for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:52:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILG-000677-RY for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILG-0001gT-Ec for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILG-0000HO-Cy for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 16/33] gnu: Add tree-sitter-go. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:10 +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.1630234023921 (code B ref 49946); Sun, 29 Aug 2021 10:47:10 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:03 +0000 Received: from localhost ([127.0.0.1]:55580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL9-0000Eb-2h for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:03 -0400 Received: from mout.gmx.net ([212.227.17.22]:40611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKl-0000AO-CY for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233993; bh=EWBnebpNM3OBdhNzVFkv39ZnKeZoAiZCfe14kQyRHmU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=CkkHolk+0y49mRyw97w+NOVHbh8KS+9QFYRu44GBsFqbelya0l646CfNaq+24N41w 3laHSM/a4AMuYz8wEbtk2oX1iuHe82knjOFJZkHOWZf4qWOBCpDQOz2EEGqnvejEPe yCIrJGvdNZTTTYMtk+VP27zyYHWNfHnSwipn55Jc= 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 1MnJlc-1mltKH1pSO-00jHpK; Sun, 29 Aug 2021 12:46:33 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:51 +0100 Message-Id: <20210829104608.3103-16-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:9S98DgeooSsGIw73KOLVTvzZgt9bLhFlNFQ8Tk4D3O82l+64jLn zUQexXcazJjk1mjM6QcNAAkZgzFdhw1XhOxuzbo2b2delEhNsc8uPiUFsgrVSJKBFGbh/6f rLNHeLJnBzu7Cvj3IwOetSGrr4ppdcg6ddoJ+8EFFfbpfa9F5gewPZKdxRioJb4hWSw4pzc 3Vamg62xTsdGROdTMOzdw== X-UI-Out-Filterresults: notjunk:1;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 8s2igvmTwS2SqAhOW03KYqZLXs2VjceCoSiQgwpvRl92LH3pOzD5lymSz7LjJ86AnMJ5dgEpA CIdGNFIKkHUhy8PejQh4e+aCE56XzwWRaYOLoRS+neUOxtfZa5uTkG2hg== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-go): New variable. --- gnu/packages/tree-sitter.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 592a61ed25..5cb3a0e76b 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -276,3 +276,32 @@ This package includes the @command{tree-sitter} command-line tool.") (description "This package provides a CSS grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-go + (package (inherit tree-sitter-c) + (name "tree-sitter-go") + (version "0.19.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nxs47vd2fc2fr0qlxq496y852rwg39flhg334s7dlyq7d3lcx4x")))) + (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-go") + (synopsis "Tree-sitter Go grammar") + (description + "This package provides a Golang grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32364 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 93CD627BBE1; Sun, 29 Aug 2021 11:52:01 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5E36F27BBE5 for ; Sun, 29 Aug 2021 11:51:59 +0100 (BST) Received: from localhost ([::1]:40266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIPu-0007At-CP for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:51:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILH-00067A-GH for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILH-0001gZ-7m for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILH-0000Hc-5Z for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 17/33] gnu: Add tree-sitter-html. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630234024943 (code B ref 49946); Sun, 29 Aug 2021 10:47:11 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:04 +0000 Received: from localhost ([127.0.0.1]:55585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL9-0000Ez-Ul for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:04 -0400 Received: from mout.gmx.net ([212.227.17.22]:55159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKl-0000AP-L9 for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233994; bh=PCYB42uD36O/DDBscvoOKWNa6YKXS5owaD9uplNvuKA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=E+wyM+6fIcN8B7lH51amBbBgYjxoCDI9j24o8YB3gHhwwMQov6vxdiUvT6gau1gsO zTjV1jwmN2G1pZo/ZLmLAcwx7jBTHxld7j6Kv4P3XXksi0iKnkhZlBd1DZ/PKC8sj7 +NVlwZJcK8W4z67KTo8poYEiK5w3E1LvWG3kQHOI= 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 1M3DJl-1mIvHo34s1-003bIB; Sun, 29 Aug 2021 12:46:33 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:52 +0100 Message-Id: <20210829104608.3103-17-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:FEfgHEzI1VVOxDHp6WC6G5jOxM2sSW7HG/Y7akP3AveR1lyZzte WTZya9A1avgljNqbTk4ncy49+5/rgh2ZBv74uK49zqKTD3d+xPuV9kkIJeC7kEV/eFB2X4D qVxDs6e9Wl2ljjoy/1QKJqzDJMutCznkJgYlYMr65h6AnzYXzw+RT6U04zBv/sjN0dLQStR BHqqe+aX5A9iv4/DwPHXQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:i3x2FIW3N2U=:CZIneGyL6xaOkEA9Z+VMMY YKnQrkZc+LsyF6z4ax2jXz4yzoUaLxCyjQATV6d6U6GX/+7/la1mKVBuVMCR8G9F20DQwbY7o BzrRDx8DYhBwOBjxUXTXLE5OutPPqoBKmuyLMymYdUIJ2qIQHaQv8CV6KU69uIrUAbZdAKVMZ NQO2wWdd/3yC2rKMtIEWTNVdFEM0B7I/cdAuYRx5QD6FSeuKRyeW5k62TeOsr4hoDVc3ks6vY QQ62aptdG/Y/KZVowYIhjnU0GSf67yUQz+Dv1OD7wTptJ2PacNKmqiMwGP4gPlf6BvqVLuyWc cw/08blQQ3XaElSyqj8Y/MHkIhEnqAnPufO+B5T3atE6acmIs3TBVvfFv5nRC4FBqL8EGKhRW DfMOejhOjvXkGsua5Vh8okKkfAK/AmK+HdcObGI0hBQ6a1YYWIeNYjiHe2ajT0p+YQW0hrXGH LzBZcMlnOtRS45Xq5Hdnu1NrJyUHKaQp5ZdVk7H+6fO/KCDUlN9bn9ed71KuLO4X0OiqCRVfO CjwX4d8pdji05WQ1vZsy/bZ47Fs6MaWgUtfmTAagsoLPgtvoo9PaUjikfknTiNKU9ikjZx7Ym cW96aXGNW8KEq7IB7oEHJkBgTVf+KbhoQ3n0QY6kbRAKJeFWH8KLPfb7PjLfy12+TcAEAjOmn /mfOjSSvofBJmeFF1C0ThFJXU4Z9PZoc/zvG8ANyE3LGxVW0sN6GMoAnuPGGO1hBwBH2cvIRE dLCBIty7zVRdl8gzsNUZAwNdr7rEkngIR32XxDTmIooBtpnoL+Kf5FJVZuXxx6KiTdzhhpF89 yGIk/CEdyODCacVCJu4m44dcJHMQ/yQ83hPp3QWTdeiY+z7zcsjWPUbQJ+oLCbl/0pQiBfMla pNNDucZMcvv7MGK1AVXV6nTxMiM74XiUgfILVfzTqe+bRN2b1K9/CYsi19Yr7ESoRUhgCwxyn Hl9A11vJGq/KnSvNqCOgtRrPWFlHVY17Rj6AxEKbYu8rrg1M5pB+iPZRZjH5auFuM55AAO2+a Mqm/NvwrH3Dfcugu0ERLGy9AUUleDxKeKdt98bG8M/9noxOHijrCMBItsMhVBd6aSVBQ86qu4 MUVZaGHBRTLblxu8QCVSZij6C6lS5KBDlb1/aY7kBSPPYTjooS/2B6MrQ== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-html): New variable. --- gnu/packages/tree-sitter.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 5cb3a0e76b..e2a0757e30 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -305,3 +305,23 @@ This package includes the @command{tree-sitter} command-line tool.") (description "This package provides a Golang grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-html + (package (inherit tree-sitter-c) + (name "tree-sitter-html") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-html") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hg7vbcy7bir6b8x11v0a4x0glvqnsqc3i2ixiarbxmycbgl3axy")))) + (home-page "https://github.com/tree-sitter/tree-sitter-html") + (synopsis "Tree-sitter HTML grammar") + (description + "This package provides a HTML grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32373 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5593527BBE4; Sun, 29 Aug 2021 11:53:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 046B127BBE1 for ; Sun, 29 Aug 2021 11:53:36 +0100 (BST) Received: from localhost ([::1]:42802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRT-0000bC-3E for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILH-00067B-S3 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILH-0001gz-KL for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILH-0000Hk-I2 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 18/33] gnu: Add tree-sitter-java. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630234024952 (code B ref 49946); Sun, 29 Aug 2021 10:47:11 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:04 +0000 Received: from localhost ([127.0.0.1]:55588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKILA-0000FA-Ay for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:04 -0400 Received: from mout.gmx.net ([212.227.17.21]:35853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKl-0000AR-UW for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233994; bh=4xJuuTKlcku5sH4rT0cPJK5IoDn0xtD4L/ETf2qf/NE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Q0XqY7S3HPOpyAOwVC6uwb+NxxFo1l1dxDYcQQs/DFS+dIjgvyRmGP4IFv8RhHJ8D yI79+9uycagjbIvBpYSr2xdt8WifDTVIQ4uccMx4p/JAwsRxmJsoDgnFKoP0Q98AbF iKj4ADgJupXxntc6O3ipuLKwK+ipiyON2i2oGdfs= 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 1M2f5T-1mINK106Od-0049WT; Sun, 29 Aug 2021 12:46:34 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:53 +0100 Message-Id: <20210829104608.3103-18-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:5UHI4Sx86FNRkImrtxuUYdpIEsYqthLfR1p6ICNLQpDXK5CZj6O 2B7UGfrD0tvh7JcR19lYHfSHQYi0fI7qm4rik1YRKPBeJlS0xxkpatwYjmfbyRGsX0tcYxP dCcglf8ZYK+PxqRIAonJhz4yD9eybcfyBoQn67yXhOHtOItTMbF1tMJD98y9pS8/+4fAo/l RwexzwsIwWvQwKREhDgBA== X-UI-Out-Filterresults: notjunk:1;V03:K0:HBfhtjoR2vw=:XtDr5vN1nkA+o+0fxoPx56 J9cuzDIW9Q61QWkw8ueVL+hpEDTMCN4oekTET5Hx75q1ujuY42a8C603H9k4I0zKGbXRSfsP2 ExKcF+ikvqUCXdj4cMTVJrSWiDvmNfr3a1rcsamXKON/GMiiYxgvrCNlBUyLnfeVSSWM3yTnc uxxsH4ipAq6Mii3VKrHx54IFJS/mzRBQjR8WpMEtKIFBMa4qSn/4x60Pak1XxP1tXQdyQqMSx hs/zVU9NqJRgkom0PrKsI1Z8Xb3WRNrErUxEMhCHAdRqO7S9C96FeGtkwAczieT0NkRRlXczH f2gVotHmLBuMUn1Hn2p3yc9HWqShcf1BC0rc7dDfTEcYOupagyg9b77vOjSNqy+huAVC42cFc zft1BGvpg8ifHfMkMBOx7OlD0AF8I+wSic4dQYTQc+qijSCxdAA0W4ED8DW+p1IF9dBFW52BE FpSW4sbhOmASyrRrclfsWER4lVEdvW0uvNSqft1+nMZPcEhd2MBx5KQuC1e6OzHQ6akJqiJuJ dL73SVxXTtC4qv/n7zJpvh8uuaSckJI1jfObLFMlg/Dl81S0FNyi1aDT+IMfbJcIDT8ILOgcY GWfwdWeKH+FcJYV1ZR2Jrv7K/66T1tP+uaG1rbIKNIrMNrp+jOyDMVFgjaVLJ9y6YTrLydR8s s0q/bnAufDvCPuqDnYXwS78nHrnaCLn8MSZvEzq1qqCZn8VTCllz68oRxSG1GiPJEVDKCU5Ny ib7c5tfLe0g07DVD2CCpfNtFUAhVAVEdgehbgEbrxh2ad4evUwjlXNGqhWmzbTq5EUXh1fZem 7rW9Onk4YsyvxeNfr6SlP/i9XER0T5KpSTUuuX8QTDJOH6kHtgl1TgePSFg8g7i5g/jH2KEKg +95v2peu4poUt6ldRvjWRt/Eqv0PXvF9QMnOkXpKBc6HHoYe0rEA6GSE3kofWcGgqebSYARGu rWumRMV6FsTd8okXdWQGq54wO+njvPUVzSzywSw4lun8MLbp1I1WxSYum1mFy/DL7P8OnsV+0 dpYRTw0rDEA95VTIvDZ+dPxVDLSuMC6fvb/pTSfn4lMk0oMTeSAwsiUsuU6jJDSFyFI0nxkUu vu3j0TnydlxtSYZ4VBk4edEEH7J76a1uc1RduYMTK1ty94EqWeQxVATJQ== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-java): New variable. --- gnu/packages/tree-sitter.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index e2a0757e30..174f0923f8 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -325,3 +325,32 @@ This package includes the @command{tree-sitter} command-line tool.") (description "This package provides a HTML grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-java + (package (inherit tree-sitter-c) + (name "tree-sitter-java") + (version "0.19.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-java") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07zw9ygb45hnvlx9qlz7rlz8hc3byjy03d24v72i5iyhpiiwlhvl")))) + (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-java") + (synopsis "Tree-sitter Java grammar") + (description + "This package provides a Java grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32378 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AC92727BBE3; Sun, 29 Aug 2021 11:53:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 74E2327BBE1 for ; Sun, 29 Aug 2021 11:53:48 +0100 (BST) Received: from localhost ([::1]:43676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRf-0001DO-GL for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILI-00067C-Ec for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILH-0001hd-WE for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILH-0000Hr-UV for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 19/33] gnu: Add tree-sitter-javascript. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47: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.1630234025965 (code B ref 49946); Sun, 29 Aug 2021 10:47:11 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:05 +0000 Received: from localhost ([127.0.0.1]:55590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKILA-0000FI-LK for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:05 -0400 Received: from mout.gmx.net ([212.227.17.22]:48083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKm-0000AS-4q for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233994; bh=xnJd3Sl3lK8AQ9+7S4G56gApR1414TV8ev9BXbCWcTI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=VkuxR/GCDnrTqhPeDg/CL3xhdiJ3DFkwm1A7MMzJUE9Sii3ww6g6lY92sSsIgtTOg +GuNB61YmCXPrANXHFiZKfgE1Lc2bqFUH0qoMu70lecxGR9VWnhT9g93ecIL94SYW0 nmwSs+JCmcBzGHGwwW/UacuY7j39GsxygFjH8sig= 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 1MXp9Y-1mWJS21K4y-00YD5u; Sun, 29 Aug 2021 12:46:34 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:54 +0100 Message-Id: <20210829104608.3103-19-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:gGmG8PGqVkWHD6NWyXqW4GlUCTI0cczjP43hW50W1rX/ml4mNml nuuJSvsq8XmrbGGJcJb2gYyEOtq3oAwoooAQxvpgtXu8Hw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iX+FTlTgihCoaPRJdZiXOpjjoWfSG9zFog9SGi94nQRESOn+y+ eddYzVHILvIzeUWBKEUTfbOtduj3+dXsMUQh0zVtAhlxHvZYn8/seMCWZ2kKEvfjqfA+l6oXN FsWVoKbcBrOHaXbLUckAy0u4mZmaYvzhkzHLtoq2VJm/1acACJscepcVdb59Ps2E4Tp3Tjhf+ udl/XYvtVatGYJVOsNsttsxVKSBJGmvpz6T15f6pM85dJfRpoz+cI6o8Q== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-javascript): New variable. --- gnu/packages/tree-sitter.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 174f0923f8..2be6b15cb0 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -354,3 +354,33 @@ This package includes the @command{tree-sitter} command-line tool.") (description "This package provides a Java grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-javascript + (package (inherit tree-sitter-c) + (name "tree-sitter-javascript") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-javascript") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "063va0s727yzhy1cz04fipzwwbq4af6fhgka6g970hk9yf7ggmnj")))) + (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-javascript") + (synopsis "Tree-sitter Javascript grammar") + (description + "This package provides a Javascript grammar for the Tree-sitter +library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32357 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 368A327BBE4; Sun, 29 Aug 2021 11:48:47 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AF6FD27BBE1 for ; Sun, 29 Aug 2021 11:48:46 +0100 (BST) Received: from localhost ([::1]:39156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIMn-0006B3-LB for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:48:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILJ-00067G-GW for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILI-0001i2-Ee for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILI-0000Hy-CO for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 20/33] gnu: Add tree-sitter-json. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:12 +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.1630234025974 (code B ref 49946); Sun, 29 Aug 2021 10:47:12 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:05 +0000 Received: from localhost ([127.0.0.1]:55593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKILB-0000FV-3v for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:05 -0400 Received: from mout.gmx.net ([212.227.17.20]:55045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKm-0000AV-Jh for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233994; bh=m21stkMTuP9i1VEmSLM9SHx/4GfpetrEfJ7H4ciZ4vQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=JSxrKqJ8Asm8u56vsjFYN7534gpeJAxHp0H6Yyarnfx00P3hUnsgCvrjXFW9336R+ x9XXfqHiU/Kb3S21/HRVOAWypBcrVBsHRJzcWTPyGQvW5vj19Vd7DpRNRY2pgGgHSp ffnMeGzCLr2nIWiQu5CCpk3na/yuE8QtUXyWLVo4= 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 1MZTqg-1mXxLY2Wvu-00WYP2; Sun, 29 Aug 2021 12:46:34 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:55 +0100 Message-Id: <20210829104608.3103-20-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:XX9nYRVDA8LwMx7KpipJsWYj7X/yFzPTQT60H4r873Rnx1+miL0 lJWcOaZx3EExPtrU73jpOnzKpZZp4hLUly4RWHWVPiUmTRjIKLmYK99/E2Dx3+Qe6F/Uwhu z983bw8sg4FGw6464z2MQYeyVVO27Kg+jJj0uu2N8HJpAeO6e8r9/V0S6Mhc2Vv1xltocN3 eF31g5WqSBSCnxJkKGY3w== X-UI-Out-Filterresults: notjunk:1;V03:K0:1nNmsM8OQBI=:ueQDzKp3ELm/sAQbf2AYz6 9Cl2drWDQBTi1J2xMI57yNhyh2+rDkJdQAahFPpZJm6C9whseTvRBa6iXxiLkh/qN9RClqWbj yJ4QqiGOlBSP3NtqKkRIbDSAS//ITAbApdEPZysMW76PSJyKcWFXfXYaQyk6emA85BsuJYdJW 0QXjZzHsveVjE7fBh5nluXxpW+8JNVWy7PtAWk1+EHSAi548KH/K+MfeTJgJWy9vUbaF8J0DT XGj+3Ah9OwDdCOEHhPCo3C8C6qkA+oIlaXTGmoKHgiLLwAdnXJIvfpZE04TJIqN71aRvajAN8 BCNqH3KpPlF3Qno2jxoiJw92n1s50QDTuPPIws/5ocAmPzBgZZOIneeD4Eid0vfQbuOadoQov ZLFIkH5YGDnTKDX997Pk2zdKXW9F/1bUPJ6RG6CIOElhm7lQP+ZVMznei5lUJmNv/BqboSoKM uMYBiGGeF3H2yDTIC1HRTwFvBJtq5WGqB5ri5Xzl0krOz34dc3AFpN9uePoiLIazJu4b/47/V CkQo0YGn/w0E31xI9I/FpEdRQo0cbp9iwEo1Ek3+PQw2HV6JTdw6/w0as7LQh8wnS+NfpQQTT sRsLXMsjcVv4i4Y7MwvUuK/ZHwT1FvgOHp2zArDFaQwOZfoJwmtTNT/a1nSZwlBr1rCxD5PuT x9WW5Pkv438UXm7OL0xExwEgHZ4QwjeQ+s2FF2WslMZ8EABfEKGkkJEGuotXwThTqXOLFd/tc U83pGGmjipS8aP8vHackLVkPHQAi5NNMo1p9J9LogfqawmAGqeyt7G8Ly+uFY9u/u5b7rMjzZ b/9KIY/FN3ymVb4JfCo4skKfRNZXvZ+lNNrY9ArctpsCDlgGEWgan6N2ckfvdjf1bRBKQkN6C 1RH7HCDwtKK1C3TQvfH7up5qKj+yT1+pPG9ngEl5clP1U00OsPJ0qMUH25xA0bZoOp0bIyLeZ yhmK1P7kiIDzYqmLPWuRgxQ0ARm72tUvd0eIVRYbclbPua8GG4a/IBgRPw3jrEL7CGE0Oocwd 2txIlwdlkSB10eMemPS2ELfHJI6JU1NiUfKoyLSAgRtA+LRC5tF+QApCSli4fA5MaT85/ggYt 7S6byQbIS2Mjkiv9VAAy79RX4VxcxcLGrK58fOLyBc18Eci9uNJaCmH/g== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-json): New variable. --- gnu/packages/tree-sitter.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 2be6b15cb0..74249b2aca 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -384,3 +384,23 @@ This package includes the @command{tree-sitter} command-line tool.") "This package provides a Javascript grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-json + (package (inherit tree-sitter-c) + (name "tree-sitter-json") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-json") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06pjh31bv9ja9hlnykk257a6zh8bsxg2fqa54al7qk1r4n9ksnff")))) + (home-page "https://github.com/tree-sitter/tree-sitter-json") + (synopsis "Tree-sitter JSON grammar") + (description + "This package provides a JSON grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32385 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 249A427BBE3; Sun, 29 Aug 2021 11:54:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E3B6627BBE1 for ; Sun, 29 Aug 2021 11:54:26 +0100 (BST) Received: from localhost ([::1]:45492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKISI-0002Sb-2H for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:54:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIPy-0007rD-Ih for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIPy-0005uv-9g for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIPy-0000Qd-7t for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 21/33] gnu: Add tree-sitter-julia. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:52: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.16302343041575 (code B ref 49946); Sun, 29 Aug 2021 10:52:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:51:44 +0000 Received: from localhost ([127.0.0.1]:55631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPg-0000PF-7P for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:44 -0400 Received: from mout.gmx.net ([212.227.17.20]:54315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPe-0000OQ-CE for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234296; bh=VNV99ple4T3Bggnsm1/C7/f3FszTLoaEnS7tX8NQzTM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Gj2RgK92Mup4R9iqFw1iNf/mK4vytcHWusH7PWcGVgVaqJzyEbHp7ZE3oy0Snrrzh kq4+dgZmBzR4crxGRiPlljCF1xulHSQw9scG4jvwzYRprQFSwfS7np8Fh57gGT2/X3 jfkkWvR5H0m7oQWOtyhYT/SMMIJ89+UnQzDY2o/4= 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 1N6sit-1n4p7c1wo3-018N5W; Sun, 29 Aug 2021 12:46:35 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:56 +0100 Message-Id: <20210829104608.3103-21-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:0oDvgvA9yD1qZI23ClhSs7nufKgiZKe3CilUwKoWh7tqEbOl/Fb wdmy4aL7rMa+ysrjNdtSzuhHFhLMZjwG1x3n1FJoeVrz13JkMOSVC5mlUcPglelBzkVx3sw 0mFmJQ0+8P+8j/c87uYBUYFnVvh8Cysub+2/EON8Q1jyCK4i24xIvh2ZFMz0s1Nq131ugMf OoocqQRFn2RTdd4adVPsA== X-UI-Out-Filterresults: notjunk:1;V03:K0:ffEyHADHyGQ=:A3BjferHWuDwy8K6CCxE/Z Cf4ndCWIGIPzq/eCwjwedwBEo5GkL+P0FAyz8dl6aXlk9ZiylTmK3Z1Jae7z249P91CN7Oa+g gP25nj1xZpL3cAzOHtccYBu+xDe7PQCYW0TPnaG4P3JJf4Fe/2Ij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u.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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-julia): New variable. --- gnu/packages/tree-sitter.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 74249b2aca..36831b00b6 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -404,3 +404,32 @@ library.") (description "This package provides a JSON grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-julia + (package (inherit tree-sitter-c) + (name "tree-sitter-julia") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-julia") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pbnmvhy2gq4vg1b0sjzmjm4s2gsgdjh7h01yj8qrrqbcl29c463")))) + (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-julia") + (synopsis "Tree-sitter Julia grammar") + (description + "This package provides a Julia grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32376 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4896D27BBE3; Sun, 29 Aug 2021 11:53:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0F5A527BBE1 for ; Sun, 29 Aug 2021 11:53:40 +0100 (BST) Received: from localhost ([::1]:42964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRX-0000io-3a for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIPz-0007sr-C7 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIPz-0005w9-1w for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIPy-0000Qs-WF for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 22/33] gnu: Add tree-sitter-php. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:52: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.16302343051600 (code B ref 49946); Sun, 29 Aug 2021 10:52:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:51:45 +0000 Received: from localhost ([127.0.0.1]:55637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPh-0000PY-0t for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:45 -0400 Received: from mout.gmx.net ([212.227.17.22]:35591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPe-0000OS-IE for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234296; bh=t0RWa1UxeqzH8MRS4ZDM3LQ8CaHPyHDeRunP/ahO0uM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=O9Nz+SZSg+mPWsjfC0SIOjizq5ZrrdSZhTM7ny2euW7Ct8SLqYxX/Qxzv25eO3D1P 7uo+M6V8nzJZAIiunqkCV8aOg9H8WTyG/AGS9UzgoQ1/QqblN2fpUwcKomBFU8rgPv EQJgJR5c1WK1FUsmH+XARhgTvC07TdWLzCYjjfoM= 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 1MKbkC-1majHr3Dg4-00Kzej; Sun, 29 Aug 2021 12:46:35 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:57 +0100 Message-Id: <20210829104608.3103-22-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com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bQ8vb6 jv0War7F3Paz2gATeDgg9s0pekyCxGA5L6XDXS1MxtaEITT6WxIoiTD93Uu3krM5QAWM7nK9O csQ660iLbtGs+oXQ2H9yw1qm1e1FjhaCMrCFSpQnUN9nv4YWTY7DYWgnhxHF1ra7JlBmAGfg3 aEP2MS6X+H3PZiTX3izI2QUDUPD8z3McYReyV032HPzW1D3xFEvSSvBoFLSrNCeBgTix6WoTf 1MKwWqQOUQuGvT7W7a/KuGmqHx4uiIh7w8lsCoQdzDl1Pia+5ExW3UID20ofzRSa5n2b+Qgdt UY+NnarrVzMERTXGy1RHYYxOOzHLRNhR4+CNOGOdVN+VjtcvtocPO6M/L87TjyA7jBqgmGEa/ sZcAtgjJkRjwJtCdSqNK625TESjS4AR7Crqdx1CAgkAc8shFKFudgDIAw== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-php): New variable. --- gnu/packages/tree-sitter.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 36831b00b6..d717bbf7b0 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -433,3 +433,32 @@ library.") (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 + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-php") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "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))) From patchwork Sun Aug 29 10:45:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32372 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 46DE427BBE3; Sun, 29 Aug 2021 11:53:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0AF9B27BBE1 for ; Sun, 29 Aug 2021 11:53:07 +0100 (BST) Received: from localhost ([::1]:42126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIQz-0008W4-T2 for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIPy-0007pQ-3Y for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIPx-0005uG-PZ for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIPx-0000QV-O8 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 23/33] gnu: Add tree-sitter-python. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:52:01 +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.16302343041568 (code B ref 49946); Sun, 29 Aug 2021 10:52:01 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:51:44 +0000 Received: from localhost ([127.0.0.1]:55629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPf-0000P7-Tr for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:44 -0400 Received: from mout.gmx.net ([212.227.17.20]:36871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPe-0000OP-C6 for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234296; bh=V027JpTlnMt1/5JoHP1SMYx6feAuFgU/UbtIbXbZQ3c=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XVRG6u15kcw0oJrC2ybsm7quBYVhyPAfM0qsfonAaxZySwOV0Jy8eeDXg3rKvclce pLQUvM2QhCeIr00LJczK3druM0qmiamyVEqAyXcC7VMWOlmAQyUisZGEeEaVuELJA3 BrR8OgqWac1ubYHWcWprKjTm3O7dEhviCsD8nEGY= 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 1Msq6C-1n8y6m0GZE-00tEXt; Sun, 29 Aug 2021 12:46:36 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:58 +0100 Message-Id: <20210829104608.3103-23-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:BsvmADWFAmc+BM/ClGPQEBJGhDyqhXA7wRqSACLGMW+ASslMR+k cQ8IdD+/BhXHISt2casMDW9iKbPVVZUgO83uasVXRFeAdcGiJmb3NFdnc0NvNqcQ+1Ku7yN 87nA+fJiYQJ+WdAAXlH202jnsVz0/Ee1ff3hIBmsPh9Yd6ssKvgMTdhb3jQZm9Mk4XP5125 ST25RHg8/0mNPfKIwEpUA== X-UI-Out-Filterresults: notjunk:1;V03:K0:bQzDWUZ0qcM=:DG1N2IxVycyshjafrXqulz vR808l6P8I5z6Mt0negG1pGOsl/m+8BNFwxkWIfhEmp9xKRAXsiz/hzfsDTbJcIDUbp0Z01Jf ucwfSsQUGmxdI5uJmFhPc52ybYwgmpP5RJP27SrC7nhJ5PjHmb5KP+Y/erAixOIdYOzRzjZLd fhcwMFv6vF3ugywg51rUi7BtUbBDLFFQxHq31iTbRUhGqsXAHu6dbz9EH0tjGXHlhVVevGI0t ecgp8UvKeZUnTMEWU6YJrJ1e5Wx467SZvgEszYsEgSVXjgW0X7RNN6ZxwjZk6V1UZ3WVRzhkt GzA89GHsvCoUwwJqe3ZKQ2FjjxAylWrY4HJuR2hX1iRy+yEBPBvbsN4eV+zOFXgQ8m2Tau9A3 xoR0W0SHC4ngSMye8//XuT8cuxMrfRfi6ix82tZ/ZOeIfdPLAhraor1R/ElfF1nlLRa4uAufs 6qweEAArfGDRmvR6OUc96lzhaPZk5ACfKOjH2FqZUIgWDaQ1AciZP1I3vNxNlFH5foHuwvB5C BSkEozY4Hi+5V10Uuh2xeYPgaj1B6SuE6+gi4u8nmKszK/ve9/L0PTOIJdcrzap8AHI5F5Tyo VqyoVHiIZs0ZzGUxPrnuH/B9K16sDcKcoGHrsL/1QtQ3TFK/EQFN/H9ArI8EFDGXSG9Li+Ni2 je9V6HpdQBO4s29WFNcG3T7VZDpVbGJBIc2v8UAoMdDNDcZEAf+IZsPa/RXL3oePD0rwRq1lh 0S5vBl0m6tphOvv8dwgHBAMxceE6DmuIQIBSfKCZj0wSe1yZULUgtS87xlTGls+vOmyLKxQxL EqSG7EK60sh0nI51hFurh9odHaEUF7ajlkxk5fafFLx41mbAqRTG5Jk6vtNuTfq8Ayfr8oEav HWIJwiyQt4DLQSk1ACdM5+OdXkJ5QfuUAzYqZiV+2UoFhDw4yXQ9IhlIlevQ0jwFM5UhPs5kA Rmid0oguERgrsXHmM7IsB/H7g6WozU/fcGOlb96G7grN8UMoXwEu5qQOocLHFOA2JgQEGhxXZ /RHrFIPZXIYaCKO9nooyAkxPj82M7Ve/Sa3nf+7wxTxX4ByX58a/31lqkZw9xJumksFvJ3PsB 6XSc+0I5jEy8dtbdl96R+PnHGZpp/gWUHjtQXqJ5lODSXzwNRlIB2Ocbg== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-python): New variable. --- gnu/packages/tree-sitter.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index d717bbf7b0..ae8bfcd9ff 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -462,3 +462,32 @@ library.") (description "This package provides a PHP grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-python + (package (inherit tree-sitter-c) + (name "tree-sitter-python") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-python") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04b85qxqs64x6nhbpcgrzkbilxaiwvr9yd3h065rynv7rsdg0hii")))) + (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-python") + (synopsis "Tree-sitter Python grammar") + (description + "This package provides a Python grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:45:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32383 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5809627BBE1; Sun, 29 Aug 2021 11:53:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8592227BBE4 for ; Sun, 29 Aug 2021 11:53:58 +0100 (BST) Received: from localhost ([::1]:44564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRp-0001oD-LM for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIPy-0007sM-VQ for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIPy-0005vJ-M7 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIPy-0000Qk-K0 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 24/33] gnu: Add tree-sitter-rust. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:52: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.16302343051587 (code B ref 49946); Sun, 29 Aug 2021 10:52:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:51:45 +0000 Received: from localhost ([127.0.0.1]:55634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPg-0000PM-HE for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:44 -0400 Received: from mout.gmx.net ([212.227.17.20]:40019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPe-0000OR-Gz for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234297; bh=OSUE7uIpTzONfHqB5J/MkJGqtuZAscGHUl5nLVL54DI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=fi2GBTxpm4inqT9xpBgXHUp9IMJkR1sfhFeMJDPjikeJw7bOG1GopkFz4TLcwIBys vikhFx6zi6LvxZZyUWk/ukZebYIH2kPVj4aeHktEzjQcyRKPYkdsEdOGenr53RP/9c 3MPpSXX7xl4n30x0hD5vz+44Q6KCcDZo2NDJNaQU= 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 1N6KUT-1n4H9p1alF-016ivc; Sun, 29 Aug 2021 12:46:36 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:59 +0100 Message-Id: <20210829104608.3103-24-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:x+lSyW7Q8q5UCvVFDrKzDvweNNiKaqA1h+mdeTmpYIh8Jl+cpKk +dqOtkplP2/ENPJfOpkkmmhZQSLgiQpfeM8KTq2sotIf1yH989avf5Kz6WSXe4N1IUDlnU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6wK1vuUgRW4hZIq6g1lNnAZ9hJPsSDFKcmR H2Q2C07UgROs++qVl3cSl3j/YlwkdU5BR4POoizkpXN9st637/5ODGm+04X13HbgRSC3c51mX p9o7/N8tpgvGbSt63DSK0q6u7uWI4DJ0X3cxrGx9cLSckmdLgI3cYVsDJNu7yKDyXXIzzLm21 bBws9a6uyQ9sWxBE2fPWJW2Zo9AeLYkSVSGbwu0DliG5TK1Ky1zE5XJcw== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-rust): New variable. --- gnu/packages/tree-sitter.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index ae8bfcd9ff..8456a15607 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -24,6 +24,7 @@ #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages algebra) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-io) #:use-module (gnu packages node-xyz)) @@ -491,3 +492,27 @@ library.") (description "This package provides a Python grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-rust + (package (inherit tree-sitter-c) + (name "tree-sitter-rust") + (version "0.19.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-rust") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "118vkhv7n3sw8y9pi0987cgdcd74sjqwviijw01mhnk3bkyczi3l")))) + (native-inputs + `(("bc" ,bc) + ("tree-sitter-cli" ,tree-sitter-cli) + ("node-nan" ,node-nan))) + (home-page "https://github.com/tree-sitter/tree-sitter-rust") + (synopsis "Tree-sitter Rust grammar") + (description + "This package provides a Rust grammar for the Tree-sitter library.") + (license license:expat))) From patchwork Sun Aug 29 10:46:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32379 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8D16B27BBE3; Sun, 29 Aug 2021 11:53:49 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1D10927BBE1 for ; Sun, 29 Aug 2021 11:53:49 +0100 (BST) Received: from localhost ([::1]:43718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRg-0001Ef-0e for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIPz-0007tB-OO for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIPz-0005wI-Do for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIPz-0000R0-CY for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 25/33] gnu: Add tree-sitter-typescript. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:52:03 +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.16302343061611 (code B ref 49946); Sun, 29 Aug 2021 10:52:03 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:51:46 +0000 Received: from localhost ([127.0.0.1]:55640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPh-0000Pl-Gd for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:45 -0400 Received: from mout.gmx.net ([212.227.17.20]:53075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPe-0000OU-Ss for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234297; bh=XEVsE5haDqyTF5sJmIF4ELU7bh7XBDWzcbkWvjd9iio=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Pjld7V/szvsmCGohbZN93SytLqKDLWQtTqHTHALvGUrbn9qUa3i3AFEu6oWMv6mM+ yqn3tY6w4fLcQlMwYOaGYrexuEZtrv7ZSF8kgu9ZWTiEVNkezARhBHeYXymuinVh4c L6nLBZXUvJFAN5cISBoxxZuuBFZnWojV2ahem1l4= 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 1MpUYu-1mo7Jg2tf2-00psUz; Sun, 29 Aug 2021 12:46:36 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:00 +0100 Message-Id: <20210829104608.3103-25-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:aEQA2Hq+oC6Kav3qhssM9yHe2/LFSqOay6NmnnYsKNdCAsuezXD uWBDvZ5ZRXzFcpS10nth7HeHBnCbIOly8lhhm7lYiNtsgvhka2/Y2V2u6hfuatOCRbCtCT6 ElWTmEG5Lwk0T18uJuIs/5hZFoqRTi8dNPdWVuY0MAgU7fyx4NEIfL5xhfcIxbSyE6gNKPd MdAGvrXGhFR3ZyZsykSig== X-UI-Out-Filterresults: notjunk:1;V03:K0:YPgCtautpBU=:YZBajVYazJ3EFW8Amq0RXi izvu7llqCoGjNA55hez+XFq/TxcfUJco8A22Pt7b+w5qSJ6mdBh0IMN/hR5u0I6FHE0PufS1L eT1M8dsC+ixCdj9EGKo1fwMDKn3sw3FTBz2Ca2GaiqPQa8xY+fAHuplabYhmzUuJepX88Kuay eYK2CGjV4lLfkllm9e0xc3hL4PkxVT6rYAicPCOEMIzxWII9NeIMnEN1wcxre6cxJoo4tcK0Y MtzfSW1tAbmMN1/Po2K7umOsvxM1qK12Nsy6l/usD7ZhjKTRA//anxVHSBEb+2cF4MdgDka1b 6D2iymFSKOT7wqiWeuYkM+Dzbzolv3zZTHCtsYHm8fSliepXzcWwrIlP22peBWGXRWI1R4FLU cwYy/GTDGUBF6eI3MPg2Tboso0Gpb5KVUoWhOyjyMO3jXgyoN1oDo+5i62S8JpqJZZe574VVA Mw3nPAHGKBzUxMX19gnPjkT0deqpfxnmh3rr2o+dbePyUiT3qqHUY8uiRbnr3if6FMQTKkbiF mua4iWW/GMLRKrMV2VVCnm/vhSgE4521giSceO2PQeF/dBshPU1qIH//5oob8rQp5TlxJXn1q 89ltoF6rSP2i+gPeUdv32O4KmicDAuC5lBnlu3PMyXl8MwgDHNt4ZCETiGKksvkP6sH8GFrEY G+HbakrP+Xd99g6kE+G6uK+lbcalnR9+oKcEip3lj0DPkQM8WAR+otewB/SOP2hCFIwslUz8N QIXsz3vASvawPkijfJWQe+dXRDXMjV4UZN0H03thTtqOetccuGcFrQ/NuxHEb5JJxY+E2pGmK 9djbSJBw7eIImqz0mB+AlPiRFzmQLDAj+4/WRP+LxlCtS4ase8YX4luV4KTgYQwHMS6HQrI2C j6kqgrA+NsiA2zr0wvHka1pJ9v0RkXiGEPaC4chdCl41lYJRl8qU+AYZvMdC88uy09Z6EsSj5 qU5mgQkKEqgAG3cUaKbMagOBxRDeNrSktA68XqmBJzSQsRpWmFoEq//XSBfrcdnMmGwiKGRnk MfhcbAcePQwli6cNgNFWiL/zeWeNG9AbnmJRprRSNrEjrYuxjLDsS99U2wac0bmF7WrKQ/zM9 NJzJSCCUpTZHGs6DdMrjLLSa+cnjyj78BLANQHz7/cyQ2fPlzmR7qt7qg== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-typescript): New variable. --- gnu/packages/tree-sitter.scm | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 8456a15607..001322dd84 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -516,3 +516,63 @@ library.") (description "This package provides a Rust grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-typescript + (package (inherit tree-sitter-c) + (name "tree-sitter-typescript") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-typescript") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01pkmwwmbv6kxda0n6g4cfg72ldmpi9gmp11a5gygn472vhrh2xw")))) + (native-inputs + `(("tree-sitter-cli" ,tree-sitter-cli) + ("tree-sitter-javascript" ,tree-sitter-javascript) + ("node-nan" ,node-nan))) + (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") "")))) + (add-after 'build 'build-gyp + (lambda* (#:key inputs #:allow-other-keys) + (let ((node (assoc-ref inputs "node"))) + (invoke (string-append node "/lib/node_modules/npm/node_modules" + "/node-gyp/bin/node-gyp.js") + "build")))) + (replace 'make-files-writable + (lambda _ + (for-each make-file-writable + (find-files "typescript" ".*")) + (for-each make-file-writable + (find-files "tsx" ".*")))) + (replace 'install-native-lib + (lambda* (#:key outputs #:allow-other-keys) + (let ((lib (string-append (assoc-ref outputs "out") + "/lib/tree-sitter"))) + ;; Invoking `tree-sitter test' loads the grammar which + ;; compiles it to a .so binary that we install. + (with-directory-excursion "typescript" + (invoke "tree-sitter" "test")) + (with-directory-excursion "tsx" + (invoke "tree-sitter" "test")) + (mkdir-p lib) + (copy-recursively (string-append (getenv "HOME") + "/.tree-sitter/bin") + lib)))))))) + (home-page "https://github.com/tree-sitter/tree-sitter-typescript") + (synopsis "Tree-sitter Typescript grammar") + (description + "This package provides Typescript and TSX grammars for the Tree-sitter +library.") + (license license:expat))) From patchwork Sun Aug 29 10:46:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32382 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1CB6927BBE3; Sun, 29 Aug 2021 11:53:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2366C27BBE1 for ; Sun, 29 Aug 2021 11:53:58 +0100 (BST) Received: from localhost ([::1]:44568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRp-0001oO-5e for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIQw-0000Xx-4T for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIQv-0006mI-Sn for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIQv-0000Ss-N9 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 26/33] gnu: Add rust-bindgen@0.56. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:53:01 +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.16302343361708 (code B ref 49946); Sun, 29 Aug 2021 10:53:01 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:52:16 +0000 Received: from localhost ([127.0.0.1]:55648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIQC-0000RT-0w for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:52:16 -0400 Received: from mout.gmx.net ([212.227.17.21]:48015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPf-0000OV-HH for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234297; bh=2PseSKIZRZI3g0UehygKSiMcdSF0bGa0Prp1zuBNukY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=JuI40BOUTP1zLauvXf5zDuHRzrRjNj67w/Y/Oj89syICCMrk4luT+aGFXK+3u8tbU LRLwVgaGAAisntlSgoU0kik6+/d1SrrTNZe4nD00uJVEOdaYAzkILCQXVtUqHiEchx RrUOmfPDT2LuZNRfO9Td9F0DJ5mui8tDOB+PnFkY= 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 1MbzuB-1mri4Z4C23-00dUJO; Sun, 29 Aug 2021 12:46:37 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:01 +0100 Message-Id: <20210829104608.3103-26-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:Q8klWj/Dl6n7LA7eARrJzDwZD8ayR/G5qwy82CqdsUfp/U5+q2w ww3pHKlZ8daZ+oWd8j0/EuiPogVAAQat+aynKg1D/akumsggv9IV6dSHmEtZdwnMl3OkfWE xwhzKtJCaa5P3i/BezXuFeq7FmF11W/ilf5brnJgvjfTq9jh1Of9YtRLIitiYTfuTxH9RGq u++uvFIg6EdfPLFrxYM3Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:FYJkpTHgy0w=:oRWzLZoO/iQ8nzB79zCo5S DuQ04EkQxNSKmApDST29R8DIkM/ffD8YLOWT6e9QD1+Lyf3vjN36dMcZPE2yoLULbjg0Yz0DB CFlzbw+hdxcqzZqIxaKzY4kqZyuGxGIt5GxCOjZoe2w4iXh4VfvzA6Q8j5tfsKS31ygdIiZvW syCCmgGKuEpVzPE42hEAmOlyk4pXC3aahmboMovIK5KCgSg8AWwz+CSLZQeQ7f8rKRetV0orp 6cYU/U4IY/e02FOpdDa2zh2nsrFkQH2OY2oQZLFYDynchPBoIWf+gVcV64XSlbcDSzehhUMK5 x0Pbmm8HGX6KtZh9mpynE7x8QLvrQJ8O5yPcvVHMBCfO1Evt6vz+wkPejju7qysFQ7J8FXpvZ gjO3X3BDkrS+m0/NpcTjYuFAVv472w2FG3UmZB8BqbE52acliGK81v4hD+FBUNkK7wKQMQC/b QMQ00M3YFUglCL9uwEyZqaI7Jl8XVX7J9yi5MI6y8dL1PQQ9X/lM8MfKd5pDQnotR995wIxEC WLDD5HqZZXnYegFBcpDTs+fxTXlY/ko4TlWyU/FAKAB4NwA0pPHId84y8j3NUFR64MPGc+djX B1zCfPvULGP/QeACcYxqUy1jZazgP10ZWoDYd2QX9y6QoB66qOQidyoZNKY/sHLRtEdiJWjf9 Aw5NmMHNsBmlMDUY5CioalP1dbza9L+6RAI64e/goGCxY3C0LcuEm07uy341Jl+qfQlIOrhTu k62CHRAT9ldG/1GTQDCzGfyzDoa1s2MdVspfdJOJzZI9JsgYFxs8tkFjbyG85/VKWAMVnf1oO KMTNs6mp8T3CyGG2gxV8FsAqbp+t2tDypQ83c44mgudc1wlHChUcs8xHvUil3Qx0MbSPGyi4X /8OAqnX5+CLth7N6uB5LD5rRLYCdo34gSF2YWmoZzMGkxvEwCUHUv+cIqE/OwZgrA0apdZzav tifVRNawEh89UEvcDt5dKVj9Yftk2j8mDcj5wd9VbGdpFftR4tdwXpERrRa0R7/RfpvMOo4JA udCJAAvgdZ0FCmvg5V+zeals0aGRlWtcMt9SSe8CourwBW0vt/tgyg83P80SUgCQ0k1CaG7ET tNxPbJdgZSGM91TIb6WAi1LUWbIJOrp0ZF89CnhOtMV8bAEfShIjuBqDQ== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-bindgen-0.56): New variable. --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 476d35c241..f769a8e9a5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4541,6 +4541,43 @@ bindings to C and C++ libraries.") ("rust-shlex" ,rust-shlex-0.1) ("rust-which" ,rust-which-3)))))) +(define-public rust-bindgen-0.56 + (package + (inherit rust-bindgen-0.57) + (name "rust-bindgen") + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fajmgk2064ca1z9iq1jjkji63qwwz38z3d67kv6xdy0xgdpk8rd")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cexpr" ,rust-cexpr-0.4) + ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-clang-sys" ,rust-clang-sys-1) + ("rust-clap" ,rust-clap-2) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lazycell" ,rust-lazycell-1) + ("rust-log" ,rust-log-0.4) + ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-shlex" ,rust-shlex-0.1) + ("rust-which" ,rust-which-3)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2) + ("rust-diff" ,rust-diff-0.1) + ("rust-shlex" ,rust-shlex-0.1)))))) + (define-public rust-bindgen-0.55 (package (inherit rust-bindgen-0.57) From patchwork Sun Aug 29 10:46:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32374 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6FD7027BBE3; Sun, 29 Aug 2021 11:53:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6714927BBE1 for ; Sun, 29 Aug 2021 11:53:36 +0100 (BST) Received: from localhost ([::1]:42818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRT-0000bj-E3 for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILJ-00067H-P6 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILI-0001ib-Qx for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILI-0000I6-Ot for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 27/33] gnu: Add rust-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:12 +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.16302340261002 (code B ref 49946); Sun, 29 Aug 2021 10:47:12 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:06 +0000 Received: from localhost ([127.0.0.1]:55598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKILC-0000Fw-8A for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:06 -0400 Received: from mout.gmx.net ([212.227.17.20]:46555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKp-0000Aw-7q for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233997; bh=bXsLp+DBWusk8VE+m6N7+Fdl8EXV2N2/DEL3B0dm52A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=EtldtzHwU6SsZ8bAihT4COMztZIbfxuH0cEqYhkMyLdSV1CKZxSHQiaj9zxKrKDQl az6J2sIeT+LadOQxMoz/5+PWVPk7zO+PQ6sCv54j/0ZSVBfCUGkotGjHwLbmDBSqlB PVoGMycBxOTunuFef7J3AuaZ2UomMKFK5A+U7Lnc= 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 1N3bSt-1n1VCY1KyJ-010gWc; Sun, 29 Aug 2021 12:46:37 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:02 +0100 Message-Id: <20210829104608.3103-27-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:Q7/qhjfp/vEhM2yo//gOL3TFTKN+mvIO/ZQlj+W7YrAZcNaesGy HAYUF053NFUYP+HY24wMau7IoER+24tX6wf1bCNm6ckSyD3meLDGpRWhgUIJpJHc4Nq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o4ZE+dSpU94QHnerPp+lBalg/srCAvcmPaF1/zgt ojg8tMZ4/Ym4DOH4v4q+zNFKO3ljaVaLRC0Rov8+4D+vhwSc1HPdVEHQI0Wo5+e0XNguFAcT+ fsBRRpceynMFkQGBFBNY+MAdY0VXocgE+hi77ht5Lh2Lm0A1LF/qrSNLQlId7enOUoYR2rXFl 2bPzX2DjnHyoR7lDaFOHOlnwNio/xft98cIRlldGwC6zvLEGl7r/4ir0w== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (rust-tree-sitter): New variable. --- gnu/packages/tree-sitter.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 001322dd84..3357fce4a5 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -21,6 +21,7 @@ #:use-module (guix build-system cargo) #:use-module (guix build-system gnu) #:use-module (guix build-system node) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) @@ -134,6 +135,32 @@ can be embedded in any application. This package includes the @command{tree-sitter} command-line tool.") (license license:expat))) +(define-public rust-tree-sitter-0.19 + (package + (name "rust-tree-sitter") + (version "0.19.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "tree-sitter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h6adq5kqf4izzsklch5lfxx2aisxga463zz7w44rgwnck16wwmd")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;; Running tests misinterprets comments as doc-tests. + #:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-spin" ,rust-spin-0.7)))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Rust bindings to the Tree-sitter parsing library") + (description "This package provides Rust bindings to the Tree-sitter +parsing library.") + (license license:expat))) + (define-public tree-sitter-c (package (name "tree-sitter-c") From patchwork Sun Aug 29 10:46:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32377 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4120A27BBE3; Sun, 29 Aug 2021 11:53:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F0E7F27BBE1 for ; Sun, 29 Aug 2021 11:53:47 +0100 (BST) Received: from localhost ([::1]:43628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRf-0001Bi-14 for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILK-00067J-5p for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILJ-0001jM-Pp for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILJ-0000IL-Na for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 28/33] gnu: rust-emacs-module: Update to 0.16. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:13 +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.16302340271016 (code B ref 49946); Sun, 29 Aug 2021 10:47:13 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:07 +0000 Received: from localhost ([127.0.0.1]:55601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKILC-0000G7-M7 for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:07 -0400 Received: from mout.gmx.net ([212.227.17.20]:41007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKp-0000B8-Iv for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233997; bh=UxMgRg3l23I1MXc9hdZhj+QH01Exdpug6A4mE18S1nY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=SKW8n9jzKOkguB9leiY+KSBBxr4vd5d9agTAbZxkEutS03NG8TrQhjyhkNNAdNtFp byw9nXMDhakWtAUr9BoUYN6vxqhyPsAju8xMa5OHeDpPyfD+5p6OUW79w7hUk/ziU8 WUcWqc46+9hNnFLgaIfLKan5zdbf+roKhtruqSqw= 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 1Mel3t-1muRtg2s7B-00aj9s; Sun, 29 Aug 2021 12:46:37 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:03 +0100 Message-Id: <20210829104608.3103-28-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:779o6OGl43YZN0M0p8laPhGtVuFgvN0YnH40Rhq/82P0+dp+otY EoXBtYLRP1uyPP2foWPZlgib6XjvTADVlnrmTuIMAGWHlRJThtorBzGVL+omXPt0bXQxzDJ ZN5gelx3sTuKzlZsBghggGsJMiTRcL8bNnVSe4e8OROzszMXw6pDWaVjGUx7I+w52wbfmc/ oh1gx+qrBBiHXCV4sdmXg== X-UI-Out-Filterresults: notjunk:1;V03:K0:0+1XhJrrkKo=:8Obag4AyOWkIyt7QPMpnkc x6v5XeEXiRhfs8NB/ekjgUe8Cl2LsELUYo9zoTKW5hRe+9nNgqIsNgYJXGebKaCBdqj1/qmnV vHniekeAtnPvrzXpRYPHnTVjztRiSnUtllSE2n7P6yXYtvT3GoXRouh18LF+Z3c3djwj5LPel P57SNkM5SeM7vsXI+qUx+14/9HOdqqa5LZeqgJOHFSsv/PZ3tVbAK0O88uj3dDqwXs9vD93Yg zlsEBZYGxE+knMQlgQOQ0tLJYeFpJ+MHStoZhV/Wjt09D0vmzXgE3Oh8JAP7WtsojwmVY4YXj W8XXpsb8gxRf5jq47Ed7U5HVltT0h50aW6uC/iv7DqdOc6vM3PvJrKw6R0+b/MG97LlcMMgDJ mKEjEU/HF1v3Dwo+WkfL6x5Mz96Kq1QhKOeaAwrZ94ApXuYmviN+0kIooVNHT761gbHM9MGnG ZVE/pDg10eMgE3P/EzJSZn4WcCMrJ5mZOv/MLJx5wbY3tQ34z9qGnGfYu3KthqWOAxR3Vi94O meC5o/5Hc64bVHqNj3dke81QJBtfVrLufizS2m5EkYSqbw0yGJ4adIpKCdAQhuhUFLY5BfEd/ Vza6VklJMxqhqVs5ZyzOAOAsbgey7i1/+IaqtNLXxl+i76XTLtxls9vz8IbZqqzs4+naVIrvR A67VoVgJiGVT6ZtQxib+QvObHPe/9HELZ8t2UZ6n5+BxA852+r8nIOSdEQPqS0spH8nrw4bdV yiWhzuIc/mpXzEENlja9N0FrfiU33xGwph6o38uNLEZah1Pi9FH4gIxVy8CN++J2Wh2ee5kV3 +9zW9syaDbo/oNXO8FfVC8YIg1QfUcPi1lzVya+JCkZ2RxI4TF/WYZ/MyD3dQQLs+EuSyAlEL Q7xBzCqmiKlCgdWFGLq+9GvvZSnc0OyRLCjw66S3CdG1CdIhNxMOKPHv0N5TWjr59Ap0cvtVX 7/LWWQ5e4vq0JoI3iC2ErMF6yCLQ+Rkxv+w8ujWG20anfsKkVSRHJCueljyZTQ2WK7lvAnxBB +iwmwvEUEGETAAzZ7ivRQMRGu/+S2iH9zdS3Kay2BcJkOvV0assflcgi+FtH21oQRpJZ21SWi U1UFjAvdlxxCvgXDaR0JmWaWU7IR2Ar3gTHcPWDqp4PlW/7e7kE/bJ/jA== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-emacs-module-0.16): New variable. (rust-emacs-module-0.10): Inherit from rust-emacs-module-0.10. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f769a8e9a5..e4892d5852 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14697,10 +14697,10 @@ Emacs' support for dynamic modules.") (description "This package provides proc macros for Emacs modules.") (license license:bsd-3))) -(define-public rust-emacs-module-0.10 +(define-public rust-emacs-module-0.16 (package (name "rust-emacs-module") - (version "0.10.0") + (version "0.16.2") (source (origin (method url-fetch) @@ -14709,11 +14709,11 @@ Emacs' support for dynamic modules.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1gf9lz735xbkyir53dyv362drfx3nin5an5cx39kd8q8kjjwix5g")))) + "0s8qrh0ggjmqr04zkcf7s4ijmpd44rjcag78npnq64jv10lxvsry")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.48)))) + (("rust-bindgen" ,rust-bindgen-0.56)))) (inputs `(("clang" ,clang))) (home-page "https://github.com/ubolonton/emacs-module-rs") @@ -14722,6 +14722,23 @@ Emacs' support for dynamic modules.") Emacs' support for dynamic modules.") (license license:bsd-3))) +(define-public rust-emacs-module-0.10 + (package (inherit rust-emacs-module-0.16) + (name "rust-emacs-module") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "emacs_module" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gf9lz735xbkyir53dyv362drfx3nin5an5cx39kd8q8kjjwix5g")))) + (arguments + `(#:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.48)))))) + (define-public rust-embed-resource-1 (package (name "rust-embed-resource") From patchwork Sun Aug 29 10:46:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32380 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1116927BBE3; Sun, 29 Aug 2021 11:53:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C8F6A27BBE1 for ; Sun, 29 Aug 2021 11:53:50 +0100 (BST) Received: from localhost ([::1]:43870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRh-0001LO-Rx for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:53:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIQw-0000YB-DM for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44111) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIQw-0006mv-4O for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIQw-0000T0-37 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 29/33] gnu: rust-emacs-macros: Update to 0.17. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:53: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.16302343361715 (code B ref 49946); Sun, 29 Aug 2021 10:53:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:52:16 +0000 Received: from localhost ([127.0.0.1]:55650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIQC-0000RV-8n for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:52:16 -0400 Received: from mout.gmx.net ([212.227.17.21]:47723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPg-0000OY-5H for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234298; bh=xWML9wnsnbpAWPIPvv4PSeMHiqKtRd+ixjdnjVJ3kuI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=GphfPEEgb2RodPvLMdqCtUgj/kh+5tfuofkk+y35EQ56LA3P2j4SU1kF5tbJLUIm/ DRf4WOmxePCfWp2EZJ4XEtRUoDZ/Gv1By2lnMmffq6oiFJS5mt7Y2K0zZ2WUgIGVhl siTL1QszY/m3fpBu9x3HeIDt1JGCr4q0RQHP1crY= 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 1Mk0NU-1mibXJ4Am0-00kOrF; Sun, 29 Aug 2021 12:46:38 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:04 +0100 Message-Id: <20210829104608.3103-29-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:DiLm+qw1e3TX2IbaJaO/zsaCK+72MvmCGeOJmcVVv17gMMDbwSQ 8JyZNFMrKYXLHODi5EkAhNNDVL6y3PdY3O14tMSR4FLMUz6fqHDco+em1OqdJ/yOSAWdOnz 2UCsZ3iy3SPbDZE+K/znlaYFYpK98roLT/YYe9xoENcwWyqRDYDC8hg+2qy9FKa455kM0ud QmQvw3mkmTQbzkv/b0DRQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:naMBDPid9tk=:Mg8A9r6wHDsF31uMsAzU63 3rSMEVBwtQMEAEW6TS2RiN07mn5BDVKKi3MQAVqbYQJJjFGI4Y5j3/xevorN9e4bQF52iQRUj /RzembuJzYk9k8rR8Ba8ZhCxcHloVKRhijza/wEE55c+KBQRERv0i7k54r+cAoxF3GG4mWIV2 FIWauPWh/hY8aqIOi18CS+jTtlYy9cCeCewhQSfvCV+3DjzfzahlO33F6SspuLSHnHXZy8Mce h+vZSm2b5AEJ7Zb+AdorpUDzEuGEd2W6grsxsUh13Nxgw/ZSTUdgpinI+3GxyfZS0tbrfmMrL /2W5/LDRwkAf33ytlz3H8BGiIh7UiDTHqfSvUQpKrxXixgpo09baO5wSovTVTfQa3qGOI/m8O UPaKEuq0Xhx5k9DVZsN4UL1EiEDHrRLdPCwXNDWpmpyYU2TPCLE66gAAO7qolJTOyT3dVuMEi uq1q1e0E7b5DqGJvm6kNNtonedm8KHlIqfs32XkaFbuoWa6szPXw1iFDU6zvv0YJ4nLiN8GVU o84lJIuNrO7mrxomDupixo0ySBrL//C57Fc1j1wk0rjfHjDNKYuI+vpve8ugasDw98VZ6zq1o aD+LBqOolh0numpdzZ/PKsIqIjmyir7LKvmh4VuXsrs0NJHKs/vbgdRLljGbM9wy2dwdv/57p 82Y5+5FBUS0vpdbIPT//R90Me6xhRSat3XqdH4OxOigDyDH9/ToMRhnNAZOq9XwJvVmzFEj8g cR07R7YLdoxX43T4InC9wBeEMP12dJh0VxA7yyNM/iRi/qToh7nYXkrdau14Yv9Kj+E/3gOal jNkfz/V3uqxX09GGCPqMGYICADBWv/0FsmJtY6ikD6gzvqtWP+5mcyWghC5DJad/gPSVAa0uD GhUfCfQKoFACNLYpUQakhygqP1z4my+/KuikBFFogf88jNdZiZ20mfCQa09uV1VkMMeuFXHYv HcNuRKjBeXmxo55CjsL/hw3aPQ5OgPNtbQSz4/XqcNiLmTfEi3lHRg69k0kUsozM4B9Q0XMXc vcHnXTDBpDh5yMZ7jvqot3ICOgvuuYYxtJDcfQuaIjBQyHLALovR4R62zsFEGTsZYgHprtBDb ZQ8dnt2q6rM7eFhn409oYpXk2dLlXVaYWkjPesBJamblJBzhNaLoxrMqw== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-emacs-macros-0.17): New variable. (rust-emacs-macros-0.11): Inherit from rust-emacs-macros-0.17. --- gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e4892d5852..d7375d7e56 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14673,8 +14673,31 @@ signing, and verification in pure Rust.") Emacs' support for dynamic modules.") (license license:bsd-3))) -(define-public rust-emacs-macros-0.11 +(define-public rust-emacs-macros-0.17 (package + (name "rust-emacs-macros") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "emacs-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qg1dcn5acbirq617qq2fgg9adswif2dnr292s3qnq62wzgnyrb9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-darling" ,rust-darling-0.10) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/ubolonton/emacs-module-rs") + (synopsis "Proc macros for Emacs modules") + (description "This package provides proc macros for Emacs modules.") + (license license:bsd-3))) + +(define-public rust-emacs-macros-0.11 + (package (inherit rust-emacs-macros-0.17) (name "rust-emacs-macros") (version "0.11.0") (source @@ -14686,16 +14709,11 @@ Emacs' support for dynamic modules.") (sha256 (base32 "0390y8vafxdi334hhgrzvcqjq3n5ckcmvilqcfp8vajjq8irrly6")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-darling" ,rust-darling-0.9) ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))) - (home-page "https://github.com/ubolonton/emacs-module-rs") - (synopsis "Proc macros for Emacs modules") - (description "This package provides proc macros for Emacs modules.") - (license license:bsd-3))) + ("rust-syn" ,rust-syn-0.15)))))) (define-public rust-emacs-module-0.16 (package From patchwork Sun Aug 29 10:46:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32388 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 61BBF27BBE3; Sun, 29 Aug 2021 11:54:56 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E4FBE27BBE1 for ; Sun, 29 Aug 2021 11:54:55 +0100 (BST) Received: from localhost ([::1]:46128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKISk-0002ta-O0 for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:54:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIQx-0000YH-H8 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIQx-0006np-9G for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIQx-0000TM-8C for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 30/33] gnu: rust-emacs: Update to 0.17. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:53:03 +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.16302343521751 (code B ref 49946); Sun, 29 Aug 2021 10:53:03 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:52:32 +0000 Received: from localhost ([127.0.0.1]:55656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIQP-0000S3-8R for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:52:32 -0400 Received: from mout.gmx.net ([212.227.17.22]:56037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPg-0000OZ-Ep for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234298; bh=0cJbls6RGZN+tWZO4SXEONuZdpA3vNAl1eVM7chLL/Y=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=kBA/xmawox78egzAozavvJhAC0Sk/yDb1hMaLeLiblJjoYmBM+ECvqz5d1lQzqcWo qMB0TG6D95eEgMz11+uToT+ZlzRvcRUZohjJYNIwkzCyMJhVakg8rvMpR9+B5/llDa 85poF00w0228kV6XZJAcSYR4FQCK1iDLdG8oG6w0= 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 1MIdeX-1mGhJL1EGb-00Ebk0; Sun, 29 Aug 2021 12:46:38 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:05 +0100 Message-Id: <20210829104608.3103-30-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:WuCkSPWdbEIokRiNSSW2mEpu56n12MrUWJDGrN4AqcuJyjUMUKI JoDtPMzspSdbTBzC6j3i/zHwTzww7RSrdBJII4guTrDO0ZnYu3tIvaj57rdTIAe1488H/jW 6MumkQPVV83JWtq69NJ98XquXsZyCF7z9NWzA2PX/kmiZu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264dk6xC2Z76YAdYMQUXG/7t9zKoXjOhfr90TasD7E6vl/bpZDnv RgmM4ROkMNkOyS+IuwzU3N3rTy9XME54MWZ7dqvsCgLgV0kPqWbLS/R1Sxd1AvEkEB0Itqai5 jUWrY1nM6vt5EHboH+OUr/oOOpLZ56iaEeVsfbvoMQH3aujz56lkka2ew== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-emacs-0.17): New variable. (rust-emacs-0.11): Inherit from rust-emacs-0.17. --- gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) -- 2.33.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d7375d7e56..18538650f8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14642,10 +14642,10 @@ signing, and verification in pure Rust.") @code{Right} is a general purpose sum type with two cases.") (license (list license:expat license:asl2.0)))) -(define-public rust-emacs-0.11 +(define-public rust-emacs-0.17 (package (name "rust-emacs") - (version "0.11.0") + (version "0.17.0") (source (origin (method url-fetch) @@ -14654,16 +14654,18 @@ signing, and verification in pure Rust.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1xn6nr8m3p24irlmv3i7c9n95yb10qc6aikwqv99qlmhbky5x0z7")))) + "02f31apvz03dr0dwn5wyirdmqkk2d635iki0kmsh291xr6dysy2q")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-ctor" ,rust-ctor-0.1) - ("rust-emacs-macros" ,rust-emacs-macros-0.11) - ("rust-emacs-module" ,rust-emacs-module-0.10) + (("rust-anyhow" ,rust-anyhow-1) + ("rust-ctor" ,rust-ctor-0.1) + ("rust-emacs-macros" ,rust-emacs-macros-0.17) + ("rust-emacs-module" ,rust-emacs-module-0.16) ("rust-failure" ,rust-failure-0.1) ("rust-failure-derive" ,rust-failure-derive-0.1) - ("rust-lazy-static" ,rust-lazy-static-1)))) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-thiserror" ,rust-thiserror-1)))) (inputs `(("clang" ,clang))) (home-page "https://github.com/ubolonton/emacs-module-rs") @@ -14673,6 +14675,28 @@ signing, and verification in pure Rust.") Emacs' support for dynamic modules.") (license license:bsd-3))) +(define-public rust-emacs-0.11 + (package (inherit rust-emacs-0.17) + (name "rust-emacs") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "emacs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xn6nr8m3p24irlmv3i7c9n95yb10qc6aikwqv99qlmhbky5x0z7")))) + (arguments + `(#:cargo-inputs + (("rust-ctor" ,rust-ctor-0.1) + ("rust-emacs-macros" ,rust-emacs-macros-0.11) + ("rust-emacs-module" ,rust-emacs-module-0.10) + ("rust-failure" ,rust-failure-0.1) + ("rust-failure-derive" ,rust-failure-derive-0.1) + ("rust-lazy-static" ,rust-lazy-static-1)))))) + (define-public rust-emacs-macros-0.17 (package (name "rust-emacs-macros") From patchwork Sun Aug 29 10:46:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32368 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8B52127BBE1; Sun, 29 Aug 2021 11:52:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 13D9527BBE3 for ; Sun, 29 Aug 2021 11:52:31 +0100 (BST) Received: from localhost ([::1]:41124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIQP-0007nl-0p for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:52:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILK-00067K-IT for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:18 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILK-0001jS-8u for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILK-0000IS-6E for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 31/33] gnu: Add emacs-tree-sitter-core. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:14 +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.16302340271023 (code B ref 49946); Sun, 29 Aug 2021 10:47:14 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:07 +0000 Received: from localhost ([127.0.0.1]:55604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKILD-0000GL-2m for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:07 -0400 Received: from mout.gmx.net ([212.227.17.20]:59067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKq-0000BR-G6 for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233998; bh=ekxmQybdBqyVUVcjavI4JewqbFzZX0D4i05H1DDD9Iw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=VnLCFrlJ1c8snHMG8tGbSZB7i+zKPXO8fQp9PVpLxpPpgi7ghpwsjoynLeEP/nmeG xnO3rrFErLQky8LFd3GruPqsPYQ5vaCZ52F1p7jbpLzySRXbA9sAqGmasVtQF5Lbby DVbeiWTRGs1JwQEMfxMKRnais7b2fnN/EILHyn4U= 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 1Msq6C-1n8y6o2Xou-00tEXt; Sun, 29 Aug 2021 12:46:38 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:06 +0100 Message-Id: <20210829104608.3103-31-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:Tp4T2nrZzIkE4Ho59QCwYRGisP1lgY6Lt7s0bZpLyvQWORcUrsP w/9SKClutN49HzJRjebQkx0o02AawfKaLg5xhxHLSASXRRVrHhVbOoD3GAd34zR4tsT+VYL 7b9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WlNr/F4fSccki/uwW8JXjHb+/o1e6JbRDnu pE2eVh/4B3/ssWz30dtraeWnANI6StmrEUH26iRx3CIhEiJFB6jSlwR+7dxFQ/KfMy9koLtgn ukq/uEi0NJKaKoJjHGKX3MkeQMyLJalfxKxTQYfeTasQeV0m8HjV6dYSMgJYBXWnns2RJkkWP 6+m/a5dJ+FwVRxAusq1JXVWBV6vVyrj3GeH38y+ykzZkopuX7jeHxqjfw== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter-emacs-module): New local variable. (emacs-tree-sitter-core): New variable. --- gnu/packages/tree-sitter.scm | 79 ++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 3357fce4a5..13f7a63acc 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -19,6 +19,7 @@ (define-module (gnu packages tree-sitter) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cargo) + #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system node) #:use-module (guix download) @@ -28,6 +29,7 @@ #:use-module (gnu packages algebra) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-io) + #:use-module (gnu packages llvm) #:use-module (gnu packages node-xyz)) (define-public tree-sitter @@ -603,3 +605,80 @@ library.") "This package provides Typescript and TSX grammars for the Tree-sitter library.") (license license:expat))) + +;; Local package definition solely for building the native emacs module +;; written in Rust. +(define tree-sitter-emacs-module + (package + (name "tree-sitter-emacs-module") + (version "0.15.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacs-tree-sitter/elisp-tree-sitter") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15y0wjnck8rbfhl0xrl71ci7clbcp11lhqil5l8ykprsdjv0c2as")))) + (build-system cargo-build-system) + (inputs + `(("clang" ,clang))) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-emacs" ,rust-emacs-0.17) + ("rust-libloading" ,rust-libloading-0.7) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-tree-sitter" ,rust-tree-sitter-0.19)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'delete-cargo.lock + (lambda _ (delete-file "Cargo.lock"))) + (add-after 'delete-cargo.lock 'do-not-fetch-from-github + (lambda _ + (substitute* "Cargo.toml" + (("\\[patch.*") "") + (("git = .*") "")))) + (add-after 'do-not-fetch-from-github 'chdir + (lambda _ (chdir "core"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((lib (string-append (assoc-ref outputs "out") "/lib"))) + (install-file "../target/release/libtsc_dyn.so" lib))))))) + (home-page #f) + (synopsis #f) + (description #f) + (license license:expat))) + +(define-public emacs-tree-sitter-core + (package + (name "emacs-tree-sitter-core") + (version (package-version tree-sitter-emacs-module)) + (source (package-source tree-sitter-emacs-module)) + (build-system emacs-build-system) + (native-inputs + `(("tree-sitter-emacs-module" ,tree-sitter-emacs-module))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "core"))) + (add-after 'install 'install-module + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((elpa (elpa-directory (assoc-ref outputs "out"))) + (module (string-append (assoc-ref inputs "tree-sitter-emacs-module") + "/lib/libtsc_dyn.so"))) + ;; Writing "LOCAL" in this file prevents the package from + ;; trying to download the module from the internet. + (call-with-output-file (string-append elpa "/DYN-VERSION") + (lambda (port) (display "LOCAL" port))) + (substitute* "tsc-dyn-get.el" + (("defcustom tsc-dyn-dir tsc--dir") + (string-append "defcustom tsc-dyn-dir \"" elpa "\""))) + (copy-file module (string-append elpa "/tsc-dyn.so")))))))) + (home-page "https://github.com/emacs-tree-sitter/elisp-tree-sitter") + (synopsis "Tree-sitter bindings for Emacs Lisp, core library") + (description "This package provides core APIs of the Emacs binding for +Tree-sitter, an incremental parsing system.") + (license license:expat))) From patchwork Sun Aug 29 10:46:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32386 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E18C727BBE3; Sun, 29 Aug 2021 11:54:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A720527BBE1 for ; Sun, 29 Aug 2021 11:54:32 +0100 (BST) Received: from localhost ([::1]:45702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKISN-0002bJ-RO for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:54:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIQw-0000YC-NV for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIQw-0006na-Fw for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIQw-0000T7-F2 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 32/33] gnu: Add emacs-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:53: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.16302343481735 (code B ref 49946); Sun, 29 Aug 2021 10:53:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:52:28 +0000 Received: from localhost ([127.0.0.1]:55652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIQO-0000Rt-KY for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:52:28 -0400 Received: from mout.gmx.net ([212.227.17.20]:59267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPh-0000Ob-3C for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234299; bh=XuJZZGOojKBqjgBUCVTioLjbmMwvS/WNf+8gQst3O8E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=aNPPqXkQRjP8naxpnpbG72ZCT4AS3jsMV1Cgz7ATlGmwnf/Sw/Iv1qrKPIPDw7rRE dwCLTcQUW2DqGfgjWWRjARyL/QeNDxE6dCiAP9kzUJss0ID6GOqhh2oz07fq3yekd+ K/qLqBCxyaKHOip674nD9yW1fH/EApAY2N/pNTf8= 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 1N4Qwg-1n2sFE3rPS-011VTH; Sun, 29 Aug 2021 12:46:39 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:07 +0100 Message-Id: <20210829104608.3103-32-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:RHf343EqBaPOMRFDDgz3U71sruY3kZ2AWmC8jdiHvNNYNUzJNSR vne7x7jAqkGGdY+lU12lWcOJxhBMlkA/dMSHBNcGXRp7EJeE4QQtWZvwL/cMh7wYl79dL7h VNkv5/Nh2r28CtAt/NjZYVCZm4MXbF96VP3iv1xYHavebZU3cNmdpNMeCPaTZAVHLDWZeeE LSGK6LnykRG+psBkw1F0A== X-UI-Out-Filterresults: notjunk:1;V03:K0:Eq5IO3kgzF8=:rnFHePCsh7U3s+GK5C1bXb Rz4NrbQmXc5HE6kNZ3dJK+zRMoeRyImr7YudMQEecTSIuesDac9cX+uTkvNi/IjZsbBgfr0SQ uYgV5kT2fa3r2Pfenv8M3oE0S4Lly4u8bsoxcqOQrDyAX5YHTRyj/5LKdQDE/P7+ZqW4ZqIBw 6CR302732qIzMXbp0979K5SQrPY6UsHR6ZHWC1b774BfSwh0j6RTHa1aUFgZIYbfLWWzHQPtf bByPbNWWP2LgMfa/IjytaYibjTpMgcqo2LbRM83GFgz1gTLodKmCEvbm8LVZ284ToJwEsPEpp PXe2YdXJNB4f4cDUAkd0REJCp5W0ReacZ+KJxJkNg4fh5vY5VMYJjW9h8lv7UFqmQ7TvsOfq/ VfQyaA3IKYU5eizcpR4iSMp0bwtZZEq4nayjtap6mnSQzyN0eKWqo5GUXMaXU2sNHVzznxho1 qlb6/MRbKxz6KGkFvMn8mBajBROiZD+HhjpDGhzExiI+i5SA5r6IwbetFsG3a5NolOkxhGTJZ nvuzCnpl8aqYn1r9rXujBngTGYPYMKRkGSkD23FlMU2glUDgpCdyn1YkQ1bbUdBBpzAFeFbR0 /Lt6ki5cv6L0HnHQOoA6/B9M8XU+/CbarvQhM4vnJz1AOX08T8yzByit36LXO5fmS9pYz+nhP OKTFx9XaV3at5wsb8dwjI9QEptGyb/Si9J1fWbS+SlI/1wp8VGzSRd+vZ82MeJbi8ha/00g3Y Q1qqKOuD0Hg+JGnj74qqbdSvXeIubVPXt6UmQXREAKLbbqlWP7Wub3X63epHkPipqcnJ/924I yjbp7cYgBtF8NLOFPprkpeOWpCpN1BLEATCMEDRExeMbkb38JqHmf/60I/lcAK0bK0s114fDU IrjodqGlHhaT9kwxkW0spx2iP8Ry4XNtR5ltkQX0qh09vJ9M2Nlf2ZOBzMAnTfo/Aj1esSk7j Ooe3Qdj5G5y1HLbeWPqPpcEmMDhJWpvD+UEgpD1hm6Ne0OQiX8O1cbH6nzcm0a5V/x7yWKqSY +X9c6Vh1SDmlVMTGZ3Sp4R5lkYshvqH6nw5cYXAhQuP48Pkdl3P30kQ9ndnYh+BFK4mpJxTsI eqS5izlfbGfYIEJJ2CHQa7f5FBI7QoCieZzzAOL6kKffawQliZjwn9r7w== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (emacs-tree-sitter): New variable. --- gnu/packages/tree-sitter.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 13f7a63acc..0454d75ad4 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -682,3 +682,30 @@ library.") (description "This package provides core APIs of the Emacs binding for Tree-sitter, an incremental parsing system.") (license license:expat))) + +(define-public emacs-tree-sitter + (package + (name "emacs-tree-sitter") + (version (package-version emacs-tree-sitter-core)) + (source (package-source emacs-tree-sitter-core)) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-tree-sitter-core" ,emacs-tree-sitter-core))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "lisp")))))) + (home-page "https://github.com/emacs-tree-sitter/elisp-tree-sitter") + (synopsis "Tree-sitter bindings for Emacs Lisp") + (description "This package provides Emacs bindings for Tree-sitter, an +incremental parsing library. It aims to be the foundation for a new breed of +Emacs packages that understand code structurally. For example: + +@enumerate +@item Faster, fine-grained code highlighting. +@item More flexible code folding. +@item Structural editing (like Paredit, or even better) for non-Lisp code. +@item More informative indexing for imenu. +@end enumerate") + (license license:expat))) From patchwork Sun Aug 29 10:46:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 32387 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B64EF27BBE3; Sun, 29 Aug 2021 11:54:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3445D27BBE1 for ; Sun, 29 Aug 2021 11:54:48 +0100 (BST) Received: from localhost ([::1]:45920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKISd-0002kP-BE for patchwork@mira.cbaines.net; Sun, 29 Aug 2021 06:54:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIQx-0000YD-5S for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIQw-0006ng-TM for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIQw-0000TE-SD for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 33/33] gnu: Add emacs-tree-sitter-langs. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:53: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.16302343491742 (code B ref 49946); Sun, 29 Aug 2021 10:53:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:52:29 +0000 Received: from localhost ([127.0.0.1]:55654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIQO-0000Rw-S1 for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:52:29 -0400 Received: from mout.gmx.net ([212.227.17.22]:50447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPh-0000Oc-Ft for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234299; bh=hGsmnd70jNnqpUrvdvObgDfxmqpXI+UeJO6gkV7J740=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ZSMI8jmWhscB6Pm65dUrcruADicSrBK7ARXYYhkeQtBEU+PfBo1d/jgkC/SGR2bu4 Xph8UkiAFeM0r35BBO2oHQeZqP8k9ngDx4AdR3KNb+krzzMC4EnouZXiQ+wWUj6JU2 G4B2mH97K6+xXC7LaPkHeuugC2NsIiev+vNdh32o= 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 1MKbkC-1majHn12U8-00Kzej; Sun, 29 Aug 2021 12:46:39 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:08 +0100 Message-Id: <20210829104608.3103-33-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:Efu7kQ97ARUSCVvEnLTYntxq56k1eECu9p+zwYs/qH3zRDi/0ce OMsfBYxw6TBh+lG1i8iVdzIvxJEvzSFcJn0XJTFLUsrH5pdIKjyH9NsFpQ7zgeuy6xYol79 ymO16udXVe1TW5r473aejQhp8+jZVrbP10Tk1TVwBGj665H0+wLVEZ2PBx44RGrIW9J+sGE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th8aJwnJCWhZr5JiE6rmQA+XUjQOvYueJ9 Bkp+nHgBfO1UptfBFk/GZD7BWV1bItfUpaNs3I7MGTOe8+KHFDedtyicuNXeIBJh+hScdBZBJ 6KToA16CHwDo/nDLs2JT2g7cr4Mv4MYUAQs11WfLt5fJU2ry3mBHnZplg== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (emacs-tree-sitter-langs): New variable. --- gnu/packages/tree-sitter.scm | 80 ++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) -- 2.33.0 diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 0454d75ad4..6bb52b68ac 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -709,3 +709,83 @@ Emacs packages that understand code structurally. For example: @item More informative indexing for imenu. @end enumerate") (license license:expat))) + +(define-public emacs-tree-sitter-langs + (package + (name "emacs-tree-sitter-langs") + (version "0.10.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacs-tree-sitter/tree-sitter-langs") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fa0xi8sky5h3rscnvcci9djdi71qj30vivzzvx7w8pqkmsy1vq7")))) + (build-system emacs-build-system) + ;; FIXME: Support for some languages, such as bash, is still missing from + ;; the bundle. + (inputs + `(("tree-sitter-bash" ,tree-sitter-bash) + ("tree-sitter-c" ,tree-sitter-c) + ("tree-sitter-cpp" ,tree-sitter-cpp) + ("tree-sitter-css" ,tree-sitter-css) + ("tree-sitter-go" ,tree-sitter-go) + ("tree-sitter-html" ,tree-sitter-html) + ("tree-sitter-java" ,tree-sitter-java) + ("tree-sitter-javascript" ,tree-sitter-javascript) + ("tree-sitter-json" ,tree-sitter-json) + ("tree-sitter-julia" ,tree-sitter-julia) + ("tree-sitter-php" ,tree-sitter-php) + ("tree-sitter-python" ,tree-sitter-python) + ("tree-sitter-rust" ,tree-sitter-rust) + ("tree-sitter-typescript" ,tree-sitter-typescript))) + (propagated-inputs + `(("emacs-tree-sitter" ,emacs-tree-sitter))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'fake-bundle + (lambda _ + ;; The BUNDLE-VERSION file prevents the package from + ;; downloading libraries at load time. + (call-with-output-file "bin/BUNDLE-VERSION" + (lambda (port) (display ,version port))))) + (add-after 'install 'install-libs + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((elpa (elpa-directory (assoc-ref outputs "out")))) + (define (install-lib lang) + (let ((input (assoc-ref inputs (string-append "tree-sitter-" lang)))) + (copy-file (string-append input "/lib/tree-sitter/" lang ".so") + (string-append elpa "/bin/" lang ".so")))) + (mkdir-p (string-append elpa "/bin")) + ;; The BUNDLE-VERSION file prevents the package from + ;; downloading libraries at load time. + (call-with-output-file (string-append elpa "/bin/BUNDLE-VERSION") + (lambda (port) (display ,version port))) + (for-each (lambda (input) + (use-modules (ice-9 regex)) + (cond + ((string-match "^tree-sitter-(.*)$" (car input)) + => (lambda (m) + (install-lib (match:substring m 1)))))) + inputs)))) + (add-after 'install 'install-queries + (lambda* (#:key outputs #:allow-other-keys) + (let ((elpa (elpa-directory (assoc-ref outputs "out")))) + (copy-recursively "queries" (string-append elpa "/queries")))))))) + (home-page "https://ubolonton.github.io/emacs-tree-sitter/languages/") + (synopsis "Language support bundle for Tree-sitter") + (description "This package is a convenient language bundle for +Tree-sitter. For each supported language, this package provides: + +@enumerate +@item Pre-compiled grammar binaries. +@item An optional highlights.scm file that provides highlighting patterns. +This is mainly intended for major modes that are not aware of tree-sitter. +@item Optional query patterns for other minor modes that provide high-level +functionalities on top of tree-sitter, such as code folding, evil text +objects, ...etc. +@end enumerate") + (license license:expat)))