* [bug#74558] [PATCH rust-team 1/5] gnu: rust-peg-macros-0.8: Update to 0.8.4.
2024-11-27 13:43 [bug#74558] [PATCH rust-team 0/5] Add rust-libcst and dependencies Maxim Cournoyer
@ 2024-11-28 4:43 ` Maxim Cournoyer
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 2/5] gnu: rust-peg-runtime-0.8: Update to 0.8.3 Maxim Cournoyer
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2024-11-28 4:43 UTC (permalink / raw)
To: 74558; +Cc: Maxim Cournoyer, Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-peg-macros-0.8): Update to 0.8.4.
Change-Id: Ib3d2109c4391ae85a47e8964a0fa1a5351824427
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3b9a20f728..684c2f3770 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54964,14 +54964,14 @@ (define-public rust-peg-0.5
(define-public rust-peg-macros-0.8
(package
(name "rust-peg-macros")
- (version "0.8.2")
+ (version "0.8.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "peg-macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "141c76na4n9mfs1y22az59yanaz9kw5aabgnj28d2xlvhp71rrj6"))))
+ (base32 "09nlm6lw5zdpv9wnfr08836snsjnypaibr1cb1cs05pikhfnmbdx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-peg-runtime" ,rust-peg-runtime-0.8)
--
2.46.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#74558] [PATCH rust-team 2/5] gnu: rust-peg-runtime-0.8: Update to 0.8.3.
2024-11-27 13:43 [bug#74558] [PATCH rust-team 0/5] Add rust-libcst and dependencies Maxim Cournoyer
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 1/5] gnu: rust-peg-macros-0.8: Update to 0.8.4 Maxim Cournoyer
@ 2024-11-28 4:43 ` Maxim Cournoyer
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 3/5] gnu: rust-peg-0.8: Update to 0.8.4 Maxim Cournoyer
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2024-11-28 4:43 UTC (permalink / raw)
To: 74558; +Cc: Maxim Cournoyer, Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-peg-runtime-0.8): Update to 0.8.3.
Change-Id: I7ab822ba9031fc3d7170ae7bf26b0350988a1c0f
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 684c2f3770..7417483857 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55005,14 +55005,14 @@ (define-public rust-peg-macros-0.6
(define-public rust-peg-runtime-0.8
(package
(name "rust-peg-runtime")
- (version "0.8.2")
+ (version "0.8.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "peg-runtime" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08l9sad4mh5f0niizjk1k44n2z2s9cn8pfbq8v79h8zsc0nfkfin"))))
+ (base32 "0fmasxbncm503dcakq8qwkcbjihz4jklkrjy0v1190q79ksvibp3"))))
(build-system cargo-build-system)
(home-page "https://github.com/kevinmehall/rust-peg")
(synopsis "Runtime support for rust-peg grammars")
--
2.46.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#74558] [PATCH rust-team 3/5] gnu: rust-peg-0.8: Update to 0.8.4.
2024-11-27 13:43 [bug#74558] [PATCH rust-team 0/5] Add rust-libcst and dependencies Maxim Cournoyer
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 1/5] gnu: rust-peg-macros-0.8: Update to 0.8.4 Maxim Cournoyer
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 2/5] gnu: rust-peg-runtime-0.8: Update to 0.8.3 Maxim Cournoyer
@ 2024-11-28 4:43 ` Maxim Cournoyer
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 4/5] gnu: Add rust-libcst-derive-1 Maxim Cournoyer
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2024-11-28 4:43 UTC (permalink / raw)
To: 74558; +Cc: Maxim Cournoyer, Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-peg-0.8): Update to 0.8.4.
Change-Id: Ic6ba978856048c668f1eecb8b402f3f52772ab55
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7417483857..10464be69d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54904,14 +54904,14 @@ (define-public rust-peeking-take-while-0.1
(define-public rust-peg-0.8
(package
(name "rust-peg")
- (version "0.8.2")
+ (version "0.8.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "peg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0qbgchzj0ajpgmasbxk65lqx9fwvxda21k6pifzqmhqrsavwl2s0"))))
+ (base32 "13qfwkmlmm3wbwzsrc3bkb16m1xjd5w7aah5cvpx2ipk5nq86li9"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-peg-macros" ,rust-peg-macros-0.8)
--
2.46.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#74558] [PATCH rust-team 4/5] gnu: Add rust-libcst-derive-1.
2024-11-27 13:43 [bug#74558] [PATCH rust-team 0/5] Add rust-libcst and dependencies Maxim Cournoyer
` (2 preceding siblings ...)
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 3/5] gnu: rust-peg-0.8: Update to 0.8.4 Maxim Cournoyer
@ 2024-11-28 4:43 ` Maxim Cournoyer
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 5/5] gnu: Add rust-libcst-1 Maxim Cournoyer
2024-12-03 15:05 ` bug#74558: [PATCH rust-team 0/5] Add rust-libcst and dependencies Efraim Flashner
5 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2024-11-28 4:43 UTC (permalink / raw)
To: 74558; +Cc: Maxim Cournoyer, Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-libcst-derive-1): New variable.
Change-Id: Idb3965c18f2c56b29c32a591926e48148389d28f
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 10464be69d..401a20f239 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39654,6 +39654,27 @@ (define-public rust-libc-print-0.1
macros on libc without stdlib.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-libcst-derive-1
+ (package
+ (name "rust-libcst-derive")
+ (version "1.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libcst_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lcwnpbr1l9ybll6jr172s0jbcvlbhrcax94qmbcs89jas5nw5cq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/Instagram/LibCST")
+ (synopsis "Proc macro helpers for libcst")
+ (description "This package provides Proc macro helpers for libcst.")
+ (license license:expat)))
+
(define-public rust-libdbus-sys-0.2
(package
(name "rust-libdbus-sys")
--
2.46.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#74558] [PATCH rust-team 5/5] gnu: Add rust-libcst-1.
2024-11-27 13:43 [bug#74558] [PATCH rust-team 0/5] Add rust-libcst and dependencies Maxim Cournoyer
` (3 preceding siblings ...)
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 4/5] gnu: Add rust-libcst-derive-1 Maxim Cournoyer
@ 2024-11-28 4:43 ` Maxim Cournoyer
2024-12-03 15:05 ` bug#74558: [PATCH rust-team 0/5] Add rust-libcst and dependencies Efraim Flashner
5 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2024-11-28 4:43 UTC (permalink / raw)
To: 74558; +Cc: Maxim Cournoyer, Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-libcst-1): New variable.
Change-Id: Ief66cbaf06a00ada6c2b497352c6143dd874cc32
---
gnu/packages/crates-io.scm | 43 +++++++++++++++++++++++++++++++++++++-
1 file changed, 42 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 401a20f239..e204e5df60 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2020 André Batista <nandre@riseup.net>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
-;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021-2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 aecepoglu <aecepoglu@fastmail.fm>
;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
@@ -39675,6 +39675,47 @@ (define-public rust-libcst-derive-1
(description "This package provides Proc macro helpers for libcst.")
(license license:expat)))
+(define-public rust-libcst-1
+ (package
+ (name "rust-libcst")
+ (version "1.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libcst" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xdh02bz1gm9hlpz02r7mk90zk3ki74pypsama33vflck9bn0gps"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ (list "--release" "--"
+ ;; The roundtrip_fixtures fail due to a missing file in the crate
+ ;; (see: https://github.com/Instagram/LibCST/issues/1249).
+ "--skip=roundtrip_fixtures")
+ #:cargo-inputs (("rust-chic" ,rust-chic-1)
+ ("rust-libcst-derive" ,rust-libcst-derive-1)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-peg" ,rust-peg-0.8)
+ ("rust-pyo3" ,rust-pyo3-0.20)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-difference" ,rust-difference-2)
+ ("rust-itertools" ,rust-itertools-0.13)
+ ("rust-rayon" ,rust-rayon-1))
+ #:phases (modify-phases %standard-phases
+ ;; Avoid keeping a reference to python-minimal in a test
+ ;; file installed as source.
+ (delete 'patch-source-shebangs))))
+ (native-inputs (list python-minimal))
+ (home-page "https://github.com/Instagram/LibCST")
+ (synopsis "Python parser and Concrete Syntax Tree library.")
+ (description
+ "This package provides a Python parser and Concrete Syntax Tree library.")
+ (license (list license:expat license:psfl))))
+
(define-public rust-libdbus-sys-0.2
(package
(name "rust-libdbus-sys")
--
2.46.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#74558: [PATCH rust-team 0/5] Add rust-libcst and dependencies.
2024-11-27 13:43 [bug#74558] [PATCH rust-team 0/5] Add rust-libcst and dependencies Maxim Cournoyer
` (4 preceding siblings ...)
2024-11-28 4:43 ` [bug#74558] [PATCH rust-team 5/5] gnu: Add rust-libcst-1 Maxim Cournoyer
@ 2024-12-03 15:05 ` Efraim Flashner
5 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2024-12-03 15:05 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 74558-done
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
Thanks. Patches pushed to the rust-team branch.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread