GNU logs - #49946, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 00/31] Tree-sitter, node-gyp addon support and emacs-tree-sitter
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:27:01 +0000
Resent-Message-ID: <handler.49946.B.16284651852386 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16284651852386
          (code B ref -1); Sun, 08 Aug 2021 23:27:01 +0000
Received: (at submit) by debbugs.gnu.org; 8 Aug 2021 23:26:25 +0000
Received: from localhost ([127.0.0.1]:54935 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsBU-0000cQ-GQ
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:26:24 -0400
Received: from lists.gnu.org ([209.51.188.17]:54406)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsBS-0000cH-M2
 for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:26:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56108)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pierre.langlois@HIDDEN>)
 id 1mCsBS-0005hc-BU
 for guix-patches@HIDDEN; Sun, 08 Aug 2021 19:26:22 -0400
Received: from mout.gmx.net ([212.227.15.19]:42791)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pierre.langlois@HIDDEN>)
 id 1mCsBQ-0008Qj-6Q
 for guix-patches@HIDDEN; Sun, 08 Aug 2021 19:26:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465176;
 bh=+yntOmXptqFSwgFtpzEf1tsbxlIZN27mdaABHfTpEO0=;
 h=X-UI-Sender-Class:From:To:Subject:Date;
 b=RMp3hTRSaOs26fxCiI/ZVRklg5luXr6ddNe5jjrzt1uajVRV4bGAcPqZwi+oQpHqc
 6EEId016qBLLZSmXYtU50/4K0m2SZvQz6j+/DvSrR+xMwUrtLey8rn1FX+3PXCQbG0
 i8lfp1E1e6nzfO7ZJkrSNdbVfR5g77Ivf3up5di0=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx004
 [212.227.17.184]) with ESMTPSA (Nemesis) id 1Mn2aD-1mwuFj0or9-00k4Ke for
 <guix-patches@HIDDEN>; Mon, 09 Aug 2021 01:26:16 +0200
User-agent: mu4e 1.6.1; emacs 27.2
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Sun, 08 Aug 2021 23:29:43 +0100
Message-ID: <87h7fztt60.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Provags-ID: V03:K1:Y5BYsE5Kdb4srnwpPFVWNe/+I8pcxFIANPUb2OR2FrCZGNXNz0T
 I40eI/SJbewEh6iL83cOPbZwMI8JOQaT633/HMVcirNe2d4MwWOPmZ47oAaT4KQINBodyJ4
 slgDaoLQcUgmM81YbkP888wroOXkAxXtFZTHoP1AZNPKjOTu3uyvYwKuCPmB8yOF71Ri4Ot
 pTxVBKboZSGuO6RINFfrw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03: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yMDwPABKpPnAWSKShmQ
 IsIG+jYv9uIwfv+vaNl5hab5G25vStqTllRcI9asLu7LEqhSx7RH+qR8Elk6bN41JC2boLCD8
 nMGldSDGPdZKVa6L6H4Gg5Cg/D025YpopDTlvV0hmCZiyfYZhevTnmpEQ==
Received-SPF: pass client-ip=212.227.15.19;
 envelope-from=pierre.langlois@HIDDEN; helo=mout.gmx.net
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.1 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Guix!

Here's a patch series that adds support for the Tree-sitter library,
command-line tool and its support in emacs:
https://tree-sitter.github.io/tree-sitter

The series in split into multiple parts:

1. Add the tree-sitter package, which is both a command-line tool for
   generating parsers and a runtime library.  The runtime is written in
   C but the tooling in Rust.

  * gnu: rust-chunked-transfer: Update to 1.4.0.
  * gnu: Add rust-fdlimit.
  * gnu: Add rust-html-escape.
  * gnu: Add rust-smallbitvec.
  * gnu: rust-tiny-http: Update to 0.8.
  * gnu: rust-spin: Update to 0.7.
  * gnu: Add tree-sitter.

