[PATCH 0/3] gnu: Add tree-sitter-{kdl,hcl,ron}.

  • Done
  • quality assurance status badge
Details
2 participants
  • Hilton Chain
  • Paul A. Patience
Owner
unassigned
Submitted by
Paul A. Patience
Severity
normal
P
P
Paul A. Patience wrote on 27 Feb 04:05 +0100
(address . guix-patches@gnu.org)(name . Paul A. Patience)(address . paul@apatience.com)
cover.1709003067.git.paul@apatience.com
Paul A. Patience (3):
gnu: Add tree-sitter-kdl.
gnu: Add tree-sitter-hcl.
gnu: Add tree-sitter-ron.

gnu/packages/tree-sitter.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)


base-commit: 4b60a39aa5d3c10aada9a0be2ed1579e19bd118d
--
2.41.0
P
P
Paul A. Patience wrote on 27 Feb 04:09 +0100
[PATCH 1/3] gnu: Add tree-sitter-kdl.
(address . 69419@debbugs.gnu.org)(name . Paul A. Patience)(address . paul@apatience.com)
e37a0b19f73de4bf1975c550e5bce182c5d9e23e.1709003067.git.paul@apatience.com
* gnu/packages/tree-sitter.scm (tree-sitter-kdl): New variable.

Change-Id: I40a9d9629e29d1682999d9787d4092775be23c19
---
gnu/packages/tree-sitter.scm | 7 +++++++
1 file changed, 7 insertions(+)

Toggle diff (20 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 41257d42f1..79e204e6b4 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -477,6 +477,13 @@ (define-public tree-sitter-julia
"1pbnmvhy2gq4vg1b0sjzmjm4s2gsgdjh7h01yj8qrrqbcl29c463"
"0.19.0"))
+(define-public tree-sitter-kdl
+ (tree-sitter-grammar
+ "kdl" "KDL"
+ "1015x24ffrvzb0m0wbqdzmaqavpnjw0gvcagxi9b6vj3n1ynm0ps"
+ "1.1.0"
+ #:repository-url "https://github.com/tree-sitter-grammars/tree-sitter-kdl"))
+
(define-public tree-sitter-ocaml
(tree-sitter-grammar
"ocaml" "OCaml (.ml and .mli)"
--
2.41.0
P
P
Paul A. Patience wrote on 27 Feb 04:10 +0100
[PATCH 3/3] gnu: Add tree-sitter-ron.
(address . 69419@debbugs.gnu.org)(name . Paul A. Patience)(address . paul@apatience.com)
09a50a13364a3dadab910ee29c902c77bef9a6d5.1709003067.git.paul@apatience.com
* gnu/packages/tree-sitter.scm (tree-sitter-ron): New variable.

Change-Id: I26abfa4a298b23a14bcea852c2974e694daddecd
---
gnu/packages/tree-sitter.scm | 8 ++++++++
1 file changed, 8 insertions(+)

Toggle diff (21 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 3cf79d5502..4abd3fca62 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -526,6 +526,14 @@ (define-public tree-sitter-r
(git-version "0.0.1" revision commit)
#:commit commit)))
+(define-public tree-sitter-ron
+ (tree-sitter-grammar
+ "ron" "RON"
+ "1la5v0nig3xp1z2v3sj36hb7wkkjch46dmxf457px7ly43x4cb83"
+ "0.2.0"
+ #:repository-url "https://github.com/tree-sitter-grammars/tree-sitter-ron"
+ #:license (list license:asl2.0 license:expat)))
+
(define-public tree-sitter-ruby
;; There are a lot of additions, the last tag was placed more than 1 year ago
(let ((commit "206c7077164372c596ffa8eaadb9435c28941364")
--
2.41.0
P
P
Paul A. Patience wrote on 27 Feb 04:09 +0100
[PATCH 2/3] gnu: Add tree-sitter-hcl.
(address . 69419@debbugs.gnu.org)(name . Paul A. Patience)(address . paul@apatience.com)
75505a899fad85d1dfd0acb186c2a76a53df65ef.1709003067.git.paul@apatience.com
* gnu/packages/tree-sitter.scm (tree-sitter-hcl): New variable.

Change-Id: I2522cf5cc30b313c16636821deed2752ea65b43e
---
gnu/packages/tree-sitter.scm | 9 +++++++++
1 file changed, 9 insertions(+)

Toggle diff (22 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 79e204e6b4..3cf79d5502 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -456,6 +456,15 @@ (define-public tree-sitter-haskell
(git-version "0.14.0" revision commit)
#:commit commit)))
+(define-public tree-sitter-hcl
+ (tree-sitter-grammar
+ "hcl" "HCL"
+ "1yydi61jki7xpabi0aq6ykz4w4cya15g8rp34apb6qq9hm4lm9di"
+ "1.1.0"
+ #:article "an"
+ #:repository-url "https://github.com/tree-sitter-grammars/tree-sitter-hcl"
+ #:license license:asl2.0))
+
(define-public tree-sitter-java
(tree-sitter-grammar
"java" "Java"
--
2.41.0
H
H
Hilton Chain wrote on 27 Mar 15:44 +0100
Re: [bug#69419] [PATCH 0/3] gnu: Add tree-sitter-{kdl,hcl,ron}.
(name . Paul A. Patience)(address . paul@apatience.com)(address . 69419-done@debbugs.gnu.org)
87il17n38y.wl-hako@ultrarare.space
Hi Paul,

On Tue, 27 Feb 2024 11:05:40 +0800,
Paul A. Patience wrote:
Toggle quote (14 lines)
>
> Paul A. Patience (3):
> gnu: Add tree-sitter-kdl.
> gnu: Add tree-sitter-hcl.
> gnu: Add tree-sitter-ron.
>
> gnu/packages/tree-sitter.scm | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
>
> base-commit: 4b60a39aa5d3c10aada9a0be2ed1579e19bd118d
> --
> 2.41.0

Applied as 6881f090cf44...424b81c74599, thank you!
Closed
?