GNU bug report logs - #69701
[PATCH 5/7] gnu: Add rust-tree-sitter-0.20.

Previous Next

Package: guix-patches;

Reported by: muradm <mail <at> muradm.net>

Date: Sun, 10 Mar 2024 07:32:06 UTC

Severity: normal

Tags: patch

Done: muradm <mail <at> muradm.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: muradm <mail <at> muradm.net>
To: control <at> debbugs.gnu.org
Cc: 69701 <at> debbugs.gnu.org, Efraim Flashner <efraim <at> flashner.co.il>,
 guix-patches <at> gnu.org
Subject: Re: [bug#69701] [PATCH 5/7] gnu: Add rust-tree-sitter-0.20.
Date: Sun, 10 Mar 2024 10:56:14 +0300
[Message part 1 (text/plain, inline)]
close 69701

muradm <mail <at> muradm.net> writes:

> * gnu/packages/crates-io.scm (rust-tree-sitter-0.20): New 
> variable.
>
> Change-Id: Ib7a6ddea1b968870c5ede7e91c1273c1be2f8ff7
> ---
>  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 7933d9910e..3493fb8ffc 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -73923,6 +73923,28 @@ (define-public rust-tree-magic-0.2
>  traversing a filetype tree.")
>      (license license:expat)))
>
> +(define-public rust-tree-sitter-0.20
> +  (package
> +    (name "rust-tree-sitter")
> +    (version "0.20.10")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "tree-sitter" version))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32 
> "0g9xd1nadhb2ikhxkj0z7kg9f50h97hzmha8llwyscdrnzwv2iz7"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:skip-build? #t
> +       #:cargo-inputs (("rust-cc" ,rust-cc-1)
> +                       ("rust-lazy-static" ,rust-lazy-static-1)
> +                       ("rust-regex" ,rust-regex-1))))
> +    (home-page "https://tree-sitter.github.io/tree-sitter")
> +    (synopsis "Rust bindings to the Tree-sitter parsing 
> library")
> +    (description "Rust bindings to the Tree-sitter parsing 
> library")
> +    (license license:expat)))
> +
>  (define-public rust-treeline-0.1
>    (package
>      (name "rust-treeline")

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 152 days ago.

Previous Next


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