2. Add support for native addons to the node build-system.

  * gnu: node: Patch /usr/bin/env in node-gyp.
  * guix: node-build-system: Support compiling addons with node-gyp.

  I've not touched the node build system before so it'd be great to get
  some review here!

  The idea is that when a package has a `binding.gyp' file then there's
  native code that needs to be compiled against node.  This uses
  node-gyp, which is a build system written in python.
  Normally, there shouldn't be anything to do, the package.json file
  should invoke `node-gyp` tp compile C code.  However, `node-gyp' needs
  node headers to compile against, packaged as a tarball, which it tries
  to download.  Instead, we can run a `node-gyp --tarball <> configure'
  step to manually provide the tarball, which we can package separately
  for any given node version.

  I could have added this into the packages themselves, but I thought it
  made more sense to be a part of the build system, let me know what you
  think!

3. Packaging grammars for multiple languages.

  Tree-sitter grammars are Nodejs packages, they consist of a grammar.js
  file which the tree-sitter command-line program uses to generate C
  code for the parser/scanner.  Using npm as a packaging mechanism for
  this seems overkill, but it's true some grammars depend on each other
  (cpp on c, typescript and javascript).

  * gnu: Add node-nan.
  * gnu: Add tree-sitter-c.
  * gnu: Add tree-sitter-cpp.
  * gnu: Add tree-sitter-css.
  * gnu: Add tree-sitter-go.
  * gnu: Add tree-sitter-html.
  * gnu: Add tree-sitter-java.
  * gnu: Add tree-sitter-javascript.
  * gnu: Add tree-sitter-json.
  * gnu: Add tree-sitter-julia.
  * gnu: Add tree-sitter-php.
  * gnu: Add tree-sitter-python.
  * gnu: Add tree-sitter-rust.
  * gnu: Add tree-sitter-typescript.

4. Finally, emacs support!

  emacs-tree-sitter can be used for syntax highlighting, replacing
  font-lock.  The tree-sitter runtime library is built as a Rust crate
  and exposed to emacs using a module thanks to the rust-emacs crate.

  Then emacs-tree-sitter-core provides just the core APIs as exposed by
  the rust module, then emacs-tree-sitter integrates it with emacs'
  syntax highlighting (and probably other things).

  Finally, we bundle together the various language grammars into a
  single emacs-tree-sitter-langs package so that they can get loaded
  along with their respective major modes.  Note that there are grammars
  left to support which I've not yet managed to package, but what we
  have already is a good start I think :-). So far I've tested C++,
  Rust, Python and JavaScript and JSON.

  * gnu: Add rust-bindgen@HIDDEN
  * gnu: Add rust-tree-sitter.
  * gnu: rust-emacs-module: Update to 0.16.
  * gnu: rust-emacs-macros: Update to 0.17.
  * gnu: rust-emacs: Update to 0.17.
  * gnu: Add emacs-tree-sitter-core.
  * gnu: Add emacs-tree-sitter.
  * gnu: Add emacs-tree-sitter-langs.


Let me know what you think! This rebuilds all node packages, but there
aren't that many so hopefully that'll be ok on master.

Thanks,
Pierre

Pierre Langlois (31):
  gnu: rust-chunked-transfer: Update to 1.4.0.
  gnu: Add rust-fdlimit.
  gnu: Add rust-html-escape.
  gnu: Add rust-smallbitvec.
  gnu: rust-tiny-http: Update to 0.8.
  gnu: rust-spin: Update to 0.7.
  gnu: Add tree-sitter.
  gnu: node: Patch /usr/bin/env in node-gyp.
  guix: node-build-system: Support compiling addons with node-gyp.
  gnu: Add node-nan.
  gnu: Add tree-sitter-c.
  gnu: Add tree-sitter-cpp.
  gnu: Add tree-sitter-css.
  gnu: Add tree-sitter-go.
  gnu: Add tree-sitter-html.
  gnu: Add tree-sitter-java.
  gnu: Add tree-sitter-javascript.
  gnu: Add tree-sitter-json.
  gnu: Add tree-sitter-julia.
  gnu: Add tree-sitter-php.
  gnu: Add tree-sitter-python.
  gnu: Add tree-sitter-rust.
  gnu: Add tree-sitter-typescript.
  gnu: Add rust-bindgen@HIDDEN
  gnu: Add rust-tree-sitter.
  gnu: rust-emacs-module: Update to 0.16.
  gnu: rust-emacs-macros: Update to 0.17.
  gnu: rust-emacs: Update to 0.17.
  gnu: Add emacs-tree-sitter-core.
  gnu: Add emacs-tree-sitter.
  gnu: Add emacs-tree-sitter-langs.

 gnu/local.mk                     |   1 +
 gnu/packages/crates-io.scm       | 290 +++++++++++--
 gnu/packages/node-xyz.scm        |  30 ++
 gnu/packages/node.scm            |  29 +-
 gnu/packages/tree-sitter.scm     | 716 +++++++++++++++++++++++++++++++
 guix/build-system/node.scm       |  16 +
 guix/build/node-build-system.scm |  15 +
 7 files changed, 1064 insertions(+), 33 deletions(-)
 create mode 100644 gnu/packages/tree-sitter.scm

=2D-=20
2.32.0

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmEQaBcYHHBpZXJyZS5s
YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31Uk64H/RTjvpOAq1dLgQVt69syGPZO
cx2KRhhKea+vAnjzkcau71H+ekqv2faeUCeRYJATBViOsavxbs0cMp4lqTS+7YQY
1K0rH/sR0Kc4D5Reb6OhUBkp1QjbrETydrAhp9vdX8KPwsMf8qApaxZT7KC49eYj
UeiCFytDQ0f7fcELUWMnIsy3ca1F9Q/FarUofITWGNiJ5biWxkr0xhdO4qe7roo/
xEElSYGbVp7qNeXcyku7kRWQES7F2ijsc354Hv1G6HAA76tkyDF6r2OOzKtGLFPg
rpfduwfzWo4DENtOvSjekIHtkVSWuW3g5s6ThN+jSoAZf0IUE4XoxSn5i5b/Keg=
=vVea
-----END PGP SIGNATURE-----
--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Pierre Langlois <pierre.langlois@HIDDEN>
Subject: bug#49946: Acknowledgement ([PATCH 00/31] Tree-sitter, node-gyp
 addon support and emacs-tree-sitter)
Message-ID: <handler.49946.B.16284651852386.ack <at> debbugs.gnu.org>
References: <87h7fztt60.fsf@HIDDEN>
X-Gnu-PR-Message: ack 49946
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 49946 <at> debbugs.gnu.org
Date: Sun, 08 Aug 2021 23:27:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 49946 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
49946: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49946
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 02/31] gnu: Add rust-fdlimit.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:02 +0000
Resent-Message-ID: <handler.49946.B49946.16284656663221 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656663221
          (code B ref 49946); Sun, 08 Aug 2021 23:35:02 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:26 +0000
Received: from localhost ([127.0.0.1]:54953 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJF-0000pk-Pv
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:26 -0400
Received: from mout.gmx.net ([212.227.17.21]:56635)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJE-0000or-1V
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465658;
 bh=acabr615RslOkDVNRT4ZZG4Nw50IAg9fMp3JqUDKyrA=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=YbC2+aKnfJXk0wj2gF8ewsDgDuVTWq22gg3h9ZTtA4GGjcv2c+JzHpNsLrL4BpVkf
 h9tRQZlMfSfwOmyEp1FQ+RV6Qwoma/2dO/asXoAfR8mRbA7S9OuHcrvlc0ds6wAoHy
 mGIZElT/EmoCzl8TQMQuY402F4n+ZaJrY8juwRyM=
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
 1MDywu-1mMkCD3hZM-009xtZ; Mon, 09 Aug 2021 01:34:18 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:25 +0100
Message-Id: <20210808233354.6745-2-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:p/IXNAHwjzI7tkq1E/wlMyJZHqCW/Zr9AqB8vFFICYvltm0HR6/
 2nl0k6dRONcvZFZ/4Kdy/N4QK8fOgEn7HMEuOypdrR75C9FjGhcwt6FZ/BtfuoLGGsLhELK
 WpgO/khPyshEjQGMXSmGRFvBl7Sg8iy4cI2Od4K5syNA85mnitDyAzBa7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dCEfKon+
 Ni2NZE/YqYwFSIqWyTAI9e/ErRpJGSpT8ssDq91D1qLhucGh+pntiTtisIC5YykpOBEiAomRs
 9fanKXM9N2qPYzNMmBSGyyMIevpHpiPWHMiYAbJ4tDHkSMpwHcMs0VNw+5OqTRUOwAEYn1o04
 UOe0SJ7DzqWDxS8ZC6pSQvxLXbaiyRCryaTsKfkkrr3ZqoYS/pwhAhaIg==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-fdlimit-0.1): New variable.
=2D--
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 01a0dff724..d6b52a217f 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15930,6 +15930,28 @@ floats.")
 it.")
     (license (list license:expat license:asl2.0))))

+(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")
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 03/31] gnu: Add rust-html-escape.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:02 +0000
Resent-Message-ID: <handler.49946.B49946.16284656673245 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656673245
          (code B ref 49946); Sun, 08 Aug 2021 23:35:02 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:27 +0000
Received: from localhost ([127.0.0.1]:54957 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJG-0000pt-BH
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:27 -0400
Received: from mout.gmx.net ([212.227.17.21]:40877)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJE-0000os-2g
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465658;
 bh=bmN1Hl2Un2Uy3g33zfU8rK3SvJJHoGJ88ZW0uB0vb+o=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=EOuV2lwAukG4feiduhL7K/cydHrUjTEwq7rP9TK1pv5SHZ9bF4rC7TapZUSPRot17
 0cJTmUmEo8eh6tzc9mQh4pfMM40wli/GZPScKGzAU2dmf2ityrBJyvjmQILj8eAeZ/
 9H1jrMO41IzNkS5sOjD67mMlBxqGL584r36uaRf0=
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
 1N8GQy-1n87cA0hLk-014FNF; Mon, 09 Aug 2021 01:34:18 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:26 +0100
Message-Id: <20210808233354.6745-3-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:YDJFuHkBBpJoKviUnEviaPhtae4TK/SwRTwLNuNHvVysD2vCIxW
 fjn05aKOb1ylflaGML8PPmhGyOtywRelFi2Q05uAVQZE7tU2MxqaUlLlIpKE7F0hXsOFg4N
 zBYFgbTFHR0vy4kuXcAJ5yvNlvBcoGrQWIk3aYA02Pet/cK6PfWaYxZc3205wA3kvQfYMsU
 LR8GLNDWAy3Wv1zDS1bJg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:ocSUfdLxnCs=:UsXAXmFFREDtC2in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xjWU5J4oRGKbJMqqX9dOjxxC+0jRypmVCDWp9iZv7BPcsSt6ARX4b5ynln
 llEZyKoAkFiMiNhadb76TyKaVap3nOFjAPNIxDihdlr74TVWES8Cl5Z1g==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-html-escape-0.2): New variable.
=2D--
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d6b52a217f..4a9db4943b 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20824,6 +20824,32 @@ Hash-based Message Authentication Code algorithm}=
 for SHA1.")
      "This package provides a library for HTML entity encoding and decodi=
ng.")
     (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 HT=
ML")
+    (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")
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 01/31] gnu: rust-chunked-transfer: Update to 1.4.0.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:03 +0000
Resent-Message-ID: <handler.49946.B49946.16284656693280 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656693280
          (code B ref 49946); Sun, 08 Aug 2021 23:35:03 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:29 +0000
Received: from localhost ([127.0.0.1]:54962 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJH-0000qG-B9
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:28 -0400
Received: from mout.gmx.net ([212.227.17.20]:52503)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJE-0000oq-1B
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465657;
 bh=xM71tzaJBd1d1E2jq4sOV9Yd7mvHQfCzJcpz6HspSog=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=i0ioI3M7H8zy9qncM40c1JqlOKY9Y1idLzZbDLGTsIc68ukuqp+LwcdNPistxbs2C
 +l4HJV27+iDoA1eCA8dDJmJv0aWP7sWXUDLKWX2dU1MbgqWJnZ70C8XVcy5beCwM1V
 Qrr3f9s8fGwtGTKftoYTizV2EIArKm6hoEWIyUT8=
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
 1N33ET-1nG4dY2UMn-013R5s; Mon, 09 Aug 2021 01:34:17 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:24 +0100
Message-Id: <20210808233354.6745-1-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <87h7fztt60.fsf@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:ch0HFm9psOVZx7MuIwLghc+Rop7H/reTEDQVYsdh3S5MIrRVtDp
 ix6J6/IBVA3zGwwvqEwEbQL1e6iMitz3R5EMe/Oz2EYvRXHCMwsSR828/yNNKUeq2yhQYwE
 6tSmhXd43MZ9MonfXCIORIKRYAvh5x7iwKcazE6fw3YdMqHIrOeVIXMUcyc/sHIePSwq1xl
 fBTHn3YUmUthBPdwUla6g==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:+8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05Dps112e3
 owAF2T6q1lpaKdWQeQpEL8bRneM0nkjjKkjf/LLnVOhJ3BexRAId84khtWziiO5gph9lXZ4Go
 4a4KwohRs1wRFGOcd9vP5Gc3+D/LcKGh5tZrjsCdVi+48V2MZt6x1RDdA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-chunked-transfer-1): New variable.
(rust-chunked-transfer-0.3): Inherit from rust-chunked-transfer-1.
=2D--
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 24cc772ba7..01a0dff724 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18,6 +18,7 @@
 ;;; Copyright =C2=A9 2021 Antero Mejr <antero@HIDDEN>
 ;;; Copyright =C2=A9 2021 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
 ;;; Copyright =C2=A9 2021 Vinicius Monego <monego@HIDDEN>
+;;; Copyright =C2=A9 2021 Pierre Langlois <pierre.langlois@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7825,19 +7826,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
@@ -7845,6 +7848,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")
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 05/31] gnu: rust-tiny-http: Update to 0.8.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:03 +0000
Resent-Message-ID: <handler.49946.B49946.16284656733317 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656733317
          (code B ref 49946); Sun, 08 Aug 2021 23:35:03 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:33 +0000
Received: from localhost ([127.0.0.1]:54971 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJM-0000rQ-P5
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:32 -0400
Received: from mout.gmx.net ([212.227.17.20]:38897)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJE-0000ov-NI
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465659;
 bh=JzllOfLGkM2gVC6HTAC+2SUBEXV6xGug/L++Xd9u9aA=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=fjq80hhEDvPxhMVW2rI/i6QDTC4JQVpHlTH493FvGUIyRH57Z/C1RHosjf2IR7waH
 LATX5emdMb2nV5fZYMVHA6r/ZiRYrlzUS2Trll2zm/NvkGVsBJseKgR/eZvNHmuyo+
 JbX7SyTjFFgF9OLFQdOU4bVe+iayyi0hk9OHTmjU=
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
 1MGQj7-1mKpJX379B-00Goa0; Mon, 09 Aug 2021 01:34:18 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:28 +0100
Message-Id: <20210808233354.6745-5-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:innWTeLhnpGlPJcFilODscRMiwiTlQ5Fw/87k/4WiMF3MInHR3g
 WMjAy7CTdiZCU/QIXZwJSGMtnzRVNpcGhgUw+9pADSLIFSi9T/CdZbZPnIApIzajRIYGooR
 tfP5dzSFK3w578a6uxy6FvaYSbRnNRO/LS9FnTYM14bx/++u7mC12ed8ZlCxXqbPO1VqR+1
 AbDYYqImDOTDaUvh+6FmA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:HgVCP7WsAOI=:nrJ0C3RyisDWTyZ/6LPTFb
 AuEMW1A+IOWffiK4oEJfrhrnVXF0E68+56zOPT5oU3UFactewyzvScZaRJD8daDYLJ8EReEsl
 Krw5v5YKxp9KGl80ttc5WNllJFSao5IYQeR7FCNpnK34tjpVgcy8PGBQdWzD8BanyyJ1JLkEP
 bH/oqt0y2T9ID9iAIE8tIK/0p/NUMTs0XVi7NELpJD8cizwFmnXu2WzaaX0C6zLcjyJYQGzNo
 FknRwe3yQGOwMBJpYh+LDog+wd1xZx5TjASRit4cTNXzGvr0XTuZVxaRHyUU4yLlHJoUYm6MA
 opl5RaF9kLRtbiPoS8bZbLTs04eeN5LYBIhEfmtgLsHZ1ZslKYUrifoQ/gTdSjsi4i5MzP+ND
 bmHuiPzV+V25BqEhsaTuD9hJGb2QBCXeaet9ElVE3K1Vov7ybZIDmam4qg+ZL4bgzINwYKeEY
 qejS+w9WCAsyPeBz/ZmbWvcyc8B0zWDmnfnD8jYI23NuLMLvGfhlfdLmlGSYWUy5YiMMPYkMA
 aptyU5JvLLQ+IP1i1AoJeb/eT8XVbLO+T5ym1FXdK23dszZL9TT3bSHHmAH+cVrg4AJwqS7Nd
 q3nGEf12OjUa6TbClYkiF/3njTia9dT/j0eMBpKzHPiXYXr0hlO3qqAgWChlV7sg0liVYUHpU
 CAQ5Hlfiha0JT7gBP/zh7r4HyikoPzqxGYnjUYd9SjtpsMJ9MZXjOJoLHVM6h33X/PuZaeM60
 tvYlgXtd4kqx8r6NBprBFJ6oruTIgjw1V2zRvgt41buiUckPsKA8hbNzaHkatYhEIK0Ow7/04
 FtrvUQDVp5+tg00pTrs5gdCAjkaNEQsw8C8GvHyrcDtfH1+qLymQ5CUnxZY2A6/6+7KpvHq+8
 KZRyc0x7dgQ+B8OE1gnVhvDrIiNz6rY89Vx9bf8B7ZlzWvKHJXAyuk8a1ao6P2/vwYTnGAfLb
 lZu19t/2DvCJxEAE7SrWWN0wsyJBvMM5i68qHn9z5PSb2Abl0T7xAssGF2RADaJA00Slr3ODO
 C8wAJqBo1odyOUidiotJHb7qUFnAYZGaDLpZnLoFwYm90mPRI8ygHhc6fG40BARx7FCRKt8dA
 JnkkGYIXvt0hBsnOREfqaFQXqKX6+PQ8gYId9VDsSunmMU9AQaqUi89Eg==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-tiny-http-0.8): New variable.
(rust-tiny-http-0.6): Inherit from rust-tiny-http-0.8.
=2D--
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++------
 1 file changed, 33 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2274e4f12b..bb31356ceb 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48810,8 +48810,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
@@ -48830,11 +48861,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
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 06/31] gnu: rust-spin: Update to 0.7.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:04 +0000
Resent-Message-ID: <handler.49946.B49946.16284656733324 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656733324
          (code B ref 49946); Sun, 08 Aug 2021 23:35:04 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:33 +0000
Received: from localhost ([127.0.0.1]:54973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJN-0000rS-16
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:33 -0400
Received: from mout.gmx.net ([212.227.17.20]:40137)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJE-0000ow-RD
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465659;
 bh=B0ctYYpX6EyzHe8VLSJjst1os0DnjH+DETIGQZqrwVQ=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=c3Vk74XnmUPFm8pTi1EKWhlooV0KqP803yMI3ZjOsK+QND78/i4X6PwLRzVCnhpAB
 dknup2GXnZJP6EVfqhzfSYUAfKuw7wPkFkwcLLIGC+DBBWFGVn7HJq5fZAUX1sl/yE
 n1O90l0RKXjKysGgizpAA6fW6ZuXIFmCbk/qnl9w=
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
 1M59GG-1mDylr08G4-0018Cv; Mon, 09 Aug 2021 01:34:19 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:29 +0100
Message-Id: <20210808233354.6745-6-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:Emze/rH6n8h8LbeCwtVD6vw195PsEAkk5thA9Lrq9tmwxXZRwVo
 iTCOYYOCL++u4hkP3D4af3ZkIlUYmiGGNVL8QEZVzmLBjNWy2Xl25kzDvklL2xnKBdzZlFR
 +pbGcWXRu57HvPkRGrc6LBLhAb0Ob5jd/kJowv//m8fAIUG6MzdwIo1XUJgiy7GMexXLQ6r
 7S9SDyDe6+4oXg67E5WrQ==
X-Spam-Flag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SZI2gW6Dp5lP74XRkkGGtxyQHgnTiUzMClZZZMoTpTP
 oRGjFjjzmcjiabu2Ne3SfCKBNiB9X1aQ87Jb0/AjKk7nTILvyVJkKqBlIOYGNDzlTmxtpVdDt
 02RBw2fOJeaTrlyf+bRhpxUYZT+TEDfNjmnHnWu+UtYPVYontmQScjfpA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-spin-0.7): New variable.
(rust-spin-0.5): Inherit from rust-spin-0.7.
=2D--
 gnu/packages/crates-io.scm | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bb31356ceb..b551e6921d 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44496,10 +44496,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)
@@ -44507,8 +44507,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
@@ -44516,6 +44519,21 @@ spinning.  They may contain data, are usable with=
out @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)
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 04/31] gnu: Add rust-smallbitvec.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:04 +0000
Resent-Message-ID: <handler.49946.B49946.16284656733331 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656733331
          (code B ref 49946); Sun, 08 Aug 2021 23:35:04 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:33 +0000
Received: from localhost ([127.0.0.1]:54975 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJN-0000rZ-AS
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:33 -0400
Received: from mout.gmx.net ([212.227.17.22]:49181)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJE-0000ou-Kt
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465658;
 bh=9ZiAtbml8UWjM8kAYQ3SKzZSwm87AD3px4MCoBAJqq0=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=G+Jll8l7ir0JOIeGWrFI0hA+vrpg2huhQ9zW6ogN83ak9iAhMP87IMw0lyZuKRoeT
 WKl/HHtbIGo+SSauPZvirodNBUuvRAMh+9dK18peWafnWk3i4PvfxE4a7Ky4AFzNoo
 LDesVNqh13vQVo/UHY5w79YEGf/gwo6OsSpdqzxY=
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
 1MStCY-1mh18O1vAc-00UN7r; Mon, 09 Aug 2021 01:34:18 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:27 +0100
Message-Id: <20210808233354.6745-4-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:9p+Af32bsRdciH5mtGKlVfdmrS3LxhtEpAWa8CMJZ9zS2JJhs1k
 pu0SQANjmTjt9WZvXJvIpNycJcnQD3x08/79kK2VL5mkehxOVGUNTdVKe7H+2ZRhWeNle3b
 HrtPx5Ro8B2XwM+YkZS6CscBsewdu3YBYLEPJutQz9d6EJIREahzRxtxA88ub7RmlP2QY3P
 7s8Xot52KuStF/1tmEAjQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:ypjtHdzATBM=:PkEiVRynCfYlbQW2a5QLeR
 RGp6cV6Rzvz1VxIj+Wp95zSFnt1XTShddtdyEYk7BnfOMC1uI+8s+l2xHjQBv9hgnyuwKGDu1
 bhGf3htOMfL6C8u2o9p5hOF89xYcEMyZySNDUtd0VuaAoa164hqIXIUrdFkWnHpCCfHDFMDhz
 At3DySx0u5ac2Pp8Y6j8jjMQBo+aX2/Wt7GkOCLSGkxqVa+2d3iQ52nOCQJay8Z/SqHLehPxi
 MU8F3xMIiO6aNiOKgC6FW8jXByIGmtyhc9XkGcoHN/nJBL1G50xCn5Y2tHZntazeTjb3vtLft
 /isrUmib9fP8HC7ZsZqtrZTC9Rukc9WbUyQZ5jbcYdr+mHZmGSzQIwZ0IWa8UpOJYDADn5s0w
 MzB0/IdN240iBOr7uC8ZDLSPJDY1XweD87RqysQnA0Swg0YJG67xoC++Av3Di6YepxVk0pf2R
 t/UfEktnQizjb1LkI3h00TxaCtN+wgFZvdYt3prtH3SJv0y/kLab7lJrpSHcbWUdc/02QC07N
 AND1HypSIK5pCW19YcQMqEOkPh1+fDhRYcLTBbN2yymIB/LyNR1LNKu494vjg4zntNuOqgobL
 UXNSRznFWi+Xan5v7jqvPsTVwlIc+vE3KyzM0vhsSWh8nVrcaExP1p3OVaLLN8c5V1mZ3Bl07
 PxbpAovW2kfNdY38TtyFENd9JVEf6LeJFdvUoZ47XAyDMrOkQC/Vfa4eHCIgnhjazaJ9paO9e
 8W/P9op5O7M/E7GaNw6APaYUB3W13ElkC+5iJwNvEY0rxSiVBVHZrq8x17ziiNECAJpJ3QlJ0
 XR2q1raWBtGFZlhgsLI8LDAwb4UwhkZr5SnLxUlazYb9KU6gdnYYv3YVkodDP1ZUzWfzSRdIC
 /ToJxemewV00Ic+jqg6EHCWDaxCLTV7MmyqFDwY0mbjYKG+vSVXaGSQm1XPGNELlgeXhQIgVh
 NNX6JKDWS96/9/osJarOawUDqq/SzjOdTCR7YoHW1CTR98z2W0WbyQyjMtrUAxu2nS5MCmk0j
 rPq3EsLiGZnHbL1AWUjmhBiM7zZNvHggbaYebUXuXj0BqZjbcfULbaY3A1OJYjzNgEsX2ELjf
 jYci+AW5i6RB93P4F+BA5R2pVH5tARxtvOLCqzofO6HTYFdAqginw5HSA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-smallbitvec-2): New variable.
=2D--
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4a9db4943b..2274e4f12b 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44087,6 +44087,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 a=
nd
+inline storage")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-smallvec-1
   (package
     (name "rust-smallvec")
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 08/31] gnu: node: Patch /usr/bin/env in node-gyp.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:05 +0000
Resent-Message-ID: <handler.49946.B49946.16284656733339 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656733339
          (code B ref 49946); Sun, 08 Aug 2021 23:35:05 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:33 +0000
Received: from localhost ([127.0.0.1]:54977 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJN-0000rg-Is
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:33 -0400
Received: from mout.gmx.net ([212.227.17.22]:46273)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJF-0000oy-F4
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465659;
 bh=nUN5Xy8hb9P2/6RyAThAnJXvyHKtJABwHxEH3sIcKrA=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=LKRfO4WeaFa1+f2LBIvvjdbi2wt7AD+9fRXKp+f2Erlg3cQgVoGiMo/D6DWG0XU3p
 dxYfl+pRPLFdRsP5p7oY7XFfAWyTD4LmJakZxv3JfY0mkpB3iNythdRTAcRQmQfmNc
 nwk9yK/ToZ6yh4FxVTOcW7sw5D21xOAc1EzGIBlU=
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
 1MGyxX-1mI5E02VNr-00E4EA; Mon, 09 Aug 2021 01:34:19 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:31 +0100
Message-Id: <20210808233354.6745-8-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:Jpd5kOwLsqpT0Ebl+jL6RkGQ8SMCMo8tZDY/IwDAQNPmaPkaYEp
 zN6vkH0r6ovGBOyey1V4cZrGpr9NzEnuxGyxEkQyw+QxgMN2eGFdBR8D5VN+D/syk491WYY
 J5jcSTMmPF4z7725msxW3t/voogZQ96tbF1RTsJcBNTNtl0iRPxrikQNu1lqRZCzPvmCoI4
 Ok7zlK93G/a58u+0o0EAQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:NcgmcmebuD4=:g9SFUg4BdLsIcn9devK29v
 ZpaqV32ohEpFBqFtMzdj7TuJubSfGib5fSFV4+XNByvVxkzg5tNM7QXIyRKu9hul+V3/WpfnH
 YEp0MT9dstam3RMx5H1B2SSMn3QnyaTngA4w20gdYX6hwfB9RRhges94M48avXHSdcrROivr3
 Cop4993kc73BXpKqFpKkhNb/Sjqij7tLehnJYVTlNf59aLwNOhLMnA+FN0SGb7SVDGhojR1uD
 KEVSRbWPUqRd2D8sGjxB3DtDhtCgOk21khCtqyr0phNbVYQsKovlsqb0eUCl6s3mOO19kujBX
 JaVXkuOaZIDpVj9/DEEKPd7kxSo4usainj042ddLCzwAzHZboCtVEzECk7oTQAL+16TQu57g0
 lX4tpR3nt/y9mObCUTbtuUFOuf6d/9PgrEA3oQPFVGKDR/RVFj689wyJuZkDE65MmOo4LX1br
 k0mtXZ1IaJZ7PBwEeWkeBkuPpmzlRZfHEMAmxU301n7PsB/SKAca/D2VY4emqR2J61C+1Lq/4
 surZBY9kyOyg0YRtvaf2sBf6n6Ik4hsuhEqbu6wVg3vwliB0ob5THHrUIBLfXpMx572zVGCcy
 NL6LnQ/s4MZzXasVzFH1/O6tZL/T7dt6csENiZFFjSsDy7L7wkL+cSEeDIPsdQZQZ7P9Rh4a+
 PUsYkkXrBU8MsV0G8iMuhmNH7I6/T8SlavgvYiHyhBEPmAfRwP4rLb7RETfRCMXjtmLsecjHg
 p4pza8TPFGZDYpZHy3w4ERfgtP67+gF3WyFRebH43vLjXZ1r/Qyo3h5+54bATk5xB4cZsHZfc
 C05wws/Y9Cy6AYRAmp44rVfRWmyo1sj0W1dDbKJ68BBvLrSh3NcPK9FiT9LNMdGaDCmR018e0
 +OJpj1yHtNIYMG458fjKZB1zUvXRx8bHXyDepBY9Dr7spqt/+lOu0yYvwJidSZhjRv/7cRHq5
 cSXhDeIlOfwTva/fJKvjNEV+zKZMGFHXKUfzgOENhQC2XS2F9Wk576kGrwk+/l5QAMGoGC26n
 knfwIXakWnqT7Qu0LG7cgaIMmk/uAZXwW/sQFO2BXtJNYJ+97wW62puotpA6oNYB6iSWuKPrB
 6sxUw6IhDWy9rUr+BK8Mf4UH0PjZ/VEU2e4LvUVO1CPZS3Th842t3V+Aw==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/node.scm (node)[arguments]: Fix /usr/bin/env shebang in
node-gyp.js.
(node-lts)[arguments]: Ditto.
=2D--
 gnu/packages/node.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 36c45e9c7a..522d4943d0 100644
=2D-- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -6,7 +6,7 @@
 ;;; Copyright =C2=A9 2017 Mike Gerwitz <mtg@HIDDEN>
 ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright =C2=A9 2018, 2019, 2020, 2021 Marius Bakke <marius@HIDDEN>
-;;; Copyright =C2=A9 2020 Pierre Langlois <pierre.langlois@HIDDEN>
+;;; Copyright =C2=A9 2020, 2021 Pierre Langlois <pierre.langlois@HIDDEN>
 ;;; Copyright =C2=A9 2020 Ricardo Wurmus <rekado@HIDDEN>
 ;;; Copyright =C2=A9 2021 Simon Tournier <zimon.toutoune@HIDDEN>
 ;;;
@@ -120,6 +120,10 @@
                (("'/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 "#!" (which "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 +665,10 @@ 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 "#!" (which "env"))))
+
                ;; FIXME: These tests fail in the build container, but the=
y don't
                ;; seem to be indicative of real problems in practice.
                (for-each delete-file
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 07/31] gnu: Add tree-sitter.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:05 +0000
Resent-Message-ID: <handler.49946.B49946.16284656743346 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656743346
          (code B ref 49946); Sun, 08 Aug 2021 23:35:05 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:34 +0000
Received: from localhost ([127.0.0.1]:54979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJN-0000ro-Rz
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:34 -0400
Received: from mout.gmx.net ([212.227.17.22]:47423)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJF-0000ox-55
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465659;
 bh=kRbz6Vpf/V7l4+XEZ+ruIutM5jbgz2lSJZdniE5wKik=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=Y4p2hVd4AOy1OUSMPoLUjh40DcfGb3hf0AAXz0C/6HbdU6Yf/IQptovA9AubYPR7Z
 HcEDEztW7Ot0W1N0YtO/ctYELxw2JA6Tj2glq70T36B+EHvFTnZlGd8FoH/FZiodCu
 AG3jpRmHHVY8FwgvUjazdhlIMa44mbUd0wxQALz4=
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
 1N0Fxf-1n1Hrg1Iu7-00xLEA; Mon, 09 Aug 2021 01:34:19 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:30 +0100
Message-Id: <20210808233354.6745-7-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:4ga6ZpdNZHWP5NTgmmG+heLGpVqHBgCNeH1t2KkjPIsAtzJv5CE
 7/mI0trw8hGs6IM6hZJ3om5zuIpR89tOxuVMasC0mXaa+hdYh4fvVytrYy7Ax+BKxKZ3OK6
 yO+a8mvCYkioV608lyP5lsZxHFoixLR2KyEwc+KIOiZ4+E0rSXBFWIvQDOcoEyB65C3X/Or
 OwIIQCxBuM/YmVjQXHHqA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:21j0w1KyVKA=:IF/h5CS6FXRIqZX+OuwR79
 t2rC2tFlDHZgE1RW9Pur0yUBgvuyop6rh3vkW2vI16M7OWSEuoMqNBN6Cn+O/sNfu2kSBu5U4
 TMNHxwDMfyAtV19TOj2gHk0TM80g4xXbEXPTRh84frhpGXXYyIPjaAyXS3PNqS1NJDS0H769u
 qeqqLImExRiBZAfnWhJ/gWHd1gT0j9/NaRQ6rlfpGPhTq9vsoKZI4wnPM30gfqeVos5y8fqVz
 ZnKjcrWxi+jqBh0DlEcLZ/Id/DOqU1k2q8Mvk2Mw0jYTmTcf9M5a6OHGAWCRHOFtT2m/ZfAOp
 BEnSi4tn50AiD85+63kiLIkjJr6SCGpG2/4IBp64ZwYF/a0+NE+g/h7YRYBYUGCQfnP4n8GAy
 vC8O+xErWxLjW8v8ub8rA5RFQWIQn2NcPW9QGTHsfkr6VZBP4UyEV2pY4NPNwjN4mVZwWWAoD
 vb7xWSS+zrXaMM0eAn/NaJOu4K2JW8vDYr+oPh0EL8+b/deKyL0JuEP56/iLXmMO/BY0Emyxs
 zqk8Y8uVpXU8ASv0sNAU21ikL9ZThiIybLShK3bIEXR4yRIoKhGjM8EDiaAL9H7F7b0r0uaPm
 Y9MORJ2KCV8ku61/CkFeDeT9U/7bgu8ylSbPFpIwyXiia7ZNLHsbmYkyjO+FwzV0By28SSQkP
 SlBVZYmfSPANTnOevdULbpBVp3MfIFY4bMpuXc27SVVJ6VJUci1DmXq4ragAPNVEJEIKwD3aw
 6CZOCqho+9gUJ0pxMLm/ZzRtnwo+f0OHzpBJo2GJ0s8+ZALHSiEFE9fp+yai2ZeoW8LlZLhr0
 DoS/0RSPyrTm5bgUWxOD2Tkfdw/95/r+0wVRoE4xP+i7aBTlwVU+5zALNdvpZwHaehIVdco/w
 6hAdt04S8kWjgi218nmmUrJ2nfOhIaMrx/LrVaC7uw4mp77Hv+xSvOuwmEekxvSfVH4ERnewF
 /yJmMeqVS8mfCqEy3xDQhtXPa4hyScfy2Fus1ogSnQ7wDgHJUzmNsaDigWDQgw/LASgn8C7x/
 pANuP1yblCXYX1jC+fSUIoeQokTCBFFJObxrBHMEtNLncXVk56oCFAkMXky3mqR02Q6taoYRY
 4e9wscJJJ+9xZ7jYm+JvcdEDN7a50BxIoG3ln/n6hhp1ADS97CuHVY/4Q==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
=2D--
 gnu/local.mk                 |  1 +
 gnu/packages/tree-sitter.scm | 98 ++++++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)
 create mode 100644 gnu/packages/tree-sitter.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 3f09b167b1..3763df0821 100644
=2D-- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -559,6 +559,7 @@ GNU_SYSTEM_MODULES =3D				\
   %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..2c749dc0a8
=2D-- /dev/null
+++ b/gnu/packages/tree-sitter.scm
@@ -0,0 +1,98 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright =C2=A9 2021 Pierre Langlois <pierre.langlois@HIDDEN>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages tree-sitter)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system cargo)
+  #:use-module (guix git-download)
+  #:use-module (guix packages)
+  #:use-module (gnu packages crates-io)
+  #:use-module (gnu packages crates-graphics))
+
+(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 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")))
+         (add-after 'build 'build-lib
+           (lambda _ (invoke "make")))
+         (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)
+               (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 increment=
al
+parsing library.  It can build a concrete syntax tree for a source file a=
nd
+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 syn=
tax
+errors.
+@item Dependency-free so that the runtime library (which is written in pu=
re C)
+can be embedded in any application.
+@end enumerate
+
+This package includes the @command{tree-sitter} tool as well as the runti=
me
+library.")
+    (license license:expat)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 10/31] gnu: Add node-nan.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:05 +0000
Resent-Message-ID: <handler.49946.B49946.16284656743353 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656743353
          (code B ref 49946); Sun, 08 Aug 2021 23:35:05 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:34 +0000
Received: from localhost ([127.0.0.1]:54981 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJO-0000rv-AV
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:34 -0400
Received: from mout.gmx.net ([212.227.17.20]:43419)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJG-0000p1-0t
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465660;
 bh=h00xkQJgUXFPJ95URPrq+fzQXBggsdaz074TJ1WwMzw=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=R9l8zn8ScNY3Vzegro8tDTDBvPDoTSjJELfs7qNOTskttD3IY73XiEZjs2yh/K/8r
 zg+flByIpJ+Ph8Dm1lugCLoNA7frcgrqMl0pUa3nIESkT/8905UdcsSGPYbQ50fNO/
 JM00rTR9FeK6+IJui9Ga5eUnIyoXavoKyLF28aaE=
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-1nDKYB0h99-010gk2; Mon, 09 Aug 2021 01:34:20 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:33 +0100
Message-Id: <20210808233354.6745-10-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:IAHXCrYwTD03XDP7/7DLA76whVEyVYhnx257T2hZ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eWNB37dQ/DSjy7+FMs9f
 2u0Ab1skoARMV2jONlZ21tiAayzSkjoC9Ho6PJqEMEHgf5KjbuTSiDTR8f9L9xkYVIgUSm+HS
 CbHFB0ignpWmUmx4eEcoiwIogvvsfkEGqx3XxtKCWyfA78PhWlqYjyYin0d3IRWPSIltN3Yo4
 Em7M5ECcZPflO49zoLs/0F4eIFaEwUbQkB6O5A1vyeMtqJD8UkYV+OoK1fLBd8T/fih3zKOdd
 RQWzx6/P8k/4h+PSEZqSU4jWefGwivfMt2sOGSmaBOw/whzmXT/TbL+G2fQZo8swhVvP7eKcV
 HEXxBNWuaodPJHY2nAEmZNsGp4ubUyxoN2CZUu4pdnMsUCuVUi8x24rjg==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

=2D--
 gnu/packages/node-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index cbb68f77d6..eb4b59d1ab 100644
=2D-- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -3,6 +3,7 @@
 ;;; Copyright =C2=A9 2020 Giacomo Leidi <goodoldpaul@HIDDEN>
 ;;; Copyright =C2=A9 2021 Noisytoot <noisytoot@HIDDEN>
 ;;; Copyright =C2=A9 2021 Charles <charles.b.jackson@HIDDEN>
+;;; Copyright =C2=A9 2021 Pierre Langlois <pierre.langlois@HIDDEN>
 ;;;
 ;;; 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, a=
s 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 a=
nd
+utilities for making add-on development for Node.js easier across version=
s.")
+    (license license:bsd-3)))
+
 (define-public node-oop
   ;; No releases, last commit was February 2013.
   (let ((commit "f9d87cda0958886955c14a0a716e57021ed295dc")
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 12/31] gnu: Add tree-sitter-cpp.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:06 +0000
Resent-Message-ID: <handler.49946.B49946.16284656753361 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656753361
          (code B ref 49946); Sun, 08 Aug 2021 23:35:06 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:35 +0000
Received: from localhost ([127.0.0.1]:54983 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJO-0000s2-Mt
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:34 -0400
Received: from mout.gmx.net ([212.227.17.20]:35095)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJG-0000p3-Ix
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465661;
 bh=hsfRwUms+uTCDezLaiQMRA0vx2JLWnI4idvu7kYTJlU=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=iDIc5D78BEjuF+KWBzCZLl8sn4VsahacBmDTZmKsCU2woAPJCm57q+XwDJBjYKuHk
 HWBELUV4aACgg+C16nAOJQwCaCxhCh2Sum+fFjWTWrB0tBxuXUa2zsitHGbjVqtIlk
 kBDses8MXJIfoPFGtP8gqbxiTZLre91zOrN91wzs=
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
 1MLQxX-1mVEND3519-00IWEg; Mon, 09 Aug 2021 01:34:20 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:35 +0100
Message-Id: <20210808233354.6745-12-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:Ijk2fqy+wicWdgBzO7vWqfV70yGeJM9E5jk4EfC98p9GztBpXiX
 NZViGOtoHSCN5eKmTiGhthRa3+iK6q+w76iiViKsXixeJCyENro3TBfn9wKyZoE6N+3CF9W
 Gg4XJ/UmpW0QI9R8fZKqPYXgVYBEUj96APETGvg6VLCvbwZEdBzXI9kyFysSzbQrEJJxdQi
 yqwMjXwQ4MRB8qh2Sx5LA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:Wfn7NcJkY1k=:kJhCKDXlApStYV/Hp5WQ7Y
 Q3lb73hfIQkBg5+sEujiIJGOLKy96SL8BuT3cP5PKFmRsa0OdhUJxo4ah1+6J04x6mtcwWMHm
 0U0TC650/i/v8BTJYH1Gj8r/rfEotBnWrFRTBsf3hyFcwAxQJD6vk1UKuSl8fCjK1N7emUhEO
 nNbZ8Q4bLvDybKpmT12wz0xU/zZg+EZD8hmrDANp2EH+gRRPdpJVkCqwgkV2dVpF7ywk/YkUV
 QAe6wVnSKoYXDbiWlIUiYFW+RM05+WZXXcn4ToM2BCD26AxCbb40KQB6NrJy6Y0K94/mOnTvk
 ZacO/Zo1uG7FWpHPxpOhW8092FrMyPc86PifMMK/tB8m9gAFHFs/p8fof7vIrEahyjhwCPqG4
 XLrIekC7ECsUSV5A3WdoCTqGgbGEq91l/hng1vWV+h8jMsKQMKsEkT9G6jLNZv5bHZUFtDbgx
 e4pf0WADSXbScjCvAPTswr0tK7WdKzQU4q3UeqziQ+fa67JwQIGu9daZ1xeD9/exoASx8BbN3
 BXrao/uEE7/GHMkX3tXXo/ljgR6hZtYeJnrQPiV9zjpcinsSb53Izv93qQel8zkBMspI/N5z2
 Cun+ruff5FZJE1s6UpRM4V6INYFRfgw7Q2axFw3JuD85JTeG1J0PrVp3UxBC45/Jvkp6gy1hq
 H2cvacp6NUdjBtYOicNfAG92ru+nrGDdlpQggFoMWT3q6ONRMgQdsV3bdq9oE4y9mKgSLLQKf
 HCT2MTwupMuj0tgwEKiUxXDeN/QihcKft2ZgZRaKC4vVlfxkkG3bjHye7YHgaKgdTem/pVyqU
 VCJBU/U+obWBvVKwv0iLWrVRRaahPyrH4+VWEB+dBcyv3eGOEAtJSRrlNvn0Y564UEXkz+ldA
 xs5mwI7zUP2LXOmkmfl38j0Ow8UjVBI0kTlEHbdhJXP2miCCJIXMD6PGAqnaGIFI86nGvGZu4
 FFhLiBu8QLBTzITyLG+iXOdq5k9sCt0pbG91VpLNosnkElqCxKPza0S+ivRvapG7qEMGVoXW3
 ZFIglsP5QsdZUXeq4u+/H4uJRtmzPKgvVr+zc8L0+GKkcgEhYuuolB2AndHHEQaxMS1oqFJW5
 JG2iFV16udOjaMNurcaBsrh3wfe+S+Bm6CX4KsnB0VDd9SlMKPKtRceoA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-cpp): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index c855cba347..ac4fe5c578 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -157,3 +157,27 @@ library.")
     (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" ,tree-sitter)
+       ("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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 11/31] gnu: Add tree-sitter-c.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:06 +0000
Resent-Message-ID: <handler.49946.B49946.16284656753368 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656753368
          (code B ref 49946); Sun, 08 Aug 2021 23:35:06 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:35 +0000
Received: from localhost ([127.0.0.1]:54985 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJP-0000sA-0g
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:35 -0400
Received: from mout.gmx.net ([212.227.17.20]:33727)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJG-0000p2-8u
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465660;
 bh=Bn/ZfJ1pMr7RtZSRK/RQa5qPa1DQ/pNKmpSA/pOMIsY=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=YOhQ2GA3zXfjvLsA0msfCD3W7AJtaA/rUlBS5ZoEANIp3zOmHjGhR7PZOjpcKMHNW
 qbhvARzthkgTkY2pldeOUQy4uaFKt6qCKk2VjnBDufJ/s9rnYfi8jtN857kVTzz+u+
 ruV4TWkrZ/Vv48/ssd4XaiiEBAL147u0P+Yu7cjc=
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
 1MNKlu-1mSlWg1rZK-00Oogp; Mon, 09 Aug 2021 01:34:20 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:34 +0100
Message-Id: <20210808233354.6745-11-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:DshNbg/inGyMHopiW2vQGA+kfKPDjgNZYevtXonudnoMNiu5R8R
 9fKMN7EWLHqgYcIiQLMRnlsSNIuZE7SsPxUkAzZuvkJyh23Uj9W25S04oVSwfsIzS7y5+RO
 5LEFx9D6d4KfRzJ8lQfMsLYfn3lrovA5UjnZkIsGADhekU8Bg+sVYEEpkFiLJStaJzVGvCY
 7oxdwv1ngCpm0QZyaWU7Q==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:jkq+sfHkCz8=:5GfvNC9JI2ckVtnAk/gsQ8
 z+CVW23doos62rcD1W4ulBDsPK35IwXIT6q4HwX86p/RYAZ328cT50HF5ZXw7Ssu3Pk5msvjS
 PT1A/QtGtkzoxJiaBm02T/n2yIHtB9Ez1ieqfRqrkgTOG0HUozoPKS7z3UxmiBGxLrUiDK50E
 sTOvmN66bveKU8cIOLaAKTQBaYyk2+l7BF1mbotAVlU66XqHLRCqBysOJrSKIY6YOJMim4ZeG
 y4Heb7BPgjCBFg18SIhedVZA/5HToPDyMoU2t7eHkBhPLUJb/WnKbfysm8opgrwkyKgvsj0Ir
 29XSc0vrWnO0vIxqle3HPmCxgYQqxuqaZyTtYAxWpR4itNv8HyWsGAwDSdsXgcXN2nGUvCIbZ
 Nlvza3Mq6GkD5Kpdse5Ibl0a7Up6abY8zV9cpztu/5qSD3ne36zpvawK6R9W6xPtFrSVw1FpL
 VCcV9Nxybhk6BDMnJMFC9rGbG38fA89NoXheGoLkCrrtAdSCd/eamqoEokBWEDKZluElhA16R
 DuRYgFkPWl/eHzrUKje8TE/pobf2pteQvnjeTOcRWkie2y77XY/8qMNGzAIHyejURH6fh78rz
 VNvLCl6+GuiPs0jbCHn6ypSZARbR1VyQ56EHCO50kydnpDf+rg9kLADzqMdxbI7CK4eC/KYW8
 mts7xyv0rsNERm+rbNLzFGh9XwyTSLoMDLgZhLX19psEOhaTjRo9EyzC+7YvhzeC8FIpy7I/x
 biVNc218CDhjHZyhnxWrx/f7Rs1BW1LjFpaOS/XekLvGw8HKV6iQit+7gbGChd0VS1tampJ2i
 TxNThDKxCfiT7S9s0fxP3OzIiP3WX2aOV2rftXp62okWL4RKfDE5A6FOiogLheWNpaILwY06w
 sZSuTL5bPB5sRx106cMzuZ/1BBRg8EDp6tathx5rNbYrHhXvnyLH3+E3QE+ACyELnDd2LyS/i
 4DCa7pbxa9ZS/+QWFrIdpmDQRwroDBVy7fpobYW1DziRzw7SePGsUvhWDszZQfnvrA+TfI9go
 9oPiz2UdQlCw+Ubqiggtr8WuLzqGnbnoEWnvwQ4VL6uuGMesfFHJJXKkEUkizF9QtCuqJa95t
 oVm69xcTB1zJPEFE3iISgbdqzD8xhSFrERYItkFxmzO5ee6gzCb/ft1Yg==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-c): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 63 +++++++++++++++++++++++++++++++++++-
 1 file changed, 62 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 2c749dc0a8..c855cba347 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -19,10 +19,12 @@
 (define-module (gnu packages tree-sitter)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system cargo)
+  #:use-module (guix build-system node)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module (gnu packages crates-io)
-  #:use-module (gnu packages crates-graphics))
+  #:use-module (gnu packages crates-graphics)
+  #:use-module (gnu packages node-xyz))

 (define-public tree-sitter
   (package
@@ -96,3 +98,62 @@ can be embedded in any application.
 This package includes the @command{tree-sitter} tool as well as the runti=
me
 library.")
     (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" ,tree-sitter)
+       ("node-nan" ,node-nan)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; tree-sitter-cli is listed as a Node.js dependency, however th=
e
+         ;; node tree-sitter-cli package is just a wrapper which download=
s a
+         ;; tree-sitter binary, see
+         ;; https://github.com/tree-sitter/tree-sitter/tree/master/cli/np=
m
+         ;; Instead we remove it as a dependency so that we can use our o=
wn
+         ;; 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 "devDependencie=
s")
+                                  "tree-sitter-cli")
+                   (write-json package-meta out))))))
+         (add-before 'build 'set-cc
+           (lambda _
+             (setenv "CC" "gcc")))
+         (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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 13/31] gnu: Add tree-sitter-css.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:07 +0000
Resent-Message-ID: <handler.49946.B49946.16284656753375 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656753375
          (code B ref 49946); Sun, 08 Aug 2021 23:35:07 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:35 +0000
Received: from localhost ([127.0.0.1]:54987 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJP-0000sH-Bq
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:35 -0400
Received: from mout.gmx.net ([212.227.17.22]:51349)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJG-0000p5-SW
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465661;
 bh=jRc5OYYPlm1ZL7RCafQ6yRoaIIpCSnFlFKPLEJdwBm4=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=G/RYOQz3C5U53XEwHadR2ZypDt02tVUm/OmMKjN6z5tcIBmGocwfulYYaEHgv4CIo
 TbhmegghHfjnEanrOee/fBylBWZPAvhY7aT0c7RG0HiM/dbN9ZjaOg2d+XiL9n9QeY
 4/7YEn041huliFLRyZwcCgPMTSXllU5SHEh32cpw=
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
 1MZCbB-1mZ3qW055d-00VBfg; Mon, 09 Aug 2021 01:34:21 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:36 +0100
Message-Id: <20210808233354.6745-13-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:wxC+1jTZjapE7b/jF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tM+aD/ATKrum3+8oojuKcLLgXVGNYY7yMU6LSFResKIQ4Jai
 VZtplwAyuJF0NUvoFY0ru+DR+RdKivdeme8zgywq5SATR1OAL4/dW/i5B9SK1EmXRpnez2RAQ
 33As1dSGBFiMzBjMiYVFnOYZC7vW5cQnI8YztIJebrkejM5mSrwyqLG2aa2a5pKaob5GgSelh
 5sS84QM153XlhQKxvlcv73BAONZMihj7SHhxInoRKkejiQ5JA+EIEGVMB290u3PUcsXOq11u+
 jNeNkQ8S2ygKmzLGsh3iQBblAZHlA2rXCdVyARPqHPpB5wq0MmqYzVldLUUjaqSk4dE9xpTMA
 tmfdnCuugjrE9cgzeJ0JEYZX0Sq/lfcNjrUxMsUUITpi7CqSwdPmkXmfQ==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-css): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index ac4fe5c578..05929a9062 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -181,3 +181,23 @@ library.")
     (description
       "This package provides a C++ 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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 09/31] guix: node-build-system: Support compiling addons with node-gyp.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:07 +0000
Resent-Message-ID: <handler.49946.B49946.16284656763384 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656763384
          (code B ref 49946); Sun, 08 Aug 2021 23:35:07 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:36 +0000
Received: from localhost ([127.0.0.1]:54989 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJP-0000sO-LM
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:36 -0400
Received: from mout.gmx.net ([212.227.17.22]:37737)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJF-0000p0-T7
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465660;
 bh=1xHFwHs/B9bMJbdZRUu95p2LlUPYOA3r7DmpcaCtJQw=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=OmwezAhC7KG+YCwzW7wtEyldGekH3JBCRJLFzgesK6RqH8CZLr9ke4c4MikWajSQA
 OIBGc6C097Imn7QsHi5I0eH4Y9kAILu9HRhP2a5jWfj/tTuDkHytTt1ypHxybLnSRL
 eFgpWDdrmEmKJGFjD2iTNiUqx7fi27J6609Ueayo=
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
 1Mg6dy-1mlft73gru-00haYl; Mon, 09 Aug 2021 01:34:20 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:32 +0100
Message-Id: <20210808233354.6745-9-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:T39g12904tKuBJm22lsb1ZoTAvE4YclYsMGjo3W5opsmB043u09
 90M4+6NliZYp8iaxw0qQbJuSYFCYFdlkeknB7KSe87O0kbRPpgNgqJeaAnuZA03XcV4kaVm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tSZJVOBoTA0Nv1tswHWshTqf7a6boI7/5U+4gF4IE2NWzJ2L6BLnrVx7leErQbLjdyJ1yx
 4JpegZdZ8gDIHmeZlGQldFN1LJNmfKmSR7iEWRY+EbqErx/hYcI8uEu0kpmHP4eLe9fqIaQSR
 Lk4r4QkqM2uD27FGTWkKPEMi21oJOYZUNnSbTOkmHorMfdN5SEMbLzPVHd9M2M3Sy30gn9CEU
 m0o6tq9QFGyKuDoUbfgogOgt+WfCcjePV12i5mSXfzJHbk5X4abdewXnw==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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.
=2D--
 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(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 522d4943d0..d0f7c5cdb7 100644
=2D-- 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 <origin> object for a tarball with headers for the given nod=
e
+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
=2D-- a/guix/build-system/node.scm
+++ b/guix/build-system/node.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright =C2=A9 2016 Jelle Licht <jlicht@HIDDEN>
 ;;; Copyright =C2=A9 2019 Timothy Sample <samplet@HIDDEN>
+;;; Copyright =C2=A9 2021 Pierre Langlois <pierre.langlois@HIDDEN>
 ;;;
 ;;; 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-syst=
em.scm
index 70a367618e..2993c49b2b 100644
=2D-- a/guix/build/node-build-system.scm
+++ b/guix/build/node-build-system.scm
@@ -2,6 +2,7 @@
 ;;; Copyright =C2=A9 2015 David Thompson <davet@HIDDEN>
 ;;; Copyright =C2=A9 2016, 2020 Jelle Licht <jlicht@HIDDEN>
 ;;; Copyright =C2=A9 2019, 2021 Timothy Sample <samplet@HIDDEN>
+;;; Copyright =C2=A9 2021 Pierre Langlois <pierre.langlois@HIDDEN>
 ;;;
 ;;; 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 interne=
t, 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=3D> (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)
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 14/31] gnu: Add tree-sitter-go.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:07 +0000
Resent-Message-ID: <handler.49946.B49946.16284656763391 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656763391
          (code B ref 49946); Sun, 08 Aug 2021 23:35:07 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:36 +0000
Received: from localhost ([127.0.0.1]:54991 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJQ-0000sX-5r
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:36 -0400
Received: from mout.gmx.net ([212.227.17.22]:36043)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJH-0000p6-4c
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465661;
 bh=shc3G15aBuqHcjbBPqIaaR+aL+PuHYSEPtpOJfktdvI=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=K3309ZimQrR5hPpBJrrvPwyXyngkZz69i6P0d0tV4GMXHSDNSNc88HC+oEQYYLaYp
 Bo+cp1eqSW6mhQoXdvx89R8E1XlCL0kn+zTR5SBRovJUyr7QpR2rklblKY05tyO/tA
 rfdUN2qtys5DAr5TNJAMmQk6M5Dw9cCfLrz11cdg=
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
 1MpDJX-1muiIM1G6J-00qhMY; Mon, 09 Aug 2021 01:34:21 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:37 +0100
Message-Id: <20210808233354.6745-14-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:jHb9Bj4Vp3C+rTnFWx+YiX0QqLPRQXKT5oDUkfXNeA2S1rMb7eN
 iZD55zwfSuDA4bfNmbJzu7TY1FAadauseZjQJN+1qbxjOxwpSOogbMOTS2kYJ3wG5Jjc/9f
 hOjbAs6EaSIl1J9Kqkc9W0naTDsL3CfNL6lFsMZTDgtU8wWoTlzRR7a0aatuCK1k/p1SeFn
 iGdQhcj32jNhbfK7FXxtg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:Bl9o7EKe/gE=:jLUCV9WrsJxZJminIQPofK
 l6flhEMI/BAV/hu7ReQHPUHd1N8Mglx33tAyP7vpya74693nrLttUMfLPQKH0UNZfOX0DE8sU
 9eg2bkJ1/LuMPyNoDgUTGCOyi2QKjo0OgDW2S1vZ+UsBv3ywfQONk99pk+l8HUM6y/HBY6ITx
 qk7vpFTnKgzPGlXD6KKhwwxYX1v31xjnApOBObG3mGslqXlfFy69WOs8yPGtxxiEk/TCbAtt5
 vRxHgHMJgvvs75PqmNqO5i8gBMl0I2aoPAC2dSPMhdURJCMpL7Kje2mbZsfgRl2A6Jfr4QHDJ
 Wsv1yG/1eXtxg/iWwW4I8pzCR0enP6RSgm/Y39wlmR4RWRtEQuztW7mtRjkaljkL+ljt24XWK
 92qOCWV2I1R4DxC12315FEcRKhIQPAaHoOB6N5dQPEOL2Y/ehLws91/ARLcVBlqSWXGPByqkS
 eURJmeqNh1RMHFKvm2y5UoW35ESsqGQff0A3llIxEWc/Gl3PZJSrPwrhxjRNnsUhdSnCSTrGt
 9uZpixIhVe+TAnMFzjBlQLg7V/82T2CxCNsziKybMiPnHhWacO/mdPadVF1tj2Gv6rpMVhb+k
 2tdJRzQ3/9YeS5L4LqT4EonkOOgnbdc3ik1Fx573qLocygsMFfDIuk8voVVj3tAk8JcfD7mFL
 J2uYaKkf0eTVF4ddDTUB+yFoBp6DMobaluzR4Nl0QrowJTjk8b6bU+OS/tMBoKFL0vee9PpNF
 yKD7qFGBQHnAMa+m5lF7L6C625N8TVMLknY1Cty2CpyCbZAeUy6606gqybDNOfBJAFZLgofCH
 7zBrgVRX4HLs2DcaRAQjk8ZGp3OnMw3t87wOohO0iYg5o59hJNWsA71z3UJAjePt0H3FsxWMK
 VHYyjfhAZnTkQ3LAKVeqKedSNYHnO4WPhNjD4/dpNcD6D5A9VTbST+QTl3MZ07+iMM7YH3ie2
 Fx7rOK9ieGqT/UXrN4NcK7qMN+3zGyo7lDnpnVNmSH7qbSis2NOTb0aKtiaVJmmgwR8Z65gW/
 mGWN/mzaiRwIjvedwUJSFAcv+PI8yg6CLDgBuLSr9WJVKJPHCPN3Y0EjHI75RC46F5s1vJwhg
 T0qUuTbV76eMeJNWnQq8QWJyYY+iIHCZw5e6j95++OxghP+He8G5lDvDQ==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-go): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 05929a9062..f163efd7a3 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -22,6 +22,7 @@
   #:use-module (guix build-system node)
   #:use-module (guix git-download)
   #:use-module (guix packages)
+  #:use-module (guix utils)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-graphics)
   #:use-module (gnu packages node-xyz))
@@ -201,3 +202,32 @@ library.")
     (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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 15/31] gnu: Add tree-sitter-html.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:08 +0000
Resent-Message-ID: <handler.49946.B49946.16284656763398 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656763398
          (code B ref 49946); Sun, 08 Aug 2021 23:35:08 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:36 +0000
Received: from localhost ([127.0.0.1]:54993 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJQ-0000se-GS
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:36 -0400
Received: from mout.gmx.net ([212.227.17.20]:50621)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJH-0000p9-Dt
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465661;
 bh=iQwdcZMb/NpVzhuKGmrJKX4i0UfZ6b4zIcg+VesPckc=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=eM4nZWCIufzwvUX9Kl+EKeqlRkAM9kt+iehMuGda2rnx3QqvIkWoKClK2myaIANBC
 yXFvvwYRcMe0vIAzjoGgDRJCSrZH9QDJjckaLzqIF9desUuuXu8U7AdFtJdE6h0qy9
 OPP3eQd33792+WaL4aL393b9YbmUWCyGSQp8CMME=
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
 1MZkpb-1maiXS2QXX-00Wq66; Mon, 09 Aug 2021 01:34:21 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:38 +0100
Message-Id: <20210808233354.6745-15-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:jciSUl6QKxWBUr+zHyPwjhHi+2rkL9dFG2c3IF//u8zLJMWNd0c
 1zlhYvjjMpYAvYKzz3vyGLxu04R06DH4rLOK4KEqmKIujvD5f02xxGj+4UBOIJreHgRLJBQ
 LYEOr9DYCvi9Rl4NdspSgHUuFNhRRfousse2u5NscxO+GDDeLgkQCbi0cZ23fYUKQAoqvdY
 nTHLXTRxMqjYE8d3ShxPA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:j0ECIDONeFQ=:FxgDXxUhbKZSLa0opuNsBr
 G4tI9ZNEphVglML3UePGV5UWkJH00AfqLNbXsoXhUwo23jYYUbXiIVIY3irOGme3yzPezUP4+
 ZbEndWnXw1dN5UnA+T8de8F84ROBiRIgv/8rHL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g==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-html): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index f163efd7a3..c2ca5a842a 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -231,3 +231,23 @@ library.")
     (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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 16/31] gnu: Add tree-sitter-java.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:08 +0000
Resent-Message-ID: <handler.49946.B49946.16284656773405 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656773405
          (code B ref 49946); Sun, 08 Aug 2021 23:35:08 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:37 +0000
Received: from localhost ([127.0.0.1]:54995 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJQ-0000sl-Q4
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:37 -0400
Received: from mout.gmx.net ([212.227.17.21]:60323)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJH-0000pA-OW
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465662;
 bh=mBOJGm9JsV8arZvjDwt2lse4nTgdGqucvRss1PwYtYI=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=h8Zhi7FfYiKxtwVVC3Or1gySB+nCpSY5O6hO0gS51D1RfdNKescOvaaYj2FIcPELA
 mx4jyimCyYgH1DPsf1HRNbL2/cde6II+VHaygHzrdZjjfV8ze8u4t3QNueijgN4Hv+
 oLUGSheiW9qpG5Uf0Jz8tTlP8lK++AM+Qb3VmIlE=
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
 1M3UZG-1mDQXX3bhS-000ZiB; Mon, 09 Aug 2021 01:34:21 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:39 +0100
Message-Id: <20210808233354.6745-16-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:2snYmM0kTzSfYbPFvmgvv/F/3vpuwihIBGNKrGMP21JTTvCU37e
 4DluRnvRdqZT8AEIDsYkebMNmOnn9BYfyis3yShlETGIyXZ3xdWi7iyX9NEb/d4928JQibz
 os0zVHCKogLv/d7MmppAtskW9AF1IZJU7F5fFhub23nz20OaRCsv8jKUAX4QhM6czeDL/I6
 ZwkYFO4MrKNS2NC+J882w==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:q+L8LlTNt+M=:vup5puxGOTDpt90pQcb/9u
 551EUcAOvNqw5ZFqSnwIHqpl52o3Lc/GMGFpJYY6XeJKtD6/p3yYLAOMbBAHWaP4LiaBIQhzd
 z9juD9dS5VLmQr9jEd78tfJPoOKr0UtewXd0luuvHQ14k5MLPh1Tvx7XLcX181SkKLm42c62i
 MHj8ok9p1nf8aVc/j8g0dMDtM6DKPUjg5RrfnsFKNsrl4FPZrtn9zf/kKT4KCn5nKvakFapVe
 muvOc8Xvt3kcZyXXKe9wrduB8sQl/0gA9YgKwe+drSqLsMwDDamq657z/mxjrnZB0Lue6AwaC
 5lRIz+EhX5bRMLaEwhAX8YeVw145jZLB+3p4DwoC/lF9Syx02wNJa25j3YhCRVbahjviVM/9U
 iFP4q4G4QmLtXiZwA6MRd2StNJPUMOyRCVthMSCncv1K1FUT7gfE/YQkpB1t9vBUmyogLrX50
 SFQHB1zhz/Wp1PTFyPNxxHtIZ8ClUZnP1v/YwLwahkR91nwTjapW1sfpyCKlkA8dvRxg+H1nF
 gHCvU9lRbCzuBrMbAk0kNWNlCBcTOE2P60coPQXhMGKwseb9vJybo+KWtizWxqXGiwo9tFW0N
 4aunlL5tWhm8U9su3D9iluKMwRsUpucEaMmGar2O91XAGK5WomZJxVLf01ygWTSt45l932CmM
 6V4gyzK+5SBVOw/YxbVA0jKRQWyKOZ2+u/AJ6loffAIxXa22zFHmaXkhrJsrBi0urc5kmkI9t
 0VOMgZ80xx3yS2+U+MCCwA+ptllAarglSYXyS8YVt9w+mKMmHVHJRH07SstWvOUneYKIql3m6
 Fisn0dyqevRpziSyFvyixMd//uA2jPAvL05OQTo6j+AQnPiV/Hw7y3xZgfSigk5ocbwQl8Ycz
 XcB9Np2objeyJfWisXVEcpZmCQmJG5e0FL6wY/XFIUChOOmBvBQ196e9toSDb4lHAmdV6Bcdg
 TcyXGo+5iijN76NS9mGJDyhDOAsl/rs0TZXdMEJLwx0h4dT3Y/kSIlaBHbIOoke4Y3LTc9obq
 80ncrFurqQwxYlAFdI7V0KB5ZTCiS1bOVwBTO4Y7kLnLIcEQsfeg6H+7+WOLz8GZkAivBCdwA
 +mHs4VEUXelJ46OhVUL2MttrSgJkuJa8TaLFscXPSiGgYb/YdMg+6PJaw==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-java): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index c2ca5a842a..e671c3fbf9 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -251,3 +251,32 @@ library.")
     (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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 17/31] gnu: Add tree-sitter-javascript.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:09 +0000
Resent-Message-ID: <handler.49946.B49946.16284656773413 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656773413
          (code B ref 49946); Sun, 08 Aug 2021 23:35:09 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:37 +0000
Received: from localhost ([127.0.0.1]:54997 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJR-0000ss-3w
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:37 -0400
Received: from mout.gmx.net ([212.227.17.21]:42067)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJI-0000pC-6J
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465662;
 bh=9ewappmlgti0sg1K9XgMKD0NXH7D6akk0AZA0trlDp0=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=EOs8GFQ44AtMYKGBT9teJVqXpF4Cr4lkqAiEzpOIOt0pYSUmCTKmjh5qIF2bWoU3K
 btGl5QZiQWKjDO8PwNxpuJZ50xOCK3TNDWocsC45QjEBNY1rI0c+hPVph03mXLVbry
 C49OlfpxHf05lejvZ1KLBs9c3SjnIBrZ6EaNPBuo=
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
 1McH9Y-1mpVNS1Rfw-00cesj; Mon, 09 Aug 2021 01:34:22 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:40 +0100
Message-Id: <20210808233354.6745-17-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:Bi8kDg+xCxdO7Al3NtjuRdm0HeyZan8VV+pMOFBMu6yWcsO9tgr
 mchXun6lnLQJTa/sOvXpRsWfK7i+jy8qL+eGMoGGHvpwobiKypBsvmZzvZ8A6sjVrKuNGkt
 QVG1kq5/T43ZhBhq845ZgWjWgMmco7aruhyvgwk/Sfws/Tk7swv22Sz76rWCKLoIN8Y9rFg
 Lh7DIGi5Gn2iaJREU1nJA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:rjLxZpxXJEA=:iZS72hy+yrvEHByZqM+bZ8
 4eob7r/caxq2P5dshWMLFpJsYqOYBWJWoyEJKc5y3CsVwwJesrJXiRP5ZHkjAi4is7jX/NbQA
 S6FTQ+RWNEyIZC1RUl3Y/eZuGtq4JIJZeiE5Gk/4UIFLBm2hHN4IHXaY2U1GxX4DoyKGEhsi7
 U8tfCmfY+2hwiAelID5uL1w8E0Ofm1fi4Y8MWz1Z+QwK0qtBQIwUJFgUvRvRuzzmEokiMVcn/
 /lbwjrUxnzujXnfyCSxHsE8eN/UZVc4NqlkCeLB774Uojd0E18Z2H0ZOJqhnS6ETnGYIR9Sdv
 0xdPkwOBfjMGXpJK0ASKWxabjCsHXdKXet3Gy/NnDzcAsU+KX1RzrEAIMbo4VWG9x5+AeRMaX
 W0EYCNdv7z/5EzIMlXm3/g1zXMhtsaZkqqcc1G+41RrH2xVonRszLv+c6PN3rimV/zTov7dER
 KzA4AzSSoHPA/H14RbrtpBebxciGS2lSJaIPUJFVons/EQnrlJOSFbDvmAtlz75xS7focUmql
 RMRGalr2xxu2HJgjtdfj7505oDhfM+zKH5mq9ByoGtUwYpSRDaIdk8zvGkyDnoci5eD/bjmSn
 qHwf85M12Hi1m02FCGG64Tcxt8z4LZ9nzQEShuDJmxtohzaOIV4WDM6CP+Dn5eqLFmM9XJ8Hz
 3gyL8zK2+oUUONC8svbxLqLhX+28WXvdIqVJJ0q0uCK82ZYpIoM5wPW4lw2caxqk79BWdF5dX
 DDL9D8xhENbdrqI06fHGr3gr1CxMMuNpNBSvE44cW/2YcCFup9+8JzbWHKMVavab1lqmmZT9Q
 amceFs7Oyan3xfqWqVeDTcZV63u84/yMQreehqv36KfVprzltMAaBHd8m5Earf0OH/27H+9+Z
 ucLLV1OVHcrKNCrjN1h9zhK4lVycxrToiQNSOe+ZVtqqOGOfZqeAElgXKR4rR91vxc4GPxk29
 F8gfFBERzDhw4vLZBfRCC6zcA8XaU1prWauFCr87DGpnKJhsQN/InzEJzrvicPAVqCyeHyFCI
 BwDwSNNPcI11c7enrTg8CZS0yma6QTEaV4YkEP0JhO8EpthkzPeD1D1YtwC6uu4gSPojM5Exq
 aEVvXSzgO3gJPiqxz77sdbg2yIsKJyuYbnA9nRHP+OPaU+jiogkihx4fg==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-javascript): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index e671c3fbf9..e59a44c521 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -280,3 +280,33 @@ library.")
     (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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 18/31] gnu: Add tree-sitter-json.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:09 +0000
Resent-Message-ID: <handler.49946.B49946.16284656773420 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656773420
          (code B ref 49946); Sun, 08 Aug 2021 23:35:09 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:37 +0000
Received: from localhost ([127.0.0.1]:54999 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJR-0000t0-Ct
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:37 -0400
Received: from mout.gmx.net ([212.227.17.20]:46057)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJI-0000pD-LP
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465663;
 bh=eqqUVA8VshVOntsIjgB+gexgYU/YfVXc8VH8mkhOX3A=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=h3eQocb98WZZnAWxQZEkIYNswZWi/hlp+u3CPYuKgPYBtQSnY/BRl2U7aSPclrFJF
 RdVKumn5795imsy70WBjrkyzv+RfxEkfIaGvnHjdGo/1+2wTpeXh3DW7wiUhL0Y/JC
 Qk4tM8EvlK40zMrcG3j0u3ws29ZijjyGG71NckZc=
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
 1M4b1y-1mEX042iUY-001gAl; Mon, 09 Aug 2021 01:34:22 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:41 +0100
Message-Id: <20210808233354.6745-18-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:RG+sG7STBF0xIalwmShI3tI3sB6ikTeqalpoLr832VAjFsyLZUT
 y53pX6TnYs7Q0tAJewpZj2hOjBTKGMJoqlCLy1mvBFj6oO+tfZMAiZNVx1uHUE61nH+RuIo
 hwjPPD97lLiMuGx8yPQnxckhcLIiZgwox2bpjUhqNESIUIuIiNgSn4KcJvgu7j4p99xUtir
 Qr5/vywiCBO8Gt16b3UPw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:3Mxm/b+qcKg=:hH9CzvK79BlZK9/QQhd+uE
 uu52VvON25mNaZ1KY0T9TmaBSyQjEieZLZwXvtIoLXRTujn0UU25b0gj8vRq2kmAgV61Ec5NE
 Tm/mRzmM1boivGgBUQW6etY5YJp0JcmxCQZvUxKHDd6TtFrLlk42nqy4CLBHc7JSB5C0BZ1FY
 2z9Plvpzo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.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-json): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index e59a44c521..d6214de2ec 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -310,3 +310,23 @@ library.")
       "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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 19/31] gnu: Add tree-sitter-julia.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:10 +0000
Resent-Message-ID: <handler.49946.B49946.16284656783427 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656783427
          (code B ref 49946); Sun, 08 Aug 2021 23:35:10 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:38 +0000
Received: from localhost ([127.0.0.1]:55001 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJR-0000t7-Kp
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:37 -0400
Received: from mout.gmx.net ([212.227.17.22]:59095)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJI-0000pE-Ob
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465663;
 bh=vKeYFCWp/cYBMLFexVMI5QkBmBrQcR2RaXRms6dXETk=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=D2wm5e6Ar2RduOoLOaKxmFa0gUzA/q6OObhBMuRtkpAkXD5xOd4sDfm1ozY5MkDpA
 5Se4gJ0je4M26XBqyszEMO2qu1xkjmRYJSMUovniS3aRd6dRyJlwbscv9t7KPQVg0i
 rhT2Oy0v2zk+HwRWAz7nY3AdyEKsGzeeGTMj8BHM=
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
 1MS3il-1mgBef3syZ-00TXmQ; Mon, 09 Aug 2021 01:34:23 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:42 +0100
Message-Id: <20210808233354.6745-19-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:UT/xcKu3oICv9xmu1NPWfhSpvAb35k8Vg2qhhNtrqwEMJZMOUCB
 1MEDVG7uAPwfgiHcu/xmvdGxAlH7wxebHHfJUw5CHF/+eA8dR38HfznHjtasTB2SrLcnUY2
 S0S7UhaRSypHJpYref/G/EtEAmkrfopftMPlNJ4QmKyBqkkK0xD9XRl5bfkM8Jy49q4RXpV
 4GoT0rcX4bE4rCJvvt2HQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:mgRBHL3QE6g=:cmrZmGw5/SSZYDcYKPSaEv
 YGcCnHagBF0Xfa+1v5AJhvzAZ1sPU+iOAtx+p9O+n7EXmzeFB+Rwj2QhjiTMamVphBm/AGkUu
 k3uYASsVW1sqyK9Io71CIGiwFeDvi1YpN2DbmRoVc1bT0YAGNJHy9PlfbvWhwZidXmMS2Uw/v
 KYLCCDEqPBwmPFSMUHI8nkPOYaAHwvSe7PwdzXUZYVCH9LEeFlbiOAUStmV92f9AQpdW3ivRZ
 +liFi6wmjeP8YfOTy4rzvbfRSLtwxVE4BZXqM9/6dK/+Ki4m2awpaLmCuXvXlRpIlMZsvPZZg
 ymZ+et0cqV3/LnZD1NQ18oer0iISNazWdYpvhtprJCs0PXATz18Ecgs5KVm6oxtxrXGi0wJ3O
 eizehwrFwEuS1CzKh83tktT9K6zlqukFiSFXXGltpV1NjwRFT8C2xC1TjC9Q1TWbahBtHr4Bw
 e9f3I5uwMOFWTZUFIb057z92eY0tB3utypRjPkqq5jPZVqTx3WBd7UrBTTOIwxxwXZUNL7TaF
 CMhcjr4EL5Em8YDKYmS/5fWw/6SkcjWM+gAwluSFUp8+vO4MZARPOdKAXRcv9KonE6x0M64z/
 7rz3ecgZY1yKNirekpqZ+5aCw5zwEeb3MWFgS8ouC4ovIXZ18OXbDSR//ieMyehL7Bp9jQ034
 FgxORSzjcMFlcSxxcHN6QrBfSXDGfZDylow7MD4kYiH0x8whePCPhNdKAhepG0tM+Bdq7EzAO
 2vTk4C/MNuz/+AFIfwBmH3NA68fkeO9eMowiKMgoISyfmc2imo57CEXQ5Wh6Bx6WAyQvkrkL6
 yiUBG7VvPJNmidTz6b0t7lLXyihivJWtVK5xn/ghy++omi6T3+ICmG+a8sxqm0zihOqCsR9SA
 /uJUiCOpeecdZkcDQcQfTwEJNnDjDC8QYmn0wOQh/f2W0OceCnYVIhx1q6rtNtElTIKjkR7X4
 1euJWCQjiwSgjw6AtmtC6zTCAFIM5wr28hCtASMVwO9J3UM3Xt9voaF7cz8cvk/uApXobpZ57
 5JGGjeBB8oEgZzaZjipqVnjp6l5KqRBySN0Gjv55ZXbRteNXXRGvS7gr7P3DPmTXFKygjIPk6
 OyDhup7YboVYpzz8bial7AABVjTuhDYORgq8pQG81CrJrBEUt6vFLHVVw==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-julia): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index d6214de2ec..aa72348347 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -330,3 +330,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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 20/31] gnu: Add tree-sitter-php.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:35:10 +0000
Resent-Message-ID: <handler.49946.B49946.16284656783434 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284656783434
          (code B ref 49946); Sun, 08 Aug 2021 23:35:10 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:38 +0000
Received: from localhost ([127.0.0.1]:55003 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsJS-0000tE-08
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:38 -0400
Received: from mout.gmx.net ([212.227.17.20]:42259)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsJJ-0000pG-1n
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:34:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628465663;
 bh=HIuREUXccOePMjT9OqhVPTxopis0xRHmbRRnDLfjqTQ=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=g7xrGVX87aQ/a1X1NRback8R7jjywVXlK/JOfTTrzlFVNTAlqDfN7btCILO6mVU6V
 r7h89/eRyQwzjwZRm7/X6qCy9TpLL22wKjzd30o46JdDoSaoD7GTRMLX1ScMsm5Low
 9FXkuqIah+MCv59lxDaHMjMDImCygWuttHEW+9iI=
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
 1MZCbB-1mZ3qY0rZZ-00VBfg; Mon, 09 Aug 2021 01:34:23 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:33:43 +0100
Message-Id: <20210808233354.6745-20-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-1-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:ZiKBOJXS6F1/DbpS3r70AIZ3YzijgmPv1zZvCg0Fk1vV+XpIxFx
 EMJHqDPFXbFCeRTY530PildZ3vaB0kbfNbA36NOAd+CVcxU8+OL/Rr8u7E94vDaVDsq57EB
 23nvPZTU6W12lc6MBilbQ6Ps9xmVdGhSIWqon9rAy1G/yshKic31hJZYMKBOEvdg7k8Pedw
 PMnNhRLO0ijCCvrgMnpTQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:inhUW15/L+8=:ujJtj5Ph3fL+n9f0THDLTO
 wCaZv2JOhiJoHwoiEyMpEvtQGaV0DjC2hf5XaMTGs3VgGyJRKY6LlzQgzEjQij6EbrqP/Ekjm
 PL1+yHzFC9ScZSnUGZ7Cqt7HbB/8mYn7ToFMRZu1n3xTmKdlYFQu9x0selRLuqd1qOof4MV+w
 VabzrJpFIkpXJAUNQlcex/DSNUUOHrOKpA6hLVsFZKUr+xVrp5jN7A5ghyNAPxhEZuGSgphrx
 5xZNORNAz0F/F5uankqH+cZpEXohLNYUL5OEGxKhKFZ1hOiXq5hdgEfUjfxM4RLTPGmpSw+kO
 PeAFKQSX3uoQHe0h0Th+jqOEwdE0pTi3CF8Z2LlVbKhidbJLxeJsUQ3WbBgSUif9SobNdfMOY
 36MJyveg5mUrD6j6781TjD2R2wJgj6O8mNCMQ0C5g/hpBVCawfKGNOCz+pKbTzIzlbLLX7Ngk
 Sfzx3lYAq5fNBweJK7MIJ5+oxhHG40PqNAgxgZihddIEQZz6RTWwmjW0DRa62pFTmFxb4I26L
 kdi6v0VxFZhoDgYj4BTr9pkG5HYvchlpy7s1MxAG+Ns6Qyxxrs8ypbKYUtZyol+xDSXExkSqi
 eutrfOK7mnwEcNenqJ8je0BoTYPggCxce6oZFYeTD1RFy5y6VyfzrSVsNSXTToYfzpa8CupGe
 UWdI53hu9GIyR4fQFStibiz9XE5EZ6SEdvmWhOv0vibKbyICpFtqjLl8rcfWNDg2V+Flda99l
 42kTYiKkkpWnbUhxXhX21TilfsJjh5Xzx5ZPwYfG5ZFuZGCtWGFlrTO1I5zBgWCZSvfsCuPmg
 FrnsZ+lat3VMNAWxBUqF3jyspl+u6xws2rK8XgUTBRmERjduwGGwkVYpDHXx6qLlMtiqILPed
 h/9n+uO6cthptYyCLuKch94sGCfD30yXL0CRAKeFkJNDtn5eA1lunr9JETd5q9bFZczfCvEr4
 iJ3qVMg1iYgik9Dw7m0WZsZDTbpmqVX/iMpTf4zcQAb3dpHuE1ZZit3wbLS0rEzQ1AuOADeAy
 2GoVbsrU3lgS4zvmKERLkBk+0AgKufIUGHl23ynyvG5Kjkn/TMuV8lmTqius3bkCSJFSAnEWx
 VANEOICOSvj4/wdD0YAmAVHQTFOop7l+zDUuXk/gHxoIodqmIm7bB8v3A==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-php): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index aa72348347..9f1a30f0cc 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -359,3 +359,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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 21/31] gnu: Add tree-sitter-python.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:02 +0000
Resent-Message-ID: <handler.49946.B49946.16284662544516 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662544516
          (code B ref 49946); Sun, 08 Aug 2021 23:45:02 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:14 +0000
Received: from localhost ([127.0.0.1]:55026 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSk-0001Am-44
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:14 -0400
Received: from mout.gmx.net ([212.227.17.20]:47821)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSi-0001AQ-IN
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466246;
 bh=qHHF39rTjj3zOe5sEZGdsbFzOYpiNvenpM1cDgLUslM=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=ek02yG5mwzz/qw2R/fEC4DcBZk724D9gRKe4Tnu1MFL6OKeOBEmKOCwX198EJq9iW
 jsrR828Z8KpnPBpAWNmTLQqHuCChNB5pclkB8edALIXO2bu3n0V5uwxn9LklhWNqax
 h4Ks8FpwxQVdqhgB8PUEnHRItj+QzaPkJuASmBLg=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MDysm-1mMjpa1F3s-009zYy; Mon, 09 Aug 2021 01:44:06 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:48 +0100
Message-Id: <20210808234358.7241-1-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808233354.6745-20-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:+u1Odu3fK1NDlUMEaRmxOdq3NfCIdXIsNf+6S6Wx96XVsYUcccF
 8iY8VtCDlPm4aG4V/gJsA7dqlz4wve2kMZ6lMpAElczXMmCVAw9rprmzz+nMbPVkgUs6rMj
 tvysStl1aARb3C22v66vLI8s4/S+ancYVzc2rnavPycD0jrXPvcNIwywtjkC76TYG/4mT7M
 rA0737s/df95oHeU27Vbg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:WmcXWCWC3YI=:c1n+pxYRuQeqPsc78Jnfsn
 NeY/JC4CDKtvLzKlcvhwvIXqngkeu/6KeMII6d4zEdLf7sxh3yKvjBQ7YxgkEao+kh18y8qcj
 Cjvk6SI02H8srRc6AuB4Ikvrr5sgVzgdVAQcf21ekBS82rxLc8c0vtLQMGHlvLGvju0I+T+vE
 hrDkyyn35g0zk1UJUydatBeO6er2/7tLUTjjQeBtjvSfejP0HmVumTcPdoKIPoabyMNco4rpR
 weR3V4Lvz/Z5JJnESInDiLxp8n70H1P7GIidkEdLVKt2gi1vNTQjKl/7zBwIqgHMf6+C+jm+1
 FbYCPitKRAEVel8FlflEVolDx9hFRIWUXjgwHPvrvZNFbHHdxx8DtX/vyTu7xSOWjyL5A2aI8
 YLKc/Ab+ab19bYi71yHLX9X/iTmbnqUJ6uyhoKrfynjlpxG6ica05WD7E+YSDNaWzIsTMOITK
 15YnhqHoRjPq50hSRW30/yugjoaJKq85qtU8zt9LQTIy9cvn/zhYdJEqX6nbuZWxvUnqxXxWB
 nSgqurxP8GYUWvAyepzvdBeOgon/lN2SBH2YZr5WznY/PPo3dh6iJKD/+4H7GS9LNFG0RFYGC
 XQeEvLa4useiPIcsOa7iBEdhxF1j0tgKfsCqHBJDfLmaBsQN4QzPVNwau5BDfrbhtap/33Ebv
 hxCtwmr1z8Fe8E4z4PRlwWy0PWLkRgAS1gL9dARGZq3grIdCWYGFvkTK7vVOkyX+6lEOxT7O/
 2hYPSeHpkHpW+Hx/49zRljmJ5dh3rG94m0rSGF7dSnNZNCWK86WWYh4ZJBf8HFGWibZLT396u
 Ki7a190Fc0X4AGsKZl4A7RkE6eltLC8QE8tOOS00iG7oEhEKKi2zzyOl5rUFl393rKxC8eIX8
 z80bp1m3rLHiDkdvBLtezEisIdJsamKtjkJwm/vTfmV1tv7SOIFSPgHvV5EL6dobXHdpxppdJ
 8S/QieufMnJseM69k/q5GWPc84GGkMVK1v6kjfvT9vjUwVBqrEqhWltYaZMIU8AR5nvlVjlOD
 TUR9MJVSHROlECVrs4fz/iDbk0/ssqPOIMikJiAM3tMB1JNyWuUBMUBKfWtXQTO1E4RlI/eNh
 Z+U3ASICAfOOk6FTKH4zXhffByYXEvvaeaauqwsYRsqFL5PIPK19rCUjg==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-python): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 9f1a30f0cc..d7c3468035 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -388,3 +388,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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 22/31] gnu: Add tree-sitter-rust.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:02 +0000
Resent-Message-ID: <handler.49946.B49946.16284662594562 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662594562
          (code B ref 49946); Sun, 08 Aug 2021 23:45:02 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:19 +0000
Received: from localhost ([127.0.0.1]:55035 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSo-0001BT-Bv
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:18 -0400
Received: from mout.gmx.net ([212.227.17.22]:59061)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSm-0001AU-HD
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466250;
 bh=KWXxqbkkWjv4NWExqMuWMs0uYdyhLyDXMG9fPaI1Wug=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=TGkC4bl4zJO1dsLSWHflN4+HBV0VJUrad4AGJey5q8Y9STU2Ffr06BWR3uTjt7dxk
 Zj64+JOpMt++nXGkZZ+IKWD+YWDX4QlLMeRglB0+2C0xB2C4O+GXd1/Whsj1JHW3Xh
 3sMxaWtxAPVcFn7PInaREXvrqE+ZOIMfv3ftc/Js=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MhlGq-1mhpZC1yuO-00dqCG; Mon, 09 Aug 2021 01:44:10 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:49 +0100
Message-Id: <20210808234358.7241-2-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:7nWXM/xzsT0H1dlyY2SGw4mvoj2TQoNR4Qzy/4qN2n6TKweRTky
 Mh07MWT3vWrk5nJjdBqKS2hQc+B2wrIsfSaEsHavei3iGB0YyFXqASsabRFLw5pciZZa2gw
 VBbRJFtNCaOt8LKkECm8R7mPuDk8Ub0VNTsI5B0FJJmbZQ7m4DBa1OWWo3z1aBGkKGWKNfO
 4DHKW5JlS91Ofqa3w3PUw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:eGKMR3EEHOA=:NhmfjGgJ24HpVejdQoelf5
 mZBaafbENaqVY50Df8iOwEAkywrGSDOszsZlI4aD0jpBFqKXEoPFRZ/2xB4sHPyl3K2ZLL2Ud
 FVedTQwf+pEilO1FhBfX0n3Jew46VXUc0fTGHUt/6lpZb9MkATXCIEjmbCZxDh0bEXXi+phZc
 IpQDOzfHjt+LAbdNLCWJ2041GUev4upNENpqoLVIn6EW1x0/19ODRFgEy3j+v8fJWIf/fvWE2
 jimnu/TPIvrLI8a7OFFcB1lkn949RlejdjISUoxcgWQvNvwLwoC/8+9Dz79ootEO5zjHOm9L5
 WQXqn91DMcgGks/FpqkFz/j5/9qTZloYFBDgqvdYLyxnZGWGjJ4oMs7AQ+vyneENGXjhd/2zB
 1UKyDODfkdvFdVb95oGSTsqUyT8oQPBysuBhnXUQbnvD092DUIcgSinS09Mapp+TNf6zcQpUE
 uUvG8nxptm/3FkCh/mDIcSMVMEdhhWByY8JYxWUpOAxKUdc7rqu0WEh2CwJOtD2nwFamLdri1
 IBQW3lkUNmQ90uuHLsKRF2up+YGeL9gld7TRbgHLx1tiK4j8/i05m5Q53Crj/4WKZrSstYLnk
 /ZZuEJepNwuMZTCF/5FeRAGa0uhDn0L/7btljyj/n8lof9VTsa0xRHSCZ1aa1rvwvVtc2FzcE
 KMHlC9aD1uFjWWvp/mWEcMWECgYYyJ3Me1E4tnVUviag1tcGW83MT/0ml3hzCS4KWQpRjqT+z
 c2BVLOBf+jYANa3bKTGOAdLMygcI2m/Oq8n4AWS38GnHA9JLFKwZYO1Iu3M0rqOU/vjTwA+QN
 bJ7ln9ZAhoUiNZWSYMoEr0x04aBKf7iSASdLYVPxTJFyvZjOwHgjcKwRE83nBliv6S+4Tq+U9
 OQG99ySb+rJqVzQdTxT+xvp0Oec/cTzjVkNVtP5D67MTHFdtu0+3glg5dDUBboJMYnXUpmQna
 LVfFgDafOBeX1JLyUd5P9inU7INoalKulXVwItOS55zHR0slYHMEXtTFCc5pv3GQAcGKIvq0/
 rhqjdUyKXgU6UKT1eV33lNcpiu3mFXf1VzFevKr4iIo+GMqHUi0rIncoVJXFaD3kw2L9B1f/Z
 rzoczQOtxowmPbNP6pakgreEf3iKaC94YnOe/JroMYl9vPOTryvJaJqig==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-rust): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index d7c3468035..6c2b2e7577 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -23,6 +23,7 @@
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module (guix utils)
+  #:use-module (gnu packages algebra)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-graphics)
   #:use-module (gnu packages node-xyz))
@@ -417,3 +418,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" ,tree-sitter)
+       ("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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 24/31] gnu: Add rust-bindgen@HIDDEN
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:03 +0000
Resent-Message-ID: <handler.49946.B49946.16284662594576 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662594576
          (code B ref 49946); Sun, 08 Aug 2021 23:45:03 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:19 +0000
Received: from localhost ([127.0.0.1]:55038 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSo-0001BV-NK
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:19 -0400
Received: from mout.gmx.net ([212.227.17.20]:32935)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSm-0001AW-Ue
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466251;
 bh=o3irwUCbEz4zUeaCJSf4r1PEJq28Tnb5USfkM2LeYfE=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=lfDWC/kaulXKKDrXgctUY252yI6A08ElnOA1u7z6W7cCoCRNxcIPENCs2hMXm4goq
 OtF149JXYmDHB9OvkJJhtImygfxyVzx25pqI5Bv3QCplMg9BaNOxXofBF8RkCN0LxV
 Kuyz7RgJpz0eHYeXTTYx1mAPgKP339Cmsyn++HmE=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MirjY-1mivUt0UPE-00ewey; Mon, 09 Aug 2021 01:44:11 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:51 +0100
Message-Id: <20210808234358.7241-4-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:VUf6p0VN5Va2EddHNTLqpJ/GqeXeCdY0bouET7Vdxt2GnATgs0s
 JuyflBvQYFndXgRf8jWgwB08FlolraJbM9FLV9vm0JXckOPuNYJp0upflFCXfCAi6OeZWLR
 exgcmqJg869IhEme2Sbq6WibsEBaXzZMRvOjb0dwOMI06wyX8IFth92Wnoa7E8Y8fRJIKiv
 k4YiYJ+0faTpTZSKMyqKA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:EJszgW+FGos=:jT5VyG36ukT0TLdUVWqU58
 254xuyfMQCfxhjWkHzHRxdglNXtUW6RRomHendP420DDrhue6iwa6ZECl4DYpTWaAmNJCC43w
 0fNZ33dUhu9nChb7zLeRc4vlN7jYJH5u3XZ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
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-bindgen-0.56): New variable.
=2D--
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b551e6921d..44f8885adb 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4482,6 +4482,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)
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 23/31] gnu: Add tree-sitter-typescript.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:03 +0000
Resent-Message-ID: <handler.49946.B49946.16284662604598 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662604598
          (code B ref 49946); Sun, 08 Aug 2021 23:45:03 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:20 +0000
Received: from localhost ([127.0.0.1]:55042 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSp-0001Bk-Gh
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:20 -0400
Received: from mout.gmx.net ([212.227.17.21]:55573)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSn-0001AX-4e
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466251;
 bh=ogMCDOZpYhgYne+HPX4ONUD/1czl+21nGVgXy7G7p20=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=LENjyUMHfJLtJVXXqCsuc15Lqsdfwde1TEagJvW/9/t8Hhrb0YcMwRvWHO5NDftCe
 buzv8gtmRWyGDt7Aa3hOGzhZSAtebUBoKJNXDzESb+gVlQPC4/ahmJpAzQJB+itqjm
 LbtmxG5ApRsq5VKuXASo+qNh1yjwjAQY5zgv7dWw=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MXp5Q-1mc4pS3So8-00Y75w; Mon, 09 Aug 2021 01:44:10 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:50 +0100
Message-Id: <20210808234358.7241-3-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:vC9FtyYfrjya7jZswpZOIvP8rsY5RrAA4lIK6069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JYE
 TmRfUalJ/z7ozGv2n7RUWVDxZ5oIS0B+54k+/nhBUwPm8OzokOFY+7ZgmqjD1Ayd6DtjqAP8B
 5fErA1os+ZPyP1RXs2l1813DPtgmEGAkC4NGN6LOABOHoNJbAkeSDl461xvfPVYQp4fziJlfS
 in2MkYK4Rs2wRebxorDNWbEgHl8Csy2tqqLXBk2qSfWs8tkjpknu0xv0C9MZo7+Hm9j1sm8R8
 nWKYuhoq4F7zq9LpHXUm+RjvbaCiqeSEVo+iADD+lI+n3i0wRdiQep6vIhwoQCqbYCCf3KaTN
 VwfsaOeSg5QpglDsD2kAthED0/kpadqKyEKp07ZvuIPU/rT0XHnkFI07g==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-typescript): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 60 ++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 6c2b2e7577..0f1946a77e 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -442,3 +442,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" ,tree-sitter)
+       ("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_mo=
dules"
+                                           "/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-sit=
ter
+library.")
+    (license license:expat)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 26/31] gnu: rust-emacs-module: Update to 0.16.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:03 +0000
Resent-Message-ID: <handler.49946.B49946.16284662604606 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662604606
          (code B ref 49946); Sun, 08 Aug 2021 23:45:03 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:20 +0000
Received: from localhost ([127.0.0.1]:55044 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSq-0001C7-AQ
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:20 -0400
Received: from mout.gmx.net ([212.227.17.20]:52195)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSn-0001AZ-G3
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466251;
 bh=OweyIdFpOsej25eRG7LiMOr2qN2MdLkbjhox/0X0Wlg=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=RZ0WsuYhFa6mbcEsINUqixCkLrAZ1qdRLVEp06Bo4PNftvI8lwaQoEXz9zryZN4Uj
 M1Blm0wNqy1tCLEyI0A9mKWL6hxKw7T4tqMaHQaiToy0ps/XgsyoRCxtHQrteXLYTh
 XTe0oHjy8BGQbl1LnY/vw7vQ/epiDApiFJKA/6VY=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MaJ81-1maA5W2oVx-00WB9R; Mon, 09 Aug 2021 01:44:11 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:53 +0100
Message-Id: <20210808234358.7241-6-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:GdlYNjb43xyA1t+ARUU8kdc/yTAc4T9Z2BvqzXk3FppjMHVee0J
 eH+JVkC1/JlypM2OqCpDO9g1fkYvCRZ7ik8Mtcw4WTIzd0D9tpYgNk7XSEcJOwymh2l7xhT
 LjuRNrTMV9wFcLqMCHSJybB2vxi+nQtwX3EOjGdHwizQCKktEF11Yr3kNRW+nJi2Xjsn7/9
 pKHFeQIlh2W/gnjHdpIdA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:iP8VSFFYCvQ=:yOb3lD31rdr/Y4mH4VoawI
 fx1dG6PNNqDsSz0qimlSpiDokF660zcZYwUJWR/Msoui+4BDdztTwiGVuxhT83Cjhrqi9uoF8
 4atKMZWtoln8n6qLPlzBWzqQafQu8LylW72jqv2w3+WoYgPTOMs5sCRjKu8MEgdgY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
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-emacs-module-0.16): New variable.
(rust-emacs-module-0.10): Inherit from rust-emacs-module-0.10.
=2D--
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 44f8885adb..57a287c5d2 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14638,10 +14638,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)
@@ -14650,11 +14650,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")
@@ -14663,6 +14663,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")
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 25/31] gnu: Add rust-tree-sitter.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:04 +0000
Resent-Message-ID: <handler.49946.B49946.16284662614612 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662614612
          (code B ref 49946); Sun, 08 Aug 2021 23:45:04 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:21 +0000
Received: from localhost ([127.0.0.1]:55046 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSq-0001CF-KU
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:20 -0400
Received: from mout.gmx.net ([212.227.17.22]:33013)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSn-0001AY-7Y
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466251;
 bh=2gRDpeP3TIggo76wJJgVfCISnS6/NKTnCc1jl0L0k4E=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=j1OCGimTIyggE7z7vlth9ULpSca+lq302ftRFDAXBAgeYew66q4122/7hSUSNW6NA
 9lmXXuAC28fdKoewidcykyXZ3/FfynVf379YFLqreyDECnW1u4jIloVCLEwNWSTg7L
 zmvUZiffP9Pe4upoILd5VD6MQvL8t3T73Ej3y0SY=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MIdif-1mIdEk1dAr-00EeGb; Mon, 09 Aug 2021 01:44:11 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:52 +0100
Message-Id: <20210808234358.7241-5-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:X1hd2F1V1cH6AR8HFZTxdTtkbfsjAo1cQlwaBe/dR6ljAP29bew
 yqapIL88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PHy8M64L5KV1RDM/yZKjr78XQXGQAIoUTqcbP3B
 c8mxc/FEW0BfabLCadzeGwVsUGPxuLAi6vGAAQ3Lecg4CyBGWjXgadT5pdEKtKcRO4fINB21q
 bi5oi2fiyvL30lAF3ct3M0LgZY/BUOmrYkCEJCjKFSDqp3GG+whJY/X7Q/h6uNPO6moX+n1x/
 oYSIT3Av07ROLKRBSNzOBfnFZrjBx/Zk2E0giw7VvtVdge/G2CS99KVINli8TfvgCJmRuQa7B
 SXBf3xW74PIZ4kgxOGn9tQ9x/guKU9FuyCOx0EyOFKrS4U5ceuxMGKP8A==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (rust-tree-sitter): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 0f1946a77e..4817b293ce 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -20,6 +20,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system cargo)
   #:use-module (guix build-system node)
+  #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -101,6 +102,32 @@ This package includes the @command{tree-sitter} tool =
as well as the runtime
 library.")
     (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")
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 27/31] gnu: rust-emacs-macros: Update to 0.17.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:04 +0000
Resent-Message-ID: <handler.49946.B49946.16284662654624 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662654624
          (code B ref 49946); Sun, 08 Aug 2021 23:45:04 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:25 +0000
Received: from localhost ([127.0.0.1]:55048 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSu-0001CV-VK
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:25 -0400
Received: from mout.gmx.net ([212.227.17.21]:46273)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSn-0001Aa-Qp
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466252;
 bh=wRfOA4cMk7OH1KhCIk4ifbmDuSWPpVGnU+0i5CBhz70=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=Vkviyd5N0KO3fJiyCNaIXVXsKRc3oQ60PEvX1NfsEkuV8qX9OcG828onpTEJ9yO2g
 z/xVIKLGNm3oChAy9NPyeWc0EkAY/qRyE5eGLWcVRI9OIPW0MrBu62dA/4v+ytg5Cy
 c2V5Mdl1DKRGHuk9Tc4wHgS5VxmC9tSnNllQqcbY=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MjjCF-1mxzvM4AF1-00lFn9; Mon, 09 Aug 2021 01:44:12 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:54 +0100
Message-Id: <20210808234358.7241-7-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:CQ0RCG+nWDasW9M1J3XOREl6P+LMD0+8IzbTmt6Tv68nmD9ie4n
 Rn0sJT28fdujFcXRfootwS8JbSe/6KvUCMtYuUjaNVeJxL7kiViq0+jKAyOeQh/NeWA6KQn
 7Kur67n5GSynmhhaAkBo/n3w5QWwt7TljoIBMkVLw8fEYK79NiscHHMGI35FcPIarK6ZDgd
 hdy79kyZAbAiH3y0O6xog==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:jtChantIrqY=:XdBDKUwqdDluHSJwPXnpOO
 Q5AgnnJ/z3AJfcUI5AakEXLHbpoonvhUvqiOmEU2BB/dO3Wuuf9207UeYGxYspi9qbJj1cel0
 6HpXa9Uuo3WAarpWTuXQZ7m7e1BbyLaZkiHooGVjvbgHMHXR3Adh9beiiOaSp4onlE3AqGKYy
 23vBQedjCJ2+y61oZBx6nQ/UENup90v2Ad2ZcDKi8LGUsKoI7GHfqzwaLI8JeV8vD8Z0WfwMz
 dvm/LxmBOBlx2MHBwF6DgAJSVQHBgOYSurEiKGci1JXOwtkUg2rmo1Kay1J0jPIewGWS4Fxu8
 7eBMkzcec+LPHTlPdfuinhS07UFfrtXefILmBDy3IYA5MKt4jZYzDlZNfX7o3HV7oKqgpeioY
 /RLcI/Df0MHBvesU+qDW55DhmB23ltV7/NGQDzINBmDVDyXxepOCkM9C3PYyaa/cuOojjqhqy
 ucVjlLXLtR2fRZTBjN1Cg60NDOFUAlQHsEj/JJEo7QH+LldtPXGIcgdCbIORf7tzAvhpi0tpY
 t94KOAjO3KRI+/pZj1uU6KYsOK+ybHCUrAMcjFgivWKblGX2zBOKgQ8cUE+beQdZL2gSmU81b
 HQ4tfewWHMTQ4cWcU7S/r23Pf5HhDzOj9zeHsZ1lC3rO+EDPr3qdJN/774NJGBnb4YOaSnM1x
 2jK002cf29Ow2WxiVbUbCBoraQPivI2OdnWYsv/eUzlcFqCgHvIfndtNIvcpLlUqhHHlQXIlo
 9pSqv0KhuwYz7bowAvgfGrmzHtCkQQmmLL1DLZEyNwZUQ2A8HLiSmeiXnW0vnfBwAw9cXO3gD
 XjCFNcA6F5NS2TmOcg/jbuJ+9aEXONIkQaNEHXizTBi99VpnJjtIRE1EHr3s2Cyjj4x0UBaYD
 On4buTotvApjRLRQG42ZI2LJBAj0995lF423p0AD25+6Qabp7VhtTgisCapebbxtaRPZfK/Vy
 eng0T0biIm/Vaf07RZEiGLaR4/FtWJHPt844klhXs6X+WR3OdZWB4Byx3VAEhPcbhZfjL68Hg
 d86eID1qkPfHMerJl0Lp4FmsHhLn3XbHNNzHQbK/rEf3WqJazhJlU/0v17OSt5KDcOaW4FbRF
 a74BslErs8D684rg7us0cd1M8OhJaXx9EFjc7Wz4uWXj/hpq4aSfuxdMg==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-emacs-macros-0.17): New variable.
(rust-emacs-macros-0.11): Inherit from rust-emacs-macros-0.17.
=2D--
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 57a287c5d2..365cd6dcb1 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14614,8 +14614,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
@@ -14627,16 +14650,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
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 28/31] gnu: rust-emacs: Update to 0.17.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:05 +0000
Resent-Message-ID: <handler.49946.B49946.16284662654631 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662654631
          (code B ref 49946); Sun, 08 Aug 2021 23:45:05 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:25 +0000
Received: from localhost ([127.0.0.1]:55050 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSv-0001CX-BA
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:25 -0400
Received: from mout.gmx.net ([212.227.17.21]:51033)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSo-0001Ac-4g
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466252;
 bh=1QxP862Oy5nDbaMcN+nZ2PhUZn56ZAT1wUK15ZkZI6E=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=JKqtj1BmDALdpu1OeDqn6VroYl1vPRm7A4wr1cMfYKMC7JkoGlnt6zJ/rJ4rwVXuy
 traguOeoz0i/vu4jkLFtJVIZXk6kn9Wfpi5EXRzQQfTh8LpYus51j+jMsMV7QV/GN8
 zbDkQpFglaHQhxPwB4JXhuIQUIKbphuJFHl64fXI=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MdvmY-1mnrRK19cs-00b6u6; Mon, 09 Aug 2021 01:44:12 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:55 +0100
Message-Id: <20210808234358.7241-8-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:EdO1Z/T/05l5vhQ0Q7mLdhswL2TeQf/iiPx0rGm5GIQCJ2uy8+Y
 PZqiPYEOcyWBbFPfsACtnlZ9vw6Xytuyz7lJZZfmu5DdbIKfuqEgjDxeku1HlalzQeTcx6a
 csWUe536Wb9cMfZZ0KO3hikI9CGqdSoen5S6AJzO6h8mjReMQNjRQn3xqkhaVUg9+5Fany/
 xnZj2wjosZIRTPJB6k+sg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:iAMdqVlrQjg=:7V49QE5WhMH/06pwZtiA92
 QBymNrZ6t0w0iQFWhxTKRTQlNqqxi+3RjmHOdZuT/l7hv1rjWibkrTqdw7YBoxx0FXSWz9Tk3
 W/V2uD1D7hL5SQV7Fvi/OVecnkn2Mp4pfbyheU2meNJtGQR3atoRo9GNPGmKYTIlaizRaIWxJ
 1kgvMx6FAKoBALCn74iOFA35PMt9qsCA7j7EPr84/BQLCCy7bUWdHvV4P1+1PAkpjNTyJ4tK9
 7U3mKPrNJe9BjWWpxXl6SB1XjGQTXxsZRxbJoUpdXHNsHlyHxC8CX+FgQMnRWbxuBPftVQxRs
 +xVbwC7OvbLMzFkCjRWeseLv2se6GwtIKPCn/uti0prqUIx4FpObZv6umyisFZj/EvAEHrh2Y
 lxHAU/h+P039IStH6aB36ORqE5GCGBvXjr4NROw0iDP6eCWPc33PnYi3vj/h+5zLGLOob+DgZ
 PFthvHAbyFaZcrx9fNtBwsHN5cn77NcOjJ7atbJ8QqYOza0WRLKIVkSQnLct8HH0luYAH5F7q
 ItaNizCIsoxAArLTPuDT24NohdJZZ0ZJvM6+z8dFxWOdEgnphJXR9G4Npatg0FdHCtXdnPZN6
 L+EP7cORkIGhn4Tr0Lz+CUHaunAAxGghh4MWY/zYB59U6JftimQoHIk3aXx4AIidw+LlV1cjX
 fWRvq793oB8+/tVNJkXjuUcslkeq5NLnBrtCM5jZnaz2JLqkmMWsilSbqaEW/K3T9Pw6HreJi
 pusQtII1FSwM3KS2u41ZDNRiNLP/JhsB34pogYoTytwelqQIhhnwA/DYiIqZxARQ7JcjSUrUT
 xtei78A+UFjqIqHTL6L5DxYqj2cQApzoRPMmHAYYrWPV7ao29VndOQfTBmdxfh+7xGOfTd03m
 Q7zTZs9XCwZHpEv67hjzjWJF2BDh3RRrGc8Xne1xiTlepZ5W4NS3OT0zYD5Hs2D+wuJW0s9t4
 pD3b3ukeN+Dl7SQr0De4hK9r/1OmmhSGhOtbEvUf1j425Cy9qweoxBEHArynToKx/YERdJgVe
 DxpeVpjqUdpgF3zSHpjAbnpZ4bu8Fo5lbu+yrIy4vz+JYs31ieuUT+hYfUHU8wKHQP6LJaqUe
 g4DE9Sel72Vc0sBvDsnyHBrODMMyXX/ffqR57ECW9yUdHTujqfNzrejlA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-emacs-0.17): New variable.
(rust-emacs-0.11): Inherit from rust-emacs-0.17.
=2D--
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++-------
 1 file changed, 31 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 365cd6dcb1..6b7dbe689c 100644
=2D-- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14583,10 +14583,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)
@@ -14595,16 +14595,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")
@@ -14614,6 +14616,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")
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 29/31] gnu: Add emacs-tree-sitter-core.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:05 +0000
Resent-Message-ID: <handler.49946.B49946.16284662664639 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662664639
          (code B ref 49946); Sun, 08 Aug 2021 23:45:05 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:26 +0000
Received: from localhost ([127.0.0.1]:55052 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSv-0001Ce-LW
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:26 -0400
Received: from mout.gmx.net ([212.227.17.22]:45303)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSo-0001Ad-DT
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466252;
 bh=shRZoDOWrmuUCP0eFRbx/3IRBHzxDu5IwQ8E55n4Tg8=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=U5Qp3d+MTZKQCtLvd79sRSbuXr1PORDYFQJUO1D1AcX7gqA2yMCpANUoO2v8TqjP+
 QYn+y9Pu20hD3Qzj9mHbJ7imBB3InX42fTbDzK4vpR+RS55R3a0VWbK4eErPMv4jQN
 ZacGeo125sISYHxxFlT3ojlKyVVeA+C1Cz805V+U=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1MeU0q-1mnJCy2KU0-00aYwG; Mon, 09 Aug 2021 01:44:12 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:56 +0100
Message-Id: <20210808234358.7241-9-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:JdM6uC038OvSgOPmM1gDwlmz6yWgeQvE9cOTcODMbzDuHVgY6gi
 N5W7jcmySGY2WTMnGGVA7ForejX1PG68KZ3oFYHSyGy8BZ/LeorzpA/ArMbTFQJZOHqMkRf
 hWRsiX2DpvX6dH5SB+gqRleIjeJCQcqs5qu5r3SXmGRR6xY/TZfXFfxbMXmX3c8RulkuR2D
 eY6yanlTQaZ9wsxLsf4bQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:z1HbeflHH54=:5zxr7ZL3RwBOo7uBCch5qp
 /iXR7UP/eaLjsqgkRCvccGlpc3GMP3qkjb953vz03q8SWqMzdPTXb17nRgpiqc6V9MTmobg31
 A8CynvEBRN50z5RxFDEbdte7AdX9nGezF21yjwC9hMwRZSpimNPNtpbIfLAYDwgIvsfmVAFcT
 pRrJHujx3oHC5psBl4HM336vfdqOr7dn5B4lFT5Yg3ESWjKEMVuM10kdsWsMNSU+5glQqCYQL
 xXRlY4g7XS4Fils1TkZUYmght5QtGRfwx2QZYQmb5hFqZjKcnDByHB7RJ7Y7Rcpqu/S4R2sMY
 3jtjJNnIGUxv0kANYl4WnHLxWuAWHZDxw0XyQZoj4D/uNRWQqJhPAQmvLrGxwIXgbjgrslmSX
 mhzpCSC4o5DhZol9laN+1cR4Q44ok5CRVQP/FmOtoClEXHYmK/xAyQmgIcbs56V/LuCCq3JjF
 jIQ2ZFSuERQ1w6Y3epXHdijDmjJl/kiVA0adNjA+3+E7TBLmXxrHZDPZvBCxzcvOItr3CWvQy
 SSyxSrPebEqb0VKBYwYM3k31AqsvO6ruVhF/wNSGm3uNa9oiZAoJXt9I1oUgFGVG1MgLg07My
 dvxQ9bokX0pHUpSpsFuhZKHl648ZeJUS3AWsYco7Ys9tuM9CX/IRp/3eSBoOEcYyj32/MgQk5
 Uo83zK4qmywJx9VNHZQmmI+pZ58m4ST9oCDK9lkpzjLmu3MH0q9CBOSF+aVoK54NCKkxVUgvP
 bt1U8u5h05QBDA5Ik1pCGqjXdqxjkAvRqf96+NG/qtE9kx/UirKp5tleJCPhU6E4A4PzSiyLe
 PE1P5LkPguBNTwFO6KhcInTqUFaddFDuXNckpktGr5sUCxt8ks6lrBeZWqxuSDMhW1DCtbjjB
 wPa5i2Cn3lJ7gWXgz1wX6flWTtJM33w4noxL1sQY/PzHN2BsRnftMHv1BJ0VainZhnpbVK/qr
 Ecvcb4AsFeEOwapYlwu9jFIbjrA9iiOuyI3gagq2FQATFWflCYSbsy34dBpsfjosuq++E0xAV
 CjCAqSnP1gfZ/fGL4q0V5fPGythBdkActNAB9+jsg+bvkSI6nA6bhQvkgiYzehIJMoevIVqbV
 r2lZkVLB3Xzf8/RzT0OwertU+Heg9h35XVRkZyCJwsnq5mVj/7xMhNCKg==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (tree-sitter-emacs-module): New local varia=
ble.
(emacs-tree-sitter-core): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 79 ++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 4817b293ce..a9c1714936 100644
=2D-- 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 node)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -27,6 +28,7 @@
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-graphics)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages node-xyz))

 (define-public tree-sitter
@@ -529,3 +531,80 @@ library.")
       "This package provides Typescript and TSX grammars for the Tree-sit=
ter
 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 =3D .*") ""))))
+         (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 fo=
r
+Tree-sitter, an incremental parsing system.")
+    (license license:expat)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 30/31] gnu: Add emacs-tree-sitter.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:06 +0000
Resent-Message-ID: <handler.49946.B49946.16284662664646 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662664646
          (code B ref 49946); Sun, 08 Aug 2021 23:45:06 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:26 +0000
Received: from localhost ([127.0.0.1]:55054 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSw-0001Cm-1n
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:26 -0400
Received: from mout.gmx.net ([212.227.17.21]:49817)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSo-0001Aj-Mc
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466253;
 bh=MxIIl6QtYgn2aURnCx6u80YepVwj/NjskypHsa1zeGM=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=R09uuqvcxyvEfAB96JGyQg7MEnqh3pMeoudFN7Uy0DoICq+sEhqwYUFOCVrCtLh5O
 mE2FGlXMkLei4qXlo6xnTQU/5xo/hniQvPhVddVHijgkQnRRyvLZs/PiO33VTnarfK
 rZUqVpJh1croOdMdMZ6eNqXJsTeBl88KyvwOek5k=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1N1Obb-1nFWmF3VV5-012mfz; Mon, 09 Aug 2021 01:44:12 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:57 +0100
Message-Id: <20210808234358.7241-10-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:b2/wn25vpd2Iyu+JYoHbQxJllVEJmT2BJRn4lZjErwZldMAbWjt
 A3affZXBHz0imNJR3r0nWHp5Lg3i0tocd+wsA3A8mROl+OkOPLftQQ4EX0iJZvrXacU7ped
 02XWJzV40w6ka2jDL9CjCWXk55/7+8odlxQB1C/0c6A0ihUTvICGkhe67FCq05vwC//spOM
 TZkhVMuCfalNSQYdppCig==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:ARNq+sFm4vE=:zjBVzJi7Z22juyfiX+TgZb
 tMiqzhawF7AxgZtJeQeuQSP+3MoQyoT9NvpxFfsyqzaHuOefHZ7ZjuG3uM8iQDJsGahpJ8wj5
 7t1KRCffRftMl+lEK7TSXIvgt9gu/I2ljg1K0wcGJVKAkjQ8E2oHhw6Nfcs00FvB/tdekdlLg
 i7AHlVoXuaH4jbHKpKjod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.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (emacs-tree-sitter): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index a9c1714936..22551d4482 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -608,3 +608,30 @@ library.")
     (description "This package provides core APIs of the Emacs binding fo=
r
 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, a=
n
+incremental parsing library.  It aims to be the foundation for a new bree=
d 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)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 31/31] gnu: Add emacs-tree-sitter-langs.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 08 Aug 2021 23:45:06 +0000
Resent-Message-ID: <handler.49946.B49946.16284662664652 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.16284662664652
          (code B ref 49946); Sun, 08 Aug 2021 23:45:06 +0000
Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:26 +0000
Received: from localhost ([127.0.0.1]:55056 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCsSw-0001Ct-BH
	for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:26 -0400
Received: from mout.gmx.net ([212.227.17.21]:45871)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mCsSo-0001Ak-Vl
 for 49946 <at> debbugs.gnu.org; Sun, 08 Aug 2021 19:44:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628466253;
 bh=cJ+smkilZ5hVatxqW5W1zs286emB7Qdg404pjqMfrdg=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=Nq0OjMAhS4cHAuCluJ1f+3ZV/TAANCOVGZfpwRlyM/yv/j1yZRi4Gyxz5wN4p0+2z
 tk/69Q0g2LvCqHbe7sytpCXt/m8nBIlny2lpw7bQYdfmKO04KELtajuQtwWJb1rNzp
 o/zio4pzlOxvFLKYuZvnK9mNoXhzELHcI7oh1v10=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1N5mKJ-1nB9420Utn-017AOh; Mon, 09 Aug 2021 01:44:13 +0200
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Mon,  9 Aug 2021 00:43:58 +0100
Message-Id: <20210808234358.7241-11-pierre.langlois@HIDDEN>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <20210808234358.7241-1-pierre.langlois@HIDDEN>
References: <20210808233354.6745-20-pierre.langlois@HIDDEN>
 <20210808234358.7241-1-pierre.langlois@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:HcJDJDroOU3k8IpXLDc3hMMoSPMnAXN/w8o8rBUaUOwFX32CAT0
 h6LvwyXgSSDLsSxPtTDyuusc7krSeZQ5k/J6YWEBjhxiacGvbMpf//gd9LD0zksR0I5NjTC
 ymb7crQhAQU8CxbWFELhnCqDKcPWQmXAit+9STLGaAb6v+RTyuVf42Gze59Yho3fNAox/Md
 NcU8VBd4IvWXhebhnLAoQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:AW+t8HPvARs=:0Jmm7daJpNw3v8/k/5OUGj
 4YYhYTFW2DKv2g3BkOhyyE4gKh9sNR73UCRE+/3RmyJynpzX8yFxahPYIwZYJi3yfB6f0NfO5
 1DCHYKU5LeABOriDD0rtYg1be2zIJ6uvqcCyN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am-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/tree-sitter.scm (emacs-tree-sitter-langs): New variable.
=2D--
 gnu/packages/tree-sitter.scm | 79 ++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 22551d4482..bfdfacf122 100644
=2D-- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -635,3 +635,82 @@ Emacs packages that understand code structurally.  Fo=
r 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.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/emacs-tree-sitter/tree-sitte=
r-langs")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0lym09jnlb7kvqkwkjbrqpc24fkpv99f8r9139sw8g537yj5f8rq")))=
)
+    (build-system emacs-build-system)
+    ;; FIXME: Support for some languages, such as bash, is still missing =
from
+    ;; the bundle.
+    (inputs
+     `(("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-sitt=
er-" lang))))
+                   (copy-file (string-append input "/lib/tree-sitter/" la=
ng ".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-VE=
RSION")
+                 (lambda (port) (display ,version port)))
+               (for-each (lambda (input)
+                           (use-modules (ice-9 regex))
+                           (cond
+                            ((string-match "^tree-sitter-(.*)$" (car inpu=
t))
+                             =3D> (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-lev=
el
+functionalities on top of tree-sitter, such as code folding, evil text
+objects, ...etc.
+@end enumerate")
+    (license license:expat)))
=2D-
2.32.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 08/31] gnu: node: Patch /usr/bin/env in node-gyp.
Resent-From: Maxime Devos <maximedevos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 10 Aug 2021 18:29:02 +0000
Resent-Message-ID: <handler.49946.B49946.162862014018442 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Pierre Langlois <pierre.langlois@HIDDEN>, 49946 <at> debbugs.gnu.org
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.162862014018442
          (code B ref 49946); Tue, 10 Aug 2021 18:29:02 +0000
Received: (at 49946) by debbugs.gnu.org; 10 Aug 2021 18:29:00 +0000
Received: from localhost ([127.0.0.1]:60813 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mDWUl-0004nO-Qu
	for submit <at> debbugs.gnu.org; Tue, 10 Aug 2021 14:28:59 -0400
Received: from baptiste.telenet-ops.be ([195.130.132.51]:59564)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1mDWUl-0004nF-3w
 for 49946 <at> debbugs.gnu.org; Tue, 10 Aug 2021 14:28:59 -0400
Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d])
 by baptiste.telenet-ops.be with bizsmtp
 id fuUx250090mfAB401uUxe4; Tue, 10 Aug 2021 20:28:57 +0200
Message-ID: <42e10baddb6afe308f67c3240bf5da8159e6f118.camel@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
Date: Tue, 10 Aug 2021 20:28:56 +0200
In-Reply-To: <20210808233354.6745-8-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
 <20210808233354.6745-8-pierre.langlois@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-CyIgvPAPhMZfPTaU/NLl"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1628620137; bh=ZqzBSV581QQKxdRohSUvKqvtaosDOLPl4td/N8hEtZE=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=ny5ceS+sV+1umwUB7+1COxE0fWdMqjLnK/YwM1PXZbkpW5xuC9jgMmV5Z1hp+yozv
 6/dz42ZMp8U+2QHZGpUEzfivP1Twk+lHQRs/CgeF3OTu7hnO6sp//rEIzUZ9KlFgIO
 jd6CDmaqu/fi2AdshWe8XzN6MhacnOi//PlFyQRjaRn+erxs6CJd+B8HsmG8bKzXnT
 8atThDYnvJd2xzdLiz4/9rcfCSeUc8g0svcQgoVm6nHIRbBlBkeblocx8BorsQwJ9D
 YAycNkyS73nMUQqQtJUjI1u6UbtA7BkqTHriYPPBxnDhVLd2bS9Pf0ZxZ4AmM64CSx
 OVq1TCUFQn10Q==
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--=-CyIgvPAPhMZfPTaU/NLl
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Pierre Langlois schreef op ma 09-08-2021 om 00:33 [+0100]:
> @@ -120,6 +120,10 @@
>                 (("'/usr/bin/env'")
>                  (string-append "'" (which "env") "'")))
>=20
> +             ;; Fix /usr/bin/env shebang in node-gyp.
> +             (substitute* "deps/npm/node_modules/node-gyp/bin/node-gyp.j=
s"
> +               (("#!/usr/bin/env") (string-append "#!" (which "env"))))

For cross-compilation, this should most likely be
(string-append (assoc-ref inputs "coreutils") "/bin/env")
or something like that instead.  Likewise in other places.
The old code uses (which "env") in some cases, but those
are probably wrong (except where it is patched in tests).

Greetings,
Maxime.

--=-CyIgvPAPhMZfPTaU/NLl
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYRLFaRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jcOAQCV9XqauiR9WpI550tltw8xH4Wv
lvGKYPnUb14G5U/W3gEA6sDJnEtt6s7Ag/t6AerN4qI28JQeCxQ0LkrLhz4nzQ0=
=80uq
-----END PGP SIGNATURE-----

--=-CyIgvPAPhMZfPTaU/NLl--





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 11/31] gnu: Add tree-sitter-c.
Resent-From: Maxime Devos <maximedevos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 10 Aug 2021 18:31:01 +0000
Resent-Message-ID: <handler.49946.B49946.162862023418705 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Pierre Langlois <pierre.langlois@HIDDEN>, 49946 <at> debbugs.gnu.org
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.162862023418705
          (code B ref 49946); Tue, 10 Aug 2021 18:31:01 +0000
Received: (at 49946) by debbugs.gnu.org; 10 Aug 2021 18:30:34 +0000
Received: from localhost ([127.0.0.1]:60819 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mDWWI-0004rd-5e
	for submit <at> debbugs.gnu.org; Tue, 10 Aug 2021 14:30:34 -0400
Received: from baptiste.telenet-ops.be ([195.130.132.51]:36978)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1mDWWG-0004rR-Th
 for 49946 <at> debbugs.gnu.org; Tue, 10 Aug 2021 14:30:33 -0400
Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d])
 by baptiste.telenet-ops.be with bizsmtp
 id fuWY250070mfAB401uWY3K; Tue, 10 Aug 2021 20:30:32 +0200
Message-ID: <fd74360c5ce59c7800d1ee528036d43a4a9fec32.camel@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
Date: Tue, 10 Aug 2021 20:30:31 +0200
In-Reply-To: <20210808233354.6745-11-pierre.langlois@HIDDEN>
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
 <20210808233354.6745-11-pierre.langlois@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-P+EkIv4mzcoF9ka6m7DS"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1628620232; bh=Vytc8oZ8zt9ND8Z0uGp4OpxdKvMUmfJyc8HCZmJ96B4=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=N5QCQCKi7Fc5OzwDvHx4p3iRO7TO+twdKl/4cYePvvYTvT1+7UFjuXiPo+ZtDlZaI
 /GtFV3yN6w66mCV+KhEGU2xmh5AfwwniMTQFFv77u76lEU/LwsgOWTS07YxmUB9iCR
 xDEDFOVPSFl997MFijqcMVZ6tVYPzrIUQ359psgHnsZYVYrYpnG2Enn52Oqz5RT8it
 KEcy6/wNtt4vMKH+y7M3Mty6KUR1kW/bCRJzGhO/s72AreCgbYFONSZ8QmRP14SPa9
 6xBgv3ThJ458Mxfn1DFAUeW2r5QNhnUzkFQbfWRrRnCrxO+zBrzoxBU3dN6I+v9VNY
 g/BCSgssksN4w==
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--=-P+EkIv4mzcoF9ka6m7DS
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Pierre Langlois schreef op ma 09-08-2021 om 00:33 [+0100]:
> +             (setenv "CC" "gcc")))

Use (setenv "CC" ,(cc-for-target)) instead,
such that the cross-compiler TARGET-gcc is used
when cross-compiling.

reetings,
Maxime.

--=-P+EkIv4mzcoF9ka6m7DS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYRLFxxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pqsAP93DYjd22Jnvq86nV9t/Fc0ePrv
JFHBVxHk0H3v68M7VAD9Fo4kKgqsuDWUqyiahLhV81pHRrSIMHEGpAIMVxqp8Q0=
=uvuY
-----END PGP SIGNATURE-----

--=-P+EkIv4mzcoF9ka6m7DS--





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 08/31] gnu: node: Patch /usr/bin/env in node-gyp.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 11 Aug 2021 15:42:02 +0000
Resent-Message-ID: <handler.49946.B49946.162869648910229 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Maxime Devos <maximedevos@HIDDEN>
Cc: Pierre Langlois <pierre.langlois@HIDDEN>, 49946 <at> debbugs.gnu.org
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.162869648910229
          (code B ref 49946); Wed, 11 Aug 2021 15:42:02 +0000
Received: (at 49946) by debbugs.gnu.org; 11 Aug 2021 15:41:29 +0000
Received: from localhost ([127.0.0.1]:36341 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mDqMD-0002ev-4e
	for submit <at> debbugs.gnu.org; Wed, 11 Aug 2021 11:41:29 -0400
Received: from mout.gmx.net ([212.227.15.15]:49193)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mDqMA-0002ea-VE
 for 49946 <at> debbugs.gnu.org; Wed, 11 Aug 2021 11:41:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628696480;
 bh=Lsrv4b6mBynTuyJNjjgkxmDKkXH5vvuYvTaacJ3lKt8=;
 h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to;
 b=MPI4SYAnopJFcpmTnGhtBTQBjZuSIOM9fz3ybWS2gFy94tT/SIPsV1cjqPdtAHuNR
 KYN3IhmfJGLM2fQmKg/k6lVOeX5Il0xWXED2NMwX4l0uMGUCaGuEvNuGWyuEhzb3wC
 JBVXYwTi6xyuYkei4YmLEWHjQwWU5Qu4X9l2Ewpg=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx004
 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MhD2O-1mhy780Sjy-00eLqb; Wed, 11
 Aug 2021 17:41:20 +0200
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
 <20210808233354.6745-8-pierre.langlois@HIDDEN>
 <42e10baddb6afe308f67c3240bf5da8159e6f118.camel@HIDDEN>
User-agent: mu4e 1.6.2; emacs 27.2
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Wed, 11 Aug 2021 16:36:11 +0100
In-reply-to: <42e10baddb6afe308f67c3240bf5da8159e6f118.camel@HIDDEN>
Message-ID: <87czqkng4k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Provags-ID: V03:K1:hN6Z+7K84/ahH5ttBuqycrLwlP6XDiUA9Pt3PVnv2EvGvcPHGVM
 vBbD9sr2PkVuzFf51cTr+nEP0wGeVLdVWXLF560VH86hdD6gBse5lfA3JaHkjemXVu/18/r
 r0abEo2rT0+ScsxWf/O8Ziwy8/Jbf7Fu1HoT2gXWIZyDSGw5zRIaolTu/dun76ABCQnH7TO
 l3/BDTTHN3z9bSdqLidNg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:Hqif4NCGYdc=:+hxaBvrkMUKAzvyTsBnjwv
 fcIO9Ej9NK3JMugWcN8czT3+9BXfKiErIgo+qcUcozYED2Nw+w3CsuW3o9TZA++RkjrHnyWvf
 y9vDg+wf7krnkRhoxRGTLd/75+7kdulZ9zV+ETrDDnyS2zz6mH4r3ihjxlB3yeT/ubQ0NX1YA
 Jd7/VTeaCIs9tYPSoaG/Y6lLvBN2AZqcUqv9ALuqZKxC290NQndPBqIyvYCcg+X9IHHXXV/2F
 aFZHr+OWJcywHn22D/g+Bsoc1u/mcM2WxkYdCS+dHeYZjCGZ1LQPRs+iHKeuB7EUHvn4vJLsG
 y3T7ZyghWbYmi7zOapqZ0vPICE31/5fzOIMuf3nv3naXCOG31Gk4JI5ZLxfIcnNHcVarvB2l1
 EDVJboLUfJg9Xz6FgPhTDlARhjc6PtAV9glxK7GUWETNKw2+grTgUJW/8wkc7C6PjWoL2Lrez
 D+r3FQAb+B2ZBDbupw7hTTBuFvCka0yNjVwFjOptS35Ktm79cIppqZHtV77U42hK78ACg54+B
 yQgZH0v/cvBo/xoC9IN5bcR029AvwUztKPfqFt4F9WK9GpK1U/KjP2lAWiR0nWwbf7BXvHj8A
 +dvhenIaHlZ2qgLG/wKXbKStYpX6CguTjmzjmYd/tlkQ5AUQyN+0W/IAKCjf8v8vi5crlaIUI
 Kh7UYl4pId07PVnt5Gmc/XxMmWYM/y+l7icIR03UFyXN2dtXeQ59BykkxGlqISEucVxQIzHOM
 UK7iZhS37gJTxv41DE/3O/ECG409PjhEAU1702KzJK87/LecBztVZNTk/u0D/9rOrxbEIEehi
 3QVwGpje9+ab3rvTH8TvT0bZ3xhCHCcUcX8LGKxedhR/Eg7YMxlgE2Lj6Th/PJcvihITAFOtA
 ZQhUIevp0ZnSemVsyCKVJRXrzuwsQgQ6kyt95SZX6vFdmpDcQL49MmFaayAMwv/o0raXE2jL5
 sxZ3j9X8Vfx30yahGFzV3Bd/NbiMdlJY9nITCFF1Gbc5bjHQEJqAMZB9VwIF0phTAXT+QkE0c
 83Cut9Xz44JzYgT/xgJLk1xjuk6Wi4VKFS0Sw8mFSJlC3t2B3VQVRIZTHHC8jAsJ+Es/+Hv0h
 Ae36uD//V94R9JHbh9esd7lpmAeiNnhTgW+ne1xWTskPN7ML+SOyJozKw==
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Maxime,

Maxime Devos <maximedevos@HIDDEN> writes:

> [[PGP Signed Part:Undecided]]
> Pierre Langlois schreef op ma 09-08-2021 om 00:33 [+0100]:
>> @@ -120,6 +120,10 @@
>>                 (("'/usr/bin/env'")
>>                  (string-append "'" (which "env") "'")))
>>=20
>> +             ;; Fix /usr/bin/env shebang in node-gyp.
>> +             (substitute* "deps/npm/node_modules/node-gyp/bin/node-gyp.=
js"
>> +               (("#!/usr/bin/env") (string-append "#!" (which "env"))))
>
> For cross-compilation, this should most likely be
> (string-append (assoc-ref inputs "coreutils") "/bin/env")
> or something like that instead.  Likewise in other places.
> The old code uses (which "env") in some cases, but those
> are probably wrong (except where it is patched in tests).

Good point, I didn't consider cross-compilation.  Actually, trying it,
it looks like our node package doesn't currently cross-compile
correctly.  I just managed to get it to cross-compile though, I'll
submit another patch for it!  In the meantime, with this series I agree
it's better for the new code to be correct from the begining though.

Thanks for taking a look!
Pierre

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmET75sYHHBpZXJyZS5s
YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31U65EH/1viouDCu3YEBTff3X725srp
+kf8oKFE4Vl/cE2uR8Gqolj4ldjYKYiYrf/Mhz5oM4+N2LqaJjaxcs+3dRXV8NrS
51CYHzWmhPu4kMf3LaetK3s/kjauDME80EHaOYDiH9aZn2h6D4QOmHbA/Xs7Oct+
2Ntoz356uMaD6jzluK1ljCmLQyew4TnlnaOzzF4MzJ6mE98noT6MAiMZyWmf7aXv
ax6Zr6f+hJc83TiUAN6hKX4hc/sIGv8c9MwCepNeZZGQHeJvAiw223bIfClXlIPJ
2NPTab5FQ0ypbpDhmmhoZ787yS3SRp18mJuC/PblI9l5WZHd+GR2Bue7kXdl1vY=
=YsOg
-----END PGP SIGNATURE-----
--=-=-=--




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#49946] [PATCH 07/31] gnu: Add tree-sitter.
Resent-From: Pierre Langlois <pierre.langlois@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 13 Aug 2021 13:30:02 +0000
Resent-Message-ID: <handler.49946.B49946.162886139430680 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49946
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@HIDDEN>
Received: via spool by 49946-submit <at> debbugs.gnu.org id=B49946.162886139430680
          (code B ref 49946); Fri, 13 Aug 2021 13:30:02 +0000
Received: (at 49946) by debbugs.gnu.org; 13 Aug 2021 13:29:54 +0000
Received: from localhost ([127.0.0.1]:40907 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mEXFt-0007yd-Vv
	for submit <at> debbugs.gnu.org; Fri, 13 Aug 2021 09:29:54 -0400
Received: from mout.gmx.net ([212.227.17.22]:32911)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1mEXFn-0007yJ-P4
 for 49946 <at> debbugs.gnu.org; Fri, 13 Aug 2021 09:29:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1628861377;
 bh=rut1xBNsP20UzKa7f1cV/TybAuAVKWDX/YbHU4iS28U=;
 h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to;
 b=Q+w3jXKBfbfAPb6j/w9w5fxJbY7ExUipKNa+oF3YKJl+GHTAmQ8bImtUydi0QFpEV
 dXfgBrQWRSE0064h2+lM5oGj4yOXb3N05S0dQIz6oGmLOTZEy+AfNAjLEJ+gs7FC73
 ts7Mmhk3wA8ZoIU9vJdLD0IXzkwe0Lg0LXzrokQQ=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx105
 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MJE27-1mXzmU0l6R-00KhFj; Fri, 13
 Aug 2021 15:29:37 +0200
References: <87h7fztt60.fsf@HIDDEN>
 <20210808233354.6745-1-pierre.langlois@HIDDEN>
 <20210808233354.6745-7-pierre.langlois@HIDDEN>
User-agent: mu4e 1.6.2; emacs 27.2
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Fri, 13 Aug 2021 14:17:17 +0100
In-reply-to: <20210808233354.6745-7-pierre.langlois@HIDDEN>
Message-ID: <87zgtla2x0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Provags-ID: V03:K1:kMMAkOASWTi9YcP/+yUCA/NB+Gw/qnmog2NjDNh5H/RjsFOPFm7
 5AR05jl7Ke7bfLQViXpq1bf2PTEStOwcn8FOH/W+Pnlcx3Q47fMCftRf5Uh88emjs+ffG+X
 O+7+SdJDqVVxTI8vSt/gpO6LdBVeFKr5/nZh+yysQNlzFrXBtia22HKB3PJTf5XATtLvLM8
 ku6r62+/YJTRjMo+P5mag==
X-Sp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DbmTzGW7ImuVEKY3EYyXJdwxgmIzNFGjRP1/D4W9mA44A
 X6vPgEqBtU1d1uQLsMgM3FWF1rMEOO4XEFuodLXBzCPXAfmiLdSvTlIMXFylrEi+HEjpGXX6o
 RZO5WvkHonh18vkeHDR6M64euWX54eJ3wMdoqH9kdXqxTamwv1mE124sA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Pierre Langlois <pierre.langlois@HIDDEN> writes:

> * gnu/packages/tree-sitter.scm: New file.
> * gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
> ---
>  gnu/local.mk                 |  1 +
>  gnu/packages/tree-sitter.scm | 98 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 99 insertions(+)
>  create mode 100644 gnu/packages/tree-sitter.scm
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index 3f09b167b1..3763df0821 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -559,6 +559,7 @@ GNU_SYSTEM_MODULES =3D				\
>    %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..2c749dc0a8
> --- /dev/null
> +++ b/gnu/packages/tree-sitter.scm
> @@ -0,0 +1,98 @@
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright =C2=A9 2021 Pierre Langlois <pierre.langlois@HIDDEN>
> +;;;
> +;;; 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 <http://www.gnu.org/licenses/>.
> +
> +(define-module (gnu packages tree-sitter)
> +  #:use-module ((guix licenses) #:prefix license:)
> +  #:use-module (guix build-system cargo)
> +  #:use-module (guix git-download)
> +  #:use-module (guix packages)
> +  #:use-module (gnu packages crates-io)
> +  #:use-module (gnu packages crates-graphics))
> +
> +(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 cargo-build-system)

The tree-sitter package here both ships the `tree-sitter' command-line
program, written in Rust, and the runtime library, written in C.  I
think it would be better to split this into two packages, `tree-sitter'
for the runtime and `tree-sitter-cli` for the Rust program.

That way, a potential future Emacs will be able to link against
libtree-sitter *without* bringing in Rust as a hard dependency. I saw
that native tree-sitter support was being worked on on emacs-devel
list. One would still need Rust to actually use it, but at least it
remains an optional dependency.

Thanks,
Pierre

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmEWc7sYHHBpZXJyZS5s
YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31ULTwH/R+uDT5j6mrUlYW6Q39UKilQ
WzzPPUVLns8eSZmvDX4hJOxO6+qG3X1lprUOVNgRC4DKncMVW36ntYLqJDin+eFo
Smh87p+1K0itjMuriiOU+foMfUxPlZ7oeHbrQD6y3cBmfUAy8J7G/UtZ+ZBb677b
jycusQGkWXaahi6Llh81g+pZuFAp0+pYo33fhlsabAgI1HzuEUsHDXEWUgfJM2Zx
G+vuyAmGyX3jpA/RXHtXXifB+dnhD4NbUsSb+edCLWUG2OcoW9PNakBhloo3O82O
eHibETllS3pAV66m7gFrZ0pM5V3LdW7o4x0qzQXtYgFAbtPiJjNOqf2Gc4y+Zig=
=hY4u
-----END PGP SIGNATURE-----
--=-=-=--





Last modified: Fri, 13 Aug 2021 13:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.