[PATCH rust-team 000/147] tree-sitter: Update to 0.22.2.

  • Open
  • quality assurance status badge
Details
3 participants
  • Efraim Flashner
  • Jean-Pierre De Jesus DIAZ
  • maya
Owner
unassigned
Submitted by
Jean-Pierre De Jesus DIAZ
Severity
normal
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 17:01 +0200
(address . guix-patches@gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
cover.1712069369.git.jean@foundation.xyz
This patch series updates tree-sitter and tree-sitter-cli to the newest
packages released, it also updates the grammars if they didn't build
with this newer version.

I don't think this patch series is fully ready as the tree-sitter
ecosystem is still catching up to speed with the new release so not all
grammars are updated yet to work.

However this patch series provides fixes for most of these grammars and
the Rust patches I think could be applied in the meantime.

I based this patch series on the `master' branch instead of `rust-team'
let me know if it's easier and I can rebase to use that branch instead.

I've decided to not package rust-ittapi and rust-ittapi-sys for
rust-wasmtime and provided a patch instead to opt-out since these
crates are only a facade to a library that needs to be loaded at
runtime by Intel® VTune™ which is closed source.

Jean-Pierre De Jesus DIAZ (147):
gnu: rust-anyhow-1: Update to 1.0.80.
gnu: Add rust-clap-lex-0.7.
gnu: Add rust-strsim-0.11.
gnu: rust-shlex-1: Update to 1.3.0.
gnu: Add rust-anstyle-lossy-1.
gnu: Add rust-anstyle-svg-0.1.
gnu: Add rust-escape8259-0.5.
gnu: Add rust-libtest-mimic-0.7.
gnu: rust-snapbox-macros-0.3: Update to 0.3.8.
gnu: Add rust-snapbox-0.5.
gnu: rust-serde-spanned-0.6: Update to 0.6.5.
gnu: Add rust-winnow-0.6.
gnu: rust-indexmap-2: Update to 2.2.5.
gnu: rust-serde-json-1: Update to 1.0.114.
gnu: rust-toml-test-data-1: Update to 1.8.0.
gnu: Add rust-toml-edit-0.22.
gnu: Add rust-trycmd-0.15.
gnu: Add rust-heck-0.5.
gnu: rust-clap-4: Update to 4.5.3.
gnu: rust-libc-0.2: Update to 0.2.153.
gnu: Add rust-nix-0.28.
gnu: rust-ctrlc-3: Update to 3.4.4.
gnu: rust-filetime-0.2: Update to 0.2.23.
gnu: rust-value-bag-sval2: Update to 1.8.1.
gnu: rust-value-bag-sval2-1: Update to 1.8.1.
gnu: rust-value-bag-1: Update to 1.8.1.
gnu: rust-log-0.4: Update to 0.4.23.
gnu: rust-regex-automata-0.4: Update to 0.4.6.
gnu: rust-regex-1: Update to 1.10.3.
gnu: rust-semver-1: Update 1.0.22.
gnu: rust-serde-derive-1: Update to 1.0.197.
gnu: rust-serde-1: Update to 1.0.197.
gnu: rust-walkdir-2: Update to 2.5.0.
gnu: Add rust-wasmparser-0.201.
gnu: Add rust-wasmparser-0.121.
gnu: Add rust-wasmparser-0.118.
gnu: rust-webbrowser-0.8: Update to 0.8.13.
gnu: rust-ctor-0.2: Update to 0.2.7.
gnu: rust-rustix-0.38: Update to 0.38.31.
gnu: rust-tempfile-3: Update to 3.10.1.
gnu: rust-bumpalo-3: Update to 3.15.4.
gnu: rust-derive-arbitrary-1: Update to 1.3.2.
gnu: rust-arbitrary-1: Update to 1.3.2.
gnu: rust-psm-0.1: Update to 0.1.21.
gnu: Add rust-afl-0.11.
gnu: Add rust-cpp-demangle-0.3.
gnu: Add rust-leb128-0.2.
gnu: Add rust-wasm-encoder-0.201.
gnu: Add rust-wasm-encoder-0.41.
gnu: Add rust-wast-201.
gnu: Add rust-wast-35.
gnu: Add rust-wat-1.
gnu: Add rust-id-arena-2.
gnu: Add rust-souper-ir-2.
gnu: Add rust-fallible-iterator-0.3.
gnu: Add rust-slice-group-by-0.3.
gnu: Add rust-regalloc2-0.9.
gnu: Add rust-capstone-sys-0.13.
gnu: Add rust-capstone-0.9.
gnu: Add rust-gimli-0.28.
gnu: Add rust-cranelift-entity-0.105.
gnu: Add rust-cranelift-bforest-0.105.
gnu: Add rust-cranelift-codegen-shared-0.105.
gnu: Add rust-cranelift-codegen-meta-0.105.
gnu: Add rust-cranelift-control-0.105.
gnu: Add rust-cranelift-isle-0.105.
gnu: Add rust-cranelift-frontend-0.105.
gnu: Add rust-cranelift-native-0.105.
gnu: Add rust-cranelift-wasm-0.105.
gnu: Add rust-cranelift-codegen-0.105.
gnu: Add rust-memfd-0.6.
gnu: Add rust-ruzstd-0.5.
gnu: Add rust-object-0.32.
gnu: Add rust-wasmprinter-0.2.
gnu: Add rust-wasmtime-component-util-18.
gnu: Add rust-wasmtime-types-18.
gnu: Add rust-wasmtime-environ-18.
gnu: Add rust-winch-codegen-0.16.
gnu: Add rust-addr2line-0.21.
gnu: Add rust-fxprof-processed-profile-0.6.
gnu: Add rust-wasmtime-cache-18.
gnu: Add rust-wit-parser-0.13.
gnu: Add rust-wasmtime-wit-bindgen-18.
gnu: Add rust-wasmtime-component-macro-18.
gnu: Add rust-wasmtime-cranelift-shared-18.
gnu: Add rust-wasmtime-versioned-export-macros-18.
gnu: Add rust-wasmtime-cranelift-18.
gnu: Add rust-wasmtime-asm-macros-18.
gnu: Add rust-wasmtime-fiber-18.
gnu: Add rust-wasmtime-jit-debug-18.
gnu: Add rust-wasmtime-jit-icache-coherence-18.
gnu: Add rust-wasmtime-wmemcheck-18.
gnu: Add rust-wasmtime-winch-18.
gnu: Add rust-wasmtime-runtime-18.
gnu: Add rust-wasmtime-18.
gnu: Add rust-arf-strings-0.7.
gnu: Add rust-ambient-authority-0.0.2.
gnu: Add rust-fs-set-times-0.20.
gnu: Add rust-io-extras-0.18.
gnu: Add rust-maybe-owned-0.3.
gnu: Add rust-winx-0.36.
gnu: Add rust-cap-primitives-2.
gnu: Add rust-cap-std-2.
gnu: Add rust-cap-fs-ext-2.
gnu: Add rust-cap-rand-2.
gnu: Add rust-windows-result-0.1.
gnu: rust-windows-targets-0.52: Update to 0.52.4.
gnu: Add rust-windows-core-0.52.
gnu: rust-iana-time-zone-0.1: Update to 0.1.60.
gnu: Add rust-cap-time-ext-2.
gnu: Add rust-char-device-0.16.
gnu: Add rust-fd-lock-4.
gnu: Add rust-socketpair-0.19.
gnu: Add rust-ssh2-0.9.
gnu: Add rust-system-interface-0.26.
gnu: Add rust-witx-0.9.
gnu: Add rust-wiggle-generate-18.
gnu: Add rust-wiggle-macro-18.
gnu: Add rust-wiggle-18.
gnu: Add rust-wasi-common-18.
gnu: Add rust-wasmtime-c-api-macros-18.
gnu: Add rust-cap-net-ext-2.
gnu: Add rust-wasmtime-wasi-18.
gnu: Add rust-wasmtime-c-api-impl-18.
gnu: rust-cc-1: Update to 1.0.90.
gnu: rust-thiserror-1: Update to 1.0.58.
gnu: Add rust-smol-potat-macro-0.6.
gnu: Add rust-smol-potat-1.
gnu: Add rust-event-listener-5.
gnu: Add rust-async-process-2.
gnu: Add rust-async-fs-2.
gnu: Add rust-smol-2.
gnu: Add rust-fs4-0.8.
gnu: libloading-0.8: Update to 0.8.3.
gnu: rust-proc-macro2-1: Update to 1.0.79.
gnu: rust-toml-0.8: Update to 0.8.12.
gnu: tree-sitter: Update to 0.22.2.
gnu: tree-sitter-html: Update to 0.20.2.
gnu: tree-sitter-css: Update to 0.20.0-1.02b4ee7.
gnu: tree-sitter-bash: Update to 0.21.0.
gnu: tree-sitter-elm: Update to 5.7.0.
gnu: tree-sitter-haskell: Update to 0.15.0.
gnu: tree-sitter-json: Update to 0.20.2.
gnu: tree-sitter-julia: Update to 0.20.0.
gnu: tree-sitter-scheme: Update to 0.6.0-9.184e759.
gnu: tree-sitter-racket: Update to 0.3.0-10.d9858a0.
gnu: tree-sitter-lua: Update to 0.1.0.

gnu/local.mk | 3 +
gnu/packages/crates-io.scm | 2920 +++++++++++++++--
gnu/packages/crates-windows.scm | 74 +-
.../rust-wasmtime-18-remove-ittapi.patch | 46 +
.../tree-sitter-org-package-json.patch | 35 +
.../tree-sitter-plantuml-package-json.patch | 38 +
gnu/packages/tree-sitter.scm | 586 ++--
guix/build/tree-sitter-build-system.scm | 4 +
8 files changed, 3261 insertions(+), 445 deletions(-)
create mode 100644 gnu/packages/patches/rust-wasmtime-18-remove-ittapi.patch
create mode 100644 gnu/packages/patches/tree-sitter-org-package-json.patch
create mode 100644 gnu/packages/patches/tree-sitter-plantuml-package-json.patch


base-commit: 7af70efd7633b0d70091762cf43ce01a86176e8e
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 001/147] gnu: rust-anyhow-1: Update to 1.0.80.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
66100f72f4e0f446c42c952930dec2ea54bf17eb.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-anyhow-1): Update to 1.0.80.

Change-Id: I02395466cbba05279150f574ec4fecba364a2c66
---
gnu/packages/crates-io.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Toggle diff (31 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a67d3d74bb..061d3388a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42,6 +42,7 @@
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
+;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1802,14 +1803,14 @@ (define-public rust-antidote-1
(define-public rust-anyhow-1
(package
(name "rust-anyhow")
- (version "1.0.79")
+ (version "1.0.80")
(source
(origin
(method url-fetch)
(uri (crate-uri "anyhow" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ji5irqiwr8yprgqj8zvnli7zd7fz9kzaiddq44jnrl2l289h3h8"))))
+ (base32 "1qdlk0mbf6mycr9rxyfc0ic9n8nn5v6pgh4qf07p6qa15vjjrlss"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 002/147] gnu: Add rust-clap-lex-0.7.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
43f3250351c50c2c79827edd911c03fc5722354e.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-clap-lex-0.7): New variable.
(rust-clap-lex-0.6): Inherit from rust-clap-lex-0.7.

Change-Id: I1c7f695a4356fb72d2f9f1b9cc8a42949ffa0b26
---
gnu/packages/crates-io.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

Toggle diff (47 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 061d3388a6..d8504eb396 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11617,17 +11617,17 @@ (define-public rust-clap-complete-fig-3
with Clap to generate Fig completion scripts.")
(license (list license:expat license:asl2.0))))
-(define-public rust-clap-lex-0.6
+(define-public rust-clap-lex-0.7
(package
(name "rust-clap-lex")
- (version "0.6.0")
+ (version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "clap_lex" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1l8bragdvim7mva9flvd159dskn2bdkpl0jqrr41wnjfn8pcfbvh"))))
+ (base32 "1kh1sckgq71kay2rrr149pl9gbsrvyccsq6xm5xpnq0cxnyqzk4q"))))
(build-system cargo-build-system)
(home-page "https://github.com/clap-rs/clap/tree/master/clap_lex")
(synopsis "Command line parser for Clap")
@@ -11638,6 +11638,19 @@ (define-public rust-clap-lex-0.6
;; The user can choose either license.
(license (list license:expat license:asl2.0))))
+(define-public rust-clap-lex-0.6
+ (package
+ (inherit rust-clap-lex-0.7)
+ (name "rust-clap-lex")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clap_lex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l8bragdvim7mva9flvd159dskn2bdkpl0jqrr41wnjfn8pcfbvh"))))))
+
(define-public rust-clap-lex-0.5
(package
(inherit rust-clap-lex-0.6)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 003/147] gnu: Add rust-strsim-0.11.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
d23955af4b360dacd4b1fcd040639577072a860a.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-strsim-0.11): New variable.
(rust-strsim-0.10): Inherit from rust-strsim-0.11.

Change-Id: I31aaa0b18a947ec32424330ff1eb99afb0e9ac59
---
gnu/packages/crates-io.scm | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d8504eb396..ba64a5d47d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65236,10 +65236,10 @@ (define-public rust-strong-xml-derive-0.6
"This package provides a strong typed XML parser, based on xmlparser.")
(license license:expat)))
-(define-public rust-strsim-0.10
+(define-public rust-strsim-0.11
(package
(name "rust-strsim")
- (version "0.10.0")
+ (version "0.11.0")
(source
(origin
(method url-fetch)
@@ -65248,7 +65248,7 @@ (define-public rust-strsim-0.10
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "08s69r4rcrahwnickvi0kq49z524ci50capybln83mg6b473qivk"))))
+ "00gsdp2x1gkkxsbjxgrjyil2hsbdg49bwv8q2y1f406dwk4p7q2y"))))
(build-system cargo-build-system)
(home-page "https://github.com/dguo/strsim-rs")
(synopsis "Rust implementations of string similarity metrics")
@@ -65257,6 +65257,20 @@ (define-public rust-strsim-0.10
and Jaro-Winkler.")
(license license:expat)))
+(define-public rust-strsim-0.10
+ (package
+ (inherit rust-strsim-0.11)
+ (name "rust-strsim")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strsim" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08s69r4rcrahwnickvi0kq49z524ci50capybln83mg6b473qivk"))))))
+
(define-public rust-strsim-0.9
(package
(inherit rust-strsim-0.10)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 004/147] gnu: rust-shlex-1: Update to 1.3.0.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
a636be31c0e2a068068e5c2597d560f6202d9b2b.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-shlex-1): Update to 1.3.0.

Change-Id: Ifc074bf90c6fd0f2cfb62a5dbc2cc22c2a76efc3
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ba64a5d47d..38efcd255d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61609,14 +61609,14 @@ (define-public rust-shellexpand-2
(define-public rust-shlex-1
(package
(name "rust-shlex")
- (version "1.2.0")
+ (version "1.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "shlex" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1033pj9dyb76nm5yv597nnvj3zpvr2aw9rm5wy0gah3dk99f1km7"))))
+ (base32 "0r1y6bv26c1scpxvhg2cabimrmwgbp4p3wy6syj9n0c4s3q2znhg"))))
(build-system cargo-build-system)
(home-page "https://github.com/comex/rust-shlex")
(synopsis "Split a string into shell words, like Python's shlex")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 005/147] gnu: Add rust-anstyle-lossy-1.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
a04441e83eeb12a0ddec4c0e55770f2d27ff263f.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-anstyle-lossy-1): New variable.

Change-Id: I830dc37adddc0661468cbbafbffad65e374cc728
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 38efcd255d..6bd35386b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1675,6 +1675,27 @@ (define-public rust-anstyle-0.2
`(#:cargo-development-inputs
(("rust-lexopt" ,rust-lexopt-0.3))))))
+(define-public rust-anstyle-lossy-1
+ (package
+ (name "rust-anstyle-lossy")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "anstyle-lossy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10c1cg8vjb7mxwky2xc8j7zdp15i1qvpmd2w6nlsxm6vcx3l9859"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anstyle" ,rust-anstyle-1))))
+ (home-page "https://github.com/rust-cli/anstyle")
+ (synopsis "Lossy conversion between ANSI Color Codes")
+ (description "This package provides a library to convert colors to and
+from ANSI color codes using the closest color representation.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-anstyle-parse-0.2
(package
(name "rust-anstyle-parse")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 006/147] gnu: Add rust-anstyle-svg-0.1.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
1e281038ea2ebf2ff55b3f3017e1489cd3667701.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-anstyle-svg-0.1): New variable.

Change-Id: I680a9691a90b04d651accc87219a6a66ffdc6f5c
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6bd35386b8..def433bc8c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1800,6 +1800,31 @@ (define-public rust-anstyle-stream-0.2
writing colored text to a terminal.")
(license (list license:expat license:asl2.0))))
+(define-public rust-anstyle-svg-0.1
+ (package
+ (name "rust-anstyle-svg")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "anstyle-svg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yi8d0cv1spcisch35b1f7q7lz7j7yyircrnvgaxcj5l8zadlvcb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)
+ ("rust-anstyle" ,rust-anstyle-1)
+ ("rust-anstyle-lossy" ,rust-anstyle-lossy-1)
+ ("rust-html-escape" ,rust-html-escape-0.2)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))
+ (home-page "https://github.com/rust-cli/anstyle")
+ (synopsis "Convert ANSI escape codes to SVG")
+ (description "This package provides a library that can convert ANSI
+escape codes to SVG.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-antidote-1
(package
(name "rust-antidote")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 007/147] gnu: Add rust-escape8259-0.5.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
7f4723e3f01f4cf9d081fa33ae7b1312aec63399.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-escape8259-0.5): New variable.

Change-Id: Id0c11cddb5175315ab18c5e4f36077c393f58198
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index def433bc8c..29efe5a18d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22230,6 +22230,27 @@ (define-public rust-error-code-2
@code{no_std} environment.")
(license license:boost1.0)))
+(define-public rust-escape8259-0.5
+ (package
+ (name "rust-escape8259")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "escape8259" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vjpfnk9fyq6qcc18bq7yfk9ahi2r12lfywr4rwcsvv6wc8ljkxs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-rustversion" ,rust-rustversion-1))))
+ (home-page "https://github.com/ericseppanen/escape8259")
+ (synopsis "JSON compliant (RFC 8259) string escaping and un-escaping")
+ (description "This package provides a library to escape and un-escape
+strings following the JSON (RFC 8259) standard.")
+ (license license:expat)))
+
(define-public rust-escaper-0.1
(package
(name "rust-escaper")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 008/147] gnu: Add rust-libtest-mimic-0.7.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
88aed6bcda89bb79d960d12c499aa83696b3bd58.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-libtest-mimic-0.7): New variable.
(rust-libtest-mimic-0.6): Inherit from rust-libtest-mimic-0.7.

Change-Id: I2eab768bdab866aedd64947b09bcc92b05bf3684
---
gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++++---
1 file changed, 25 insertions(+), 3 deletions(-)

Toggle diff (60 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29efe5a18d..42e3117da8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35238,21 +35238,22 @@ (define-public rust-libssh2-sys-0.2
("rust-pkg-config" ,rust-pkg-config-0.3)
("rust-vcpkg" ,rust-vcpkg-0.2))))))
-(define-public rust-libtest-mimic-0.6
+(define-public rust-libtest-mimic-0.7
(package
(name "rust-libtest-mimic")
- (version "0.6.1")
+ (version "0.7.0")
(source (origin
(method url-fetch)
(uri (crate-uri "libtest-mimic" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1rwwdrzc5hmfisc9c3zcvnab14rgh0zfa636c2jbhv4az5qf73bd"))))
+ "02y7l5bcwli37hl625bp6l0m95mry8cavwj3nkl55zgc8iplq3vz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-clap" ,rust-clap-4)
+ ("rust-escape8259" ,rust-escape8259-0.5)
("rust-termcolor" ,rust-termcolor-1)
("rust-threadpool" ,rust-threadpool-1))
#:cargo-development-inputs
@@ -35265,6 +35266,27 @@ (define-public rust-libtest-mimic-0.6
harness used by @code{rustc --test}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-libtest-mimic-0.6
+ (package
+ (inherit rust-libtest-mimic-0.7)
+ (name "rust-libtest-mimic")
+ (version "0.6.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "libtest-mimic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rwwdrzc5hmfisc9c3zcvnab14rgh0zfa636c2jbhv4az5qf73bd"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-clap" ,rust-clap-4)
+ ("rust-termcolor" ,rust-termcolor-1)
+ ("rust-threadpool" ,rust-threadpool-1))
+ #:cargo-development-inputs
+ (("rust-fastrand" ,rust-fastrand-1)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
+
(define-public rust-libtest-mimic-0.5
(package
(inherit rust-libtest-mimic-0.6)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 009/147] gnu: rust-snapbox-macros-0.3: Update to 0.3.8.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
ce58e13d9151aba2bfb6220257d29a26e3f14020.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-snapbox-macros-0.3): Update to 0.3.8.

Change-Id: I406e7b18d6770dd41262b073f3ffe49f3e2f1a05
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 42e3117da8..4ec2a068f2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63574,14 +63574,14 @@ (define-public rust-snap-0.2
(define-public rust-snapbox-macros-0.3
(package
(name "rust-snapbox-macros")
- (version "0.3.7")
+ (version "0.3.8")
(source (origin
(method url-fetch)
(uri (crate-uri "snapbox-macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0rxn80n3y6h7cp75zd3g3akpw3whh31fhvv9zy20k55dk82xxk3q"))))
+ "0h6yy5h83y17bghi1lq9pw3knbqba1rwns20flian5axn0wbii71"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6))))
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 010/147] gnu: Add rust-snapbox-0.5.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
604b66f02c7cd2beaf06d94800ad151e4d19ca61.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-snapbox-0.5): New variable.
(rust-snapbox-0.4): Inherit from rust-snapbox-0.5.

Change-Id: I6367e71b1f774244acb80e91565b984a54df0e99
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++----
1 file changed, 40 insertions(+), 4 deletions(-)

Toggle diff (84 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4ec2a068f2..60ccfe3c88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63613,22 +63613,23 @@ (define-public rust-snapbox-macros-0.2
(base32
"0c79lnjcs9yp62y665swv5y5y6088qc256bfr3s7xcnb0izfl7f0"))))))
-(define-public rust-snapbox-0.4
+(define-public rust-snapbox-0.5
(package
(name "rust-snapbox")
- (version "0.4.16")
+ (version "0.5.9")
(source (origin
(method url-fetch)
(uri (crate-uri "snapbox" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1v732vpzkjyawwvcq2xdf5q4s6bxrqmqih8kgc5gada9vwq5l53k"))))
+ "0ajnz1yv53jh667gdj4jpapy3g7sadnkfzyl4f2gcy7nxkhl3i4a"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-anstream" ,rust-anstream-0.6)
("rust-anstyle" ,rust-anstyle-1)
+ ("rust-anstyle-svg" ,rust-anstyle-svg-0.1)
("rust-backtrace" ,rust-backtrace-0.3)
("rust-content-inspector" ,rust-content-inspector-0.2)
("rust-document-features" ,rust-document-features-0.2)
@@ -63637,7 +63638,7 @@ (define-public rust-snapbox-0.4
("rust-filetime" ,rust-filetime-0.2)
("rust-ignore" ,rust-ignore-0.4)
("rust-libc" ,rust-libc-0.2)
- ("rust-libtest-mimic" ,rust-libtest-mimic-0.6)
+ ("rust-libtest-mimic" ,rust-libtest-mimic-0.7)
("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)
("rust-os-pipe" ,rust-os-pipe-1)
("rust-serde-json" ,rust-serde-json-1)
@@ -63662,6 +63663,41 @@ (define-public rust-snapbox-0.4
It is also flexible enough to build your own test harness like @code{trycmd}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-snapbox-0.4
+ (package
+ (inherit rust-snapbox-0.5)
+ (name "rust-snapbox")
+ (version "0.4.16")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "snapbox" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1v732vpzkjyawwvcq2xdf5q4s6bxrqmqih8kgc5gada9vwq5l53k"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-anstream" ,rust-anstream-0.6)
+ ("rust-anstyle" ,rust-anstyle-1)
+ ("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-content-inspector" ,rust-content-inspector-0.2)
+ ("rust-document-features" ,rust-document-features-0.2)
+ ("rust-dunce" ,rust-dunce-1)
+ ("rust-escargot" ,rust-escargot-0.5)
+ ("rust-filetime" ,rust-filetime-0.2)
+ ("rust-ignore" ,rust-ignore-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libtest-mimic" ,rust-libtest-mimic-0.6)
+ ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)
+ ("rust-os-pipe" ,rust-os-pipe-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-similar" ,rust-similar-2)
+ ("rust-snapbox-macros" ,rust-snapbox-macros-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-wait-timeout" ,rust-wait-timeout-0.2)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))))
+
(define-public rust-snapbox-0.2
(package
(inherit rust-snapbox-0.4)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 011/147] gnu: rust-serde-spanned-0.6: Update to 0.6.5.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
b61bf3aafd73805c2f4b7414fc0d4bd57c8f0102.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-serde-spanned-0.6): Update to 0.6.5
and skip build.

Change-Id: I205d5ed7761a8253d8eac337cffad7270bd74f2c
---
gnu/packages/crates-io.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

Toggle diff (28 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 60ccfe3c88..843ab8765b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60573,16 +60573,18 @@ (define-public rust-serde-repr-0.1
(define-public rust-serde-spanned-0.6
(package
(name "rust-serde-spanned")
- (version "0.6.4")
+ (version "0.6.5")
(source (origin
(method url-fetch)
(uri (crate-uri "serde_spanned" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "102ym47sr1y48ml42wjv6aq8y77bij1qckx1j0gb3rbka21jn0hj"))))
+ (base32 "1hgh6s3jjwyzhfk3xwb6pnnr1misq9nflwq0f026jafi37s24dpb"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/toml-rs/toml")
(synopsis "Encoder and decoder of TOML-formatted files and streams")
(description "This package provides a native Rust encoder and decoder of
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 012/147] gnu: Add rust-winnow-0.6.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
4ebf07767f70b1202b7c151d302a59964834bd9a.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-winnow-0.6): New variable.
(rust-winnow-0.5): Inherit from rust-winnow-0.6.

Change-Id: I0b7bca6a5f14762cc5645b07001dccb93a84124b
---
gnu/packages/crates-io.scm | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)

Toggle diff (55 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 843ab8765b..87a4072bed 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78283,17 +78283,17 @@ (define-public rust-wild-2
command-line, uniformly on all platforms")
(license (list license:asl2.0 license:expat))))
-(define-public rust-winnow-0.5
+(define-public rust-winnow-0.6
(package
(name "rust-winnow")
- (version "0.5.31")
+ (version "0.6.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "winnow" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0734xa05a1x1wg2kcphdhfb39pdcy5qpaf1sjll6qk8kdcp8i94p"))))
+ (base32 "1f0m48kfdvds456b1i1qd6ia9w3mckk2jf4q6z94snpdcw741ynz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; Cut the dependency graph.
@@ -78309,6 +78309,27 @@ (define-public rust-winnow-0.5
combinators library.")
(license license:expat)))
+(define-public rust-winnow-0.5
+ (package
+ (inherit rust-winnow-0.6)
+ (name "rust-winnow")
+ (version "0.5.31")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winnow" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0734xa05a1x1wg2kcphdhfb39pdcy5qpaf1sjll6qk8kdcp8i94p"))))
+ (arguments
+ `(#:skip-build? #t ; Cut the dependency graph.
+ #:cargo-inputs
+ (("rust-anstream" ,rust-anstream-0.3)
+ ("rust-anstyle" ,rust-anstyle-1)
+ ("rust-is-terminal" ,rust-is-terminal-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-terminal-size" ,rust-terminal-size-0.2))))))
+
(define-public rust-winnow-0.4
(package
(inherit rust-winnow-0.5)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 013/147] gnu: rust-indexmap-2: Update to 2.2.5.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
3201c76a50d90df449784d05268e037f6ff3782e.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-indexmap-2): Update to 2.2.5.

Change-Id: I03ea09791eff33b8da4a490989306898f89439e4
---
gnu/packages/crates-io.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 87a4072bed..1756e48fdc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30137,18 +30137,19 @@ (define-public rust-indenter-0.3
(define-public rust-indexmap-2
(package
(name "rust-indexmap")
- (version "2.1.0")
+ (version "2.2.5")
(source (origin
(method url-fetch)
(uri (crate-uri "indexmap" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "07rxrqmryr1xfnmhrjlz8ic6jw28v6h5cig3ws2c9d0wifhy2c6m"))))
+ "1x4x9zdqvlkfks3y84dsynh1p8na3nn48nn454s26rqla6fr42vv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-borsh" ,rust-borsh-1)
("rust-equivalent" ,rust-equivalent-1)
("rust-hashbrown" ,rust-hashbrown-0.14)
("rust-quickcheck" ,rust-quickcheck-1)
@@ -30158,7 +30159,7 @@ (define-public rust-indexmap-2
#:cargo-development-inputs
(("rust-fnv" ,rust-fnv-1)
("rust-fxhash" ,rust-fxhash-0.2)
- ("rust-itertools" ,rust-itertools-0.11)
+ ("rust-itertools" ,rust-itertools-0.12)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-quickcheck" ,rust-quickcheck-1)
("rust-rand" ,rust-rand-0.8)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 014/147] gnu: rust-serde-json-1: Update to 1.0.114.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
7d8a228a3ac13a8be50b8c455dcd25cda733a093.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-serde-json-1): Update to 1.0.114.

Change-Id: If45f6b01166c75d3b1a5a5f4a0806171785d9f96
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1756e48fdc..4c669e5420 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60356,14 +60356,14 @@ (define-public rust-serde-ignored-0.1
(define-public rust-serde-json-1
(package
(name "rust-serde-json")
- (version "1.0.111")
+ (version "1.0.114")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde_json" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1x441azvvdy6x8am4bvkxhswhzw5cr8ml0cqspnihvri8bx4cvhp"))))
+ (base32 "1q4saigxwkf8bw4y5kp6k33dnavlvvwa2q4zmag59vrjsqdrpw65"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; could not find `RandomState` in `hash`
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 015/147] gnu: rust-toml-test-data-1: Update to 1.8.0.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
ac74caa355f2850433bab88637393398239b422d.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-toml-test-data-1): Update to 1.8.0.

Change-Id: I301a62e00e87ec31dcda55d5e0d8d0af1a333145
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (22 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c669e5420..f636ad3af3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73268,13 +73268,13 @@ (define-public rust-toml-test-0.3
(define-public rust-toml-test-data-1
(package
(name "rust-toml-test-data")
- (version "1.4.0")
+ (version "1.8.0")
(source (origin
(method url-fetch)
(uri (crate-uri "toml-test-data" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0bgdwyjsqgpwwi5s1w483a1g3qrwmq0l3742k07575qzcc6sx0h0"))))
+ (base32 "0pf13igrg0rm5fmy1sj57y9m313wyfwwjrqxgp3fhg41kvcvmdf6"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-include-dir" ,rust-include-dir-0.7))))
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 016/147] gnu: Add rust-toml-edit-0.22.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
148dce008dcc4af1b26ee3f22e459f524ff8afe5.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-toml-edit-0.22): New variable.
(rust-toml-edit-0.21): Inherit from rust-toml-edit-0.22.

Change-Id: I2514dd57e824f25886d1fa1fc4bf451454d3e470
---
gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++++-----
1 file changed, 31 insertions(+), 5 deletions(-)

Toggle diff (72 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f636ad3af3..3f722734ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73058,17 +73058,17 @@ (define-public rust-toml-datetime-0.5
(arguments
`(#:cargo-inputs (("rust-serde" ,rust-serde-1))))))
-(define-public rust-toml-edit-0.21
+(define-public rust-toml-edit-0.22
(package
(name "rust-toml-edit")
- (version "0.21.0")
+ (version "0.22.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "toml_edit" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "00xa3qfk34qazvnkfxyyyqqc6nyl2ksks1c5bd53n5has0y3hkfk"))))
+ (base32 "1kcnmshwvh0afl87358d1ccrqb7fcanyam3jhrvs06qc3s0ij8n1"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2)
@@ -73076,9 +73076,9 @@ (define-public rust-toml-edit-0.21
("rust-serde" ,rust-serde-1)
("rust-serde-spanned" ,rust-serde-spanned-0.6)
("rust-toml-datetime" ,rust-toml-datetime-0.6)
- ("rust-winnow" ,rust-winnow-0.5))
+ ("rust-winnow" ,rust-winnow-0.6))
#:cargo-development-inputs
- (("rust-libtest-mimic" ,rust-libtest-mimic-0.6)
+ (("rust-libtest-mimic" ,rust-libtest-mimic-0.7)
("rust-serde-json" ,rust-serde-json-1)
("rust-snapbox" ,rust-snapbox-0.4)
("rust-toml-test-data" ,rust-toml-test-data-1)
@@ -73089,6 +73089,32 @@ (define-public rust-toml-edit-0.21
parser.")
(license (list license:expat license:asl2.0))))
+(define-public rust-toml-edit-0.21
+ (package
+ (inherit rust-toml-edit-0.22)
+ (name "rust-toml-edit")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "toml_edit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00xa3qfk34qazvnkfxyyyqqc6nyl2ksks1c5bd53n5has0y3hkfk"))))
+ (arguments
+ `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2)
+ ("rust-kstring" ,rust-kstring-2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-spanned" ,rust-serde-spanned-0.6)
+ ("rust-toml-datetime" ,rust-toml-datetime-0.6)
+ ("rust-winnow" ,rust-winnow-0.5))
+ #:cargo-development-inputs
+ (("rust-libtest-mimic" ,rust-libtest-mimic-0.6)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-snapbox" ,rust-snapbox-0.4)
+ ("rust-toml-test-data" ,rust-toml-test-data-1)
+ ("rust-toml-test-harness" ,rust-toml-test-harness-0.4))))))
+
(define-public rust-toml-edit-0.20
(package
(inherit rust-toml-edit-0.21)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 018/147] gnu: Add rust-heck-0.5.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
40dddac6160bad659e168537daaacbdaf5c61fc7.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-heck-0.5): New variable.
(rust-heck-0.4): Inherit from rust-heck-0.5.

Change-Id: I76745290d90f2e7a64fb54e05fe4ec56cd6caa0d
---
gnu/packages/crates-io.scm | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)

Toggle diff (50 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe9d225197..6bc3c34ced 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28532,17 +28532,17 @@ (define-public rust-heapsize-plugin-0.1
total runtime size of an object on the heap")
(license license:mpl2.0)))
-(define-public rust-heck-0.4
+(define-public rust-heck-0.5
(package
(name "rust-heck")
- (version "0.4.1")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "heck" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1a7mqsnycv5z4z5vnv1k34548jzmc0ajic7c1j8jsaspnhw5ql4m"))))
+ (base32 "1sjmpsdl8czyh9ywl3qcsfsq9a307dg4ni2vnlwgnzzqhc4y0113"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -28556,6 +28556,22 @@ (define-public rust-heck-0.4
(license (list license:asl2.0
license:expat))))
+(define-public rust-heck-0.4
+ (package
+ (inherit rust-heck-0.5)
+ (name "rust-heck")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "heck" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a7mqsnycv5z4z5vnv1k34548jzmc0ajic7c1j8jsaspnhw5ql4m"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))))
+
(define-public rust-heck-0.3
(package
(inherit rust-heck-0.4)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 017/147] gnu: Add rust-trycmd-0.15.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
2d6f57c1fcfc7b7e023040b6fb6047f0c0d59900.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-trycmd-0.15): New variable.
(rust-trycmd-0.14): Inherit from rust-trycmd-0.15.

Change-Id: I24b848b36ef0b664c6b858d8e1a141d8eff675ed
---
gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++++-----
1 file changed, 31 insertions(+), 5 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3f722734ec..fe9d225197 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74183,16 +74183,16 @@ (define-public rust-trybuild2-1
(with support for inline tests).")
(license (list license:expat license:asl2.0))))
-(define-public rust-trycmd-0.14
+(define-public rust-trycmd-0.15
(package
(name "rust-trycmd")
- (version "0.14.19")
+ (version "0.15.0")
(source (origin
(method url-fetch)
(uri (crate-uri "trycmd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1yz4prkmnb1y406p0aq3r8yf11alj8i94yvnz3k07c9glir9607d"))))
+ (base32 "05sklyyprn2a365jzby0zn7z97p6mpgi2yzlr2s506m80cvdnkj6"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -74206,8 +74206,8 @@ (define-public rust-trycmd-0.14
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-shlex" ,rust-shlex-1)
- ("rust-snapbox" ,rust-snapbox-0.4)
- ("rust-toml-edit" ,rust-toml-edit-0.20))))
+ ("rust-snapbox" ,rust-snapbox-0.5)
+ ("rust-toml-edit" ,rust-toml-edit-0.22))))
(home-page "https://github.com/assert-rs/trycmd")
(synopsis "Snapshot testing for a herd of CLI tests")
(description "trycmd is a test harness that will enumerate test case files
@@ -74215,6 +74215,32 @@ (define-public rust-trycmd-0.14
@code{cram}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-trycmd-0.14
+ (package
+ (inherit rust-trycmd-0.15)
+ (name "rust-trycmd")
+ (version "0.14.19")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "trycmd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yz4prkmnb1y406p0aq3r8yf11alj8i94yvnz3k07c9glir9607d"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-anstream" ,rust-anstream-0.6)
+ ("rust-escargot" ,rust-escargot-0.5)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-humantime" ,rust-humantime-2)
+ ("rust-humantime-serde" ,rust-humantime-serde-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-schemars" ,rust-schemars-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-shlex" ,rust-shlex-1)
+ ("rust-snapbox" ,rust-snapbox-0.4)
+ ("rust-toml-edit" ,rust-toml-edit-0.20))))))
+
(define-public rust-trycmd-0.13
(package
(inherit rust-trycmd-0.14)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 019/147] gnu: rust-clap-4: Update to 4.5.3.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
78d330df8a149c126db7160382b8e26198dbe626.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-clap-4): Update to 4.5.3.
(rust-clap-builder-4): Update to 4.5.2.
(rust-clap-derive-4): Update to 4.5.3.

Change-Id: I4d15e3d6cd446ed0cf1618ea2ae0ae455bc78780
---
gnu/packages/crates-io.scm | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

Toggle diff (86 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6bc3c34ced..c494595bec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11389,18 +11389,18 @@ (define-public rust-clap-conf-0.1
(define-public rust-clap-derive-4
(package
(name "rust-clap-derive")
- (version "4.4.7")
+ (version "4.5.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "clap_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0hk4hcxl56qwqsf4hmf7c0gr19r9fbxk0ah2bgkr36pmmaph966g"))))
+ (base32 "0byp6k5kyvi9jcbnjjbyw7ak7avn87f2s4ya154f3xc01h29l8wh"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs
- `(("rust-heck" ,rust-heck-0.4)
+ `(("rust-heck" ,rust-heck-0.5)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
@@ -11433,7 +11433,7 @@ (define-public rust-clap-derive-3
(define-public rust-clap-4
(package
(name "rust-clap")
- (version "4.4.16")
+ (version "4.5.3")
(source
(origin
(method url-fetch)
@@ -11441,7 +11441,7 @@ (define-public rust-clap-4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0ialpybl8n8ybfikzy5f07d64pfdajls0s00bf4wgkh4q20liraq"))))
+ "04w8fx68hzjzk45ir4b9jzwk4m7bki0k5afwns9zqgh61v82d5ll"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs
@@ -11451,9 +11451,9 @@ (define-public rust-clap-4
`(("rust-humantime" ,rust-humantime-2)
("rust-rustversion" ,rust-rustversion-1)
("rust-shlex" ,rust-shlex-1)
- ("rust-snapbox" ,rust-snapbox-0.4)
+ ("rust-snapbox" ,rust-snapbox-0.5)
("rust-trybuild" ,rust-trybuild-1)
- ("rust-trycmd" ,rust-trycmd-0.14))))
+ ("rust-trycmd" ,rust-trycmd-0.15))))
(home-page "https://clap.rs/")
(synopsis "Command Line Argument Parser")
(description
@@ -11539,14 +11539,14 @@ (define-public rust-clap-2
(define-public rust-clap-builder-4
(package
(name "rust-clap-builder")
- (version "4.4.16")
+ (version "4.5.2")
(source (origin
(method url-fetch)
(uri (crate-uri "clap_builder" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1fv06ivpzpkhjm4bvxzg3fl4y61mvlf481zms4pksq1iypbq5jsr"))))
+ "1d7p4hph4fyhaphkf0v5zv0kq4lz25a9jq2f901yrq3afqp9w4mf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
@@ -11558,8 +11558,8 @@ (define-public rust-clap-builder-4
(("rust-anstream" ,rust-anstream-0.6)
("rust-anstyle" ,rust-anstyle-1)
("rust-backtrace" ,rust-backtrace-0.3)
- ("rust-clap-lex" ,rust-clap-lex-0.6)
- ("rust-strsim" ,rust-strsim-0.10)
+ ("rust-clap-lex" ,rust-clap-lex-0.7)
+ ("rust-strsim" ,rust-strsim-0.11)
("rust-terminal-size" ,rust-terminal-size-0.3)
("rust-unicase" ,rust-unicase-2)
("rust-unicode-width" ,rust-unicode-width-0.1))
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 020/147] gnu: rust-libc-0.2: Update to 0.2.153.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
702fc9f53ccf404ad7b4cc77c0726a17f4ca3221.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-libc-0.2): Update to 0.2.153.

Change-Id: I82d736797bb779f39f12d26a8b4d974e2aaa56b3
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c494595bec..52a0cd156c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33560,14 +33560,14 @@ (define-public rust-lexopt-0.3
(define-public rust-libc-0.2
(package
(name "rust-libc")
- (version "0.2.151")
+ (version "0.2.153")
(source
(origin
(method url-fetch)
(uri (crate-uri "libc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1x28f0zgp4zcwr891p8n9ag9w371sbib30vp4y6hi2052frplb9h"))))
+ (base32 "1gg7m1ils5dms5miq9fyllrcp0jxnbpgkx71chd2i0lafa8qy6cw"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 021/147] gnu: Add rust-nix-0.28.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
1cd707473fd9824652d7c0b8928be8c2bd557739.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-nix-0.28): New variable.
(rust-nix-0.27): Inherit from rust-nix-0.28.

Change-Id: I15381fec4cfbee30208ddfa032c9aa67a9a46c1a
---
gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++++++---
1 file changed, 33 insertions(+), 3 deletions(-)

Toggle diff (69 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 52a0cd156c..96601d414f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41003,22 +41003,23 @@ (define-public rust-nispor-1
(description "Unified interface for Linux network state querying.")
(license license:asl2.0)))
-(define-public rust-nix-0.27
+(define-public rust-nix-0.28
(package
(name "rust-nix")
- (version "0.27.1")
+ (version "0.28.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f"))))
+ (base32 "1r0rylax4ycx3iqakwjvaa178jrrwiiwghcw95ndzy72zk25c8db"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; unresolved import `nix::sys::aio`
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
("rust-memoffset" ,rust-memoffset-0.9)
@@ -41039,6 +41040,35 @@ (define-public rust-nix-0.27
while still providing platform specific APIs.")
(license license:expat)))
+(define-public rust-nix-0.27
+ (package
+ (inherit rust-nix-0.28)
+ (name "rust-nix")
+ (version "0.27.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f"))))
+ (arguments
+ `(#:tests? #f ; unresolved import `nix::sys::aio`
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memoffset" ,rust-memoffset-0.9)
+ ("rust-pin-utils" ,rust-pin-utils-0.1))
+ #:cargo-development-inputs
+ (("rust-assert-impl" ,rust-assert-impl-0.1)
+ ("rust-caps" ,rust-caps-0.5)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-sysctl" ,rust-sysctl-0.4)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-nix-0.26
(package
(inherit rust-nix-0.27)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 023/147] gnu: rust-filetime-0.2: Update to 0.2.23.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
d9b49598efc3f77cc115ad003fe69fa558aaf3e9.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-filetime-0.2): Update to 0.2.23.

Change-Id: I495d56370b10e645cee845e806e3b96811556f6b
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 56d5bb1616..584b3635d3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23679,7 +23679,7 @@ (define-public rust-filesize-0.2
(define-public rust-filetime-0.2
(package
(name "rust-filetime")
- (version "0.2.22")
+ (version "0.2.23")
(source
(origin
(method url-fetch)
@@ -23687,14 +23687,14 @@ (define-public rust-filetime-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1w1a4zb4ciqjl1chvp9dplbacq07jv97pkdn0pzackbk7vfrw0nl"))))
+ "1za0sbq7fqidk8aaq9v7m9ms0sv8mmi49g6p5cphpan819q4gr0y"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
- ("rust-redox-syscall" ,rust-redox-syscall-0.3)
- ("rust-windows-sys" ,rust-windows-sys-0.48))
+ ("rust-redox-syscall" ,rust-redox-syscall-0.4)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/alexcrichton/filetime")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 022/147] gnu: rust-ctrlc-3: Update to 3.4.4.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
27f435c771c59cbd6e1ed573c422792ce57705dd.1712070305.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-ctrlc-3): Update to 3.4.4.

Change-Id: I92827ffb5653dc36c26a1b60a47c5d30b97fa130
---
gnu/packages/crates-io.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 96601d414f..56d5bb1616 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16630,22 +16630,22 @@ (define-public rust-ctor-0.1
(define-public rust-ctrlc-3
(package
(name "rust-ctrlc")
- (version "3.4.1")
+ (version "3.4.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "ctrlc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1pyglsl1j3b54mdgv1bkxnvgp823n11pkipxmxabh18rcaymzsc2"))))
+ (base32 "0iak582cfv3jcprd9apsy6q9glsx7n4ahiv518wcc6yw6yp6a937"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-nix" ,rust-nix-0.27)
- ("rust-windows-sys" ,rust-windows-sys-0.48))
+ (("rust-nix" ,rust-nix-0.28)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))
#:cargo-development-inputs
(("rust-signal-hook" ,rust-signal-hook-0.3)
- ("rust-windows-sys" ,rust-windows-sys-0.48))))
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
(home-page "https://github.com/Detegr/rust-ctrlc")
(synopsis "Easy Ctrl-C handler for Rust projects")
(description
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 025/147] gnu: rust-value-bag-sval2-1: Update to 1.8.1.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
34c88d84cdc4ebd1605e171a2271e0796c55f3c2.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-value-bag-sval2-1): Update to 1.8.1.

Change-Id: Ibaaca6d19dc7f74d640e6be5bc31c712f85c2ecb
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fba1226837..dfd24f21fc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76575,14 +76575,14 @@ (define-public rust-value-bag-serde1-1
(define-public rust-value-bag-sval2-1
(package
(name "rust-value-bag-sval2")
- (version "1.4.2")
+ (version "1.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "value-bag-sval2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0i899mjnryxw0sp92n8qgnm1s2m56ba27l3qazsbnmqah486rq63"))))
+ (base32 "1y7pavswnf2im3a7b4xyr6fvd8b7xsx62ifjm9jhwk0bkp146nr8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 024/147] gnu: rust-value-bag-sval2: Update to 1.8.1.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
97345ad2f36cee8262745174168cd5e5ac5fc061.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-value-bag-sval2): Update to 1.8.1.

Change-Id: I33f741357b6ca45c9a9f719dd5f00e01b8855817
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (28 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 584b3635d3..fba1226837 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76550,18 +76550,18 @@ (define-public rust-value-bag-1
(define-public rust-value-bag-serde1-1
(package
(name "rust-value-bag-serde1")
- (version "1.4.2")
+ (version "1.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "value-bag-serde1" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1gsp0cn62ay2qq52wzck0j66iavf9k03y6ipmnx3bjqyg7f3kfh7"))))
+ (base32 "0f8x893rl3r3lfap31mmy27q1z1rjkbqkdgpiqkvbk6b84sp0dfc"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-erased-serde" ,rust-erased-serde-0.3)
+ (("rust-erased-serde" ,rust-erased-serde-0.4)
("rust-serde" ,rust-serde-1)
("rust-serde-buf" ,rust-serde-buf-0.1)
("rust-serde-fmt" ,rust-serde-fmt-1)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 026/147] gnu: rust-value-bag-1: Update to 1.8.1.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
5de2fde3076e25ba55c5df1cdc7e4c563aa53d11.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-value-bag-1): Update to 1.8.1.

Change-Id: I92688df45d4ea2d59f314c25dbf71b98ca28d95a
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dfd24f21fc..670390ec18 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76526,14 +76526,14 @@ (define-public rust-valuable-serde-0.1
(define-public rust-value-bag-1
(package
(name "rust-value-bag")
- (version "1.4.2")
+ (version "1.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "value-bag" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1gjvsnhhf9jp8h62zin6azqrpmgmnxq2ppj72d2dcayy5n8f2wja"))))
+ (base32 "1s6yrwh2s4zdjvdx6sy6irffhhffl19yphy71701d1mrqcwp6ybl"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 027/147] gnu: rust-log-0.4: Update to 0.4.23.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
2078881cb24906f8e8271887130a4b3e4c5d7a0a.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-log-0.4): Update to 0.4.23.

Change-Id: I4cfcaa80c6c558614e187e70d8f27d77cea4d6c1
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 670390ec18..248e0de356 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35540,7 +35540,7 @@ (define-public rust-lock-api-0.1
(define-public rust-log-0.4
(package
(name "rust-log")
- (version "0.4.20")
+ (version "0.4.21")
(source
(origin
(method url-fetch)
@@ -35548,7 +35548,7 @@ (define-public rust-log-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "13rf7wphnwd61vazpxr7fiycin6cb1g8fmvgqg18i464p0y1drmm"))))
+ "074hldq1q8rlzq2s2qa8f25hj4s3gpw71w64vdwzjd01a4g8rvch"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all test files included in release.
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 028/147] gnu: rust-regex-automata-0.4: Update to 0.4.6.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
2a198c6357bbae57fa1545dec1736117ba088bc1.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-regex-automata-0.4): Update to 0.4.6.

Change-Id: I18c731a90f49a1a50670bd289bcdba5f7e7037ee
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 248e0de356..3eac7156cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54520,14 +54520,14 @@ (define-public rust-regex-0.1
(define-public rust-regex-automata-0.4
(package
(name "rust-regex-automata")
- (version "0.4.3")
+ (version "0.4.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "regex-automata" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0gs8q9yhd3kcg4pr00ag4viqxnh5l7jpyb9fsfr8hzh451w4r02z"))))
+ (base32 "1spaq7y4im7s56d1gxa2hi4hzf6dwswb1bv8xyavzya7k25kpf46"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 029/147] gnu: rust-regex-1: Update to 1.10.3.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
5df1084d52219a6c19a72e04f1f8a9c246c53ee7.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-regex-1): Update to 1.10.3.

Change-Id: Iff4e6f28e335e356c02ff56fd2d917aad6d31c7a
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3eac7156cb..1b3afa8234 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54432,14 +54432,14 @@ (define-public rust-refpool-0.4
(define-public rust-regex-1
(package
(name "rust-regex")
- (version "1.10.2")
+ (version "1.10.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "regex" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0hxkd814n4irind8im5c9am221ri6bprx49nc7yxv02ykhd9a2rq"))))
+ (base32 "05cvihqy0wgnh9i8a9y2n803n5azg2h0b7nlqy6rsvxhy00vwbdn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 031/147] gnu: rust-serde-derive-1: Update to 1.0.197.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
4e7ce29c39ab7857b54884b64c8d691dcbfa6332.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-serde-derive-1): Update to 1.0.197.

Change-Id: I522df2f7dc485aa38dd10a697027d3587a48f767
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6e4475ce4..e12f744d7c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60281,7 +60281,7 @@ (define-public rust-serdeconv-0.4
(define-public rust-serde-derive-1
(package
(name "rust-serde-derive")
- (version "1.0.194")
+ (version "1.0.197")
(source
(origin
(method url-fetch)
@@ -60289,7 +60289,7 @@ (define-public rust-serde-derive-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1q6l0ycrykdg960c350fgnac6d653q1v608g84qrk3rf692mwf53"))))
+ "02v1x0sdv8qy06lpr6by4ar1n3jz3hmab15cgimpzhgd895v7c3y"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 030/147] gnu: rust-semver-1: Update 1.0.22.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
7b2db8783745698cc30777e8673dc46aaaa08dd1.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-semver-1): Update 1.0.22.

Change-Id: I7231e8f7ce3597d5c14202d27748823ff56b3311
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b3afa8234..f6e4475ce4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59606,14 +59606,14 @@ (define-public rust-self-cell-1
(define-public rust-semver-1
(package
(name "rust-semver")
- (version "1.0.20")
+ (version "1.0.22")
(source
(origin
(method url-fetch)
(uri (crate-uri "semver" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "140hmbfa743hbmah1zjf07s8apavhvn04204qjigjiz5w6iscvw3"))))
+ (base32 "1jir6q2ps4s5v52bqxpvwj35p0m0ahl5pf62ppwksbv5kvk3zm4j"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 032/147] gnu: rust-serde-1: Update to 1.0.197.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
4d5101873b50339d222af2fad948f015e28e85bf.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-serde-1): Update to 1.0.197.

Change-Id: Ic0950289168df416125fdf3354625b15f702d06c
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e12f744d7c..c6d611a4c3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59844,7 +59844,7 @@ (define-public rust-seq-io-0.3
(define-public rust-serde-1
(package
(name "rust-serde")
- (version "1.0.194")
+ (version "1.0.197")
(source
(origin
(method url-fetch)
@@ -59852,7 +59852,7 @@ (define-public rust-serde-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0wxplk1ayrsb81bdwh8zmkldw1b0xigs3qc90r5ck6374nc4848b"))))
+ "1qjcxqd3p4yh5cmmax9q4ics1zy34j5ij32cvjj5dc5rw5rwic9z"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 033/147] gnu: rust-walkdir-2: Update to 2.5.0.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
bbdf7db3f90fba8f44b837ab15cf722eca885686.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-walkdir-2): Update to 2.5.0.

Change-Id: I4c5717bf30aea8edfd37f8f261f4d9bfe5e236a5
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6d611a4c3..57d9d862de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77259,14 +77259,14 @@ (define-public rust-waker-fn-1
(define-public rust-walkdir-2
(package
(name "rust-walkdir")
- (version "2.4.0")
+ (version "2.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "walkdir" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1vjl9fmfc4v8k9ald23qrpcbyb8dl1ynyq8d516cm537r1yqa7fp"))))
+ (base32 "0jsy7a710qv8gld5957ybrnc07gavppp963gs32xk4ag8130jy99"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 034/147] gnu: Add rust-wasmparser-0.201.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
1eb9a6021c58206d2f3138676ef81c4ea6837557.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmparser-0.201): New variable.
(rust-wasmparser-0.57): Inherit from rust-wasmparser-0.201.

Change-Id: I249902ef724d6e28b4e77f06340cad2beb20240c
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++----
1 file changed, 25 insertions(+), 4 deletions(-)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 57d9d862de..2d578ff54d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77807,26 +77807,47 @@ (define-public rust-wasm-streams-0.2
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
("rust-web-sys" ,rust-web-sys-0.3))))))
-(define-public rust-wasmparser-0.57
+(define-public rust-wasmparser-0.201
(package
(name "rust-wasmparser")
- (version "0.57.0")
+ (version "0.201.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "wasmparser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "19kslk9pv1bcyp85w63dn1adbp13kz7kjha80abnwz27bmbxvz9j"))))
+ (base32 "027pdclgl642hqzdi592nnhdf7j570bhyi9sqsppy3bcp9nxzrc4"))))
(build-system cargo-build-system)
- (arguments `(#:skip-build? #t))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-semver" ,rust-semver-1))))
(home-page "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser")
(synopsis "Simple event-driven library for parsing WebAssembly binary files")
(description
"This package provides a simple event-driven library for parsing
WebAssembly binary files.")
+ ;; With LLVM exception.
(license license:asl2.0)))
+
+(define-public rust-wasmparser-0.57
+ (package
+ (inherit rust-wasmparser-0.201)
+ (name "rust-wasmparser")
+ (version "0.57.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmparser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19kslk9pv1bcyp85w63dn1adbp13kz7kjha80abnwz27bmbxvz9j"))))
+ (arguments `(#:skip-build? #t))))
+
+
(define-public rust-watchexec-1
(package
(name "rust-watchexec")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 035/147] gnu: Add rust-wasmparser-0.121.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
f481fad2ba52481dbd63a7d5e1f9a8cabe5217bd.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmparser-0.121): New variable.
(rust-wasmparser-0.57): Inherit from rust-wasmparser-0.121.

Change-Id: I5a01591b618265a6e95d9e7ed2d1a29ca1937b26
---
gnu/packages/crates-io.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d578ff54d..a2b44cac1e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77832,10 +77832,27 @@ (define-public rust-wasmparser-0.201
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-wasmparser-0.121
+ (package
+ (inherit rust-wasmparser-0.201)
+ (name "rust-wasmparser")
+ (version "0.121.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmparser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1aza0g3v49nqsc856fd7x8zwrh4hzy4si9a7jifx5nyhz745bglx"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-semver" ,rust-semver-1))))))
(define-public rust-wasmparser-0.57
(package
- (inherit rust-wasmparser-0.201)
+ (inherit rust-wasmparser-0.121)
(name "rust-wasmparser")
(version "0.57.0")
(source
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 036/147] gnu: Add rust-wasmparser-0.118.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
f05ac7e58ee6b687a7911316cc182c05c7efda67.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmparser-0.118): New variable.
(rust-wasmparser-0.57): Inherit from rust-wasmparser-0.118.

Change-Id: Id47d9d90c5d2f03660f06a59ce265a85921a5e6a
---
gnu/packages/crates-io.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a2b44cac1e..44a1245e7e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77850,10 +77850,27 @@ (define-public rust-wasmparser-0.121
("rust-indexmap" ,rust-indexmap-2)
("rust-semver" ,rust-semver-1))))))
-(define-public rust-wasmparser-0.57
+(define-public rust-wasmparser-0.118
(package
(inherit rust-wasmparser-0.121)
(name "rust-wasmparser")
+ (version "0.118.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmparser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0365n7dd01fh2jklq6q41nszhyyaz82shd4q3nhf4s5q397ibwbp"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-indexmap" ,rust-indexmap-2)
+ ("rust-semver" ,rust-semver-1))))))
+
+(define-public rust-wasmparser-0.57
+ (package
+ (inherit rust-wasmparser-0.118)
+ (name "rust-wasmparser")
(version "0.57.0")
(source
(origin
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 037/147] gnu: rust-webbrowser-0.8: Update to 0.8.13.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
9225e726304cf1c5fb0e8ec61d1b067b20c41388.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-webbrowser-0.8): Update to 0.8.13.

Change-Id: I77bcf43bd3a04d5ce67da948cf39765c29b23a8a
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 44a1245e7e..81c6d89626 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78041,7 +78041,7 @@ (define-public rust-web-time-0.2
(define-public rust-webbrowser-0.8
(package
(name "rust-webbrowser")
- (version "0.8.8")
+ (version "0.8.13")
(source
(origin
(method url-fetch)
@@ -78052,7 +78052,7 @@ (define-public rust-webbrowser-0.8
(patches (search-patches "rust-webbrowser-remove-unsupported-os.patch"))
(patch-flags '("-p0"))
(sha256
- (base32 "0zk1qidyksspa8pgvq8bh2lyqmmrs0fr5r1qsyhbzrawpn2w972p"))))
+ (base32 "0l691mzlvjp7l829p6wqpzs1acvm93ywcznl3nbvpac3kib4rc6i"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 038/147] gnu: rust-ctor-0.2: Update to 0.2.7.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
b1f76abd792396f5819dc438ce46217b818736c4.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-ctor-0.2): Update to 0.2.7.

Change-Id: If94c023bb5ab52ba3c330ddd1120f25a22b132b8
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 81c6d89626..3520d20ddd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16587,14 +16587,14 @@ (define-public rust-ct-logs-0.7
(define-public rust-ctor-0.2
(package
(name "rust-ctor")
- (version "0.2.0")
+ (version "0.2.7")
(source (origin
(method url-fetch)
(uri (crate-uri "ctor" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "06rhrw85py0gkk7g99qk124mk6d5isq95nn3abc84fyf7zv5ch6x"))))
+ "0p289www67xwnxsqgvlh3mzi0zmdysxsqf4cx2kvgfcj96kiladd"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 039/147] gnu: rust-rustix-0.38: Update to 0.38.31.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
a1d789c184c8a8eac5abfe720094be195a7cced8.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-rustix-0.38): Update to 0.38.13.

Change-Id: I8adaac5954a4254a505471fb89d524dab6a07314
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3520d20ddd..2e0746a6b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57598,14 +57598,14 @@ (define-public rust-rustfix-0.4
(define-public rust-rustix-0.38
(package
(name "rust-rustix")
- (version "0.38.28")
+ (version "0.38.31")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "05m3vacvbqbg6r6ksmx9k5afpi0lppjdv712crrpsrfax2jp5rbj"))
+ (base32 "0jg9yj3i6qnzk1y82hng7rb1bwhslfbh57507dxcs9mgcakf38vf"))
(snippet
#~(begin (use-modules (guix build utils))
(for-each delete-file (find-files "." "\\.a$"))
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 040/147] gnu: rust-tempfile-3: Update to 3.10.1.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
107a14abefc7b38f36c8622217bbe2e39fb51469.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-tempfile-3): Update to 3.10.1.

Change-Id: I8466f3472b53f14e895c7119e3bbbdb3a66f7781
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

Toggle diff (29 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2e0746a6b4..966d289478 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68807,20 +68807,19 @@ (define-public rust-tempdir-0.3
(define-public rust-tempfile-3
(package
(name "rust-tempfile")
- (version "3.9.0")
+ (version "3.10.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "tempfile" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ypkl7rvv57n16q28psxpb61rnyhmfaif12ascdnsyljm90l3kh1"))))
+ (base32 "1wdzz35ri168jn9al4s1g2rnsrr5ci91khgarc2rvpb3nappzdw5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
("rust-fastrand" ,rust-fastrand-2)
- ("rust-redox-syscall" ,rust-redox-syscall-0.4)
("rust-rustix" ,rust-rustix-0.38)
("rust-windows-sys" ,rust-windows-sys-0.52))
#:cargo-development-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 041/147] gnu: rust-bumpalo-3: Update to 3.15.4.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
61b060d430c4342985f9cdf1c42a42af5f0992a6.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-bumpalo-3): Update to 3.15.4.

Change-Id: I1f6c7c4144bd9f1830527827f36d15d9c5c35191
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 966d289478..9bfdb4c602 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8508,7 +8508,7 @@ (define-public rust-built-0.5
(define-public rust-bumpalo-3
(package
(name "rust-bumpalo")
- (version "3.13.0")
+ (version "3.15.4")
(source
(origin
(method url-fetch)
@@ -8517,7 +8517,7 @@ (define-public rust-bumpalo-3
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1h9zmxb9d14m2sx34daz88fsjw1lx7d5mhaqbldwqgl8xzdc7qm3"))))
+ "1ahfhgw2lzlgv5j0h07z8mkdnk4kvl2grf8dkb32dm4zsjfrpxkz"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 042/147] gnu: rust-derive-arbitrary-1: Update to 1.3.2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
069c11d2e882a6081bfeac50c2c4038e04c7c16c.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-derive-arbitrary-1): Update to 1.3.2.

Change-Id: I4a30e5e4685b4301d00f1a1e1788e7b6cf28f477
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9bfdb4c602..163d3786d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18481,20 +18481,20 @@ (define-public rust-derivative-2
(define-public rust-derive-arbitrary-1
(package
(name "rust-derive-arbitrary")
- (version "1.3.0")
+ (version "1.3.2")
(source (origin
(method url-fetch)
(uri (crate-uri "derive_arbitrary" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1dy8pmv7d8diqhbh1b88v8q5g0inwkgb465877jqimbjqjgfpkgk"))))
+ "04bnd985frl81r5sgixgpvncnnj1bfpfnd7qvdx1aahnqi9pbrv7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
+ ("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/rust-fuzz/arbitrary")
(synopsis "Derives arbitrary traits")
(description "This crate implements support for automatically deriving the
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 043/147] gnu: rust-arbitrary-1: Update to 1.3.2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
11725e9e23c77894215fb3b3b3f5aa78f7b1a6e4.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-arbitrary-1): Update to 1.3.2.

Change-Id: I538afad02af831cb7c815e1eccc73cc436571917
---
gnu/packages/crates-io.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Toggle diff (28 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 163d3786d1..26d9fdaba0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2016,17 +2016,18 @@ (define-public rust-approx-0.1
(define-public rust-arbitrary-1
(package
(name "rust-arbitrary")
- (version "1.3.0")
+ (version "1.3.2")
(source (origin
(method url-fetch)
(uri (crate-uri "arbitrary" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0km5cj0sxfzv863blfjpz49mlikaxbaslyzk463i9jn1fgzril72"))))
+ "0471f0c4f1bgibhyhf8vnapkp158h1nkrzx0wnq97jwd9n0jcnkx"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t ;; Needs rust-exhaustigen-0.1.
+ #:cargo-inputs
(("rust-derive-arbitrary" ,rust-derive-arbitrary-1))))
(home-page "https://github.com/rust-fuzz/arbitrary")
(synopsis "Trait for generating structured data from unstructured data")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 044/147] gnu: rust-psm-0.1: Update to 0.1.21.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
f8c8530a785a81f3548bf034285cdceec4665ff0.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-psm-0.1): Update to 0.1.21.

Change-Id: I100c70f1c2e53f141ae9f1d59e72e59f036c6b4e
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26d9fdaba0..fc8f7dd413 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50641,7 +50641,7 @@ (define-public rust-psl-types-2
(define-public rust-psm-0.1
(package
(name "rust-psm")
- (version "0.1.10")
+ (version "0.1.21")
(source
(origin
(method url-fetch)
@@ -50650,7 +50650,7 @@ (define-public rust-psm-0.1
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1kr9sal8g9zil4ch8ra0ry96d5cl15xslk1p0wnqk1504ib3hb89"))))
+ "0x78nj5wxkxwijd2gvv2ycq06443b2y1ih4j46kk6c2flg6zg1sp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 045/147] gnu: Add rust-afl-0.11.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
dc9a2e868c1a93d03efcb0025c38afb1e29fe175.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-afl-0.11): New variable.

Change-Id: Ia9fd47fce07d978ccb96b621632e06a3776e2450
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc8f7dd413..f0a38b7de9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -647,6 +647,31 @@ (define-public rust-afl-0.12
"Fuzz Rust code with american-fuzzy-lop.")
(license license:asl2.0)))
+(define-public rust-afl-0.11
+ (package
+ (inherit rust-afl-0.12)
+ (name "rust-afl")
+ (version "0.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "afl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(delete-file
+ "AFLplusplus/testcases/archives/common/ar/small_archive.a"))
+ (sha256
+ (base32 "0a2jm690mcxd073j9isd16rpzkjfmpgamw9h64f5l2fpns0423vc"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cc" ,rust-cc-1)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-xdg" ,rust-xdg-2))))))
+
(define-public rust-ahash-0.8
(package
(name "rust-ahash")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 046/147] gnu: Add rust-cpp-demangle-0.3.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
1d664a19f2d0c0a7c0863c903a7f5111f7d1ce41.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cpp-demangle-0.3): New variable.

Change-Id: I5d309107b144b88533e96752ad07a810f82021c1
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f0a38b7de9..b46d2ef254 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14692,6 +14692,23 @@ (define-public rust-cpp-demangle-0.4
"This package provides a crate for demangling C++ symbols.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cpp-demangle-0.3
+ (package
+ (inherit rust-cpp-demangle-0.4)
+ (name "rust-cpp-demangle")
+ (version "0.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cpp_demangle" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03vi33qz8x7lll0xd3acd3jp39nvzv174wg424qsb1nkm8z9bapf"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-afl" ,rust-afl-0.11)
+ ("rust-cfg-if" ,rust-cfg-if-1))))))
+
(define-public rust-cpufeatures-0.2
(package
(name "rust-cpufeatures")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 048/147] gnu: Add rust-wasm-encoder-0.201.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
197eaee5fec53d7e4922559db1aeae4b698fc5fd.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasm-encoder-0.201): New variable.

Change-Id: I9cb606d86acc0c756541dbdd2ab454dda169eac6
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0a69c85078..4e1cea7679 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77818,6 +77818,30 @@ (define-public rust-wasm-bindgen-test-macro-0.2
(("rust-proc-macro2" ,rust-proc-macro2-0.4)
("rust-quote" ,rust-quote-0.6))))))
+(define-public rust-wasm-encoder-0.201
+ (package
+ (name "rust-wasm-encoder")
+ (version "0.201.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-encoder" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06lgfkb0r1dw0hc1mqgnrkg935h1qb668gq1kf0hc07n3mrx5ixr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-leb128" ,rust-leb128-0.2)
+ ("rust-wasmparser" ,rust-wasmparser-0.201))))
+ (home-page
+ "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-encoder")
+ (synopsis "Encode WebAssembly binary files")
+ (description "This package provides a low-level interface to encode
+WebAssembly binaries.")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-wasm-streams-0.3
(package
(name "rust-wasm-streams")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:03 +0200
[PATCH 047/147] gnu: Add rust-leb128-0.2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
a343170e4ca1b29ffc799f6ec29186196a13c6cb.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-leb128-0.2): New variable.

Change-Id: I16e11265dd0dac30f093353ac9d042a301822e34
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b46d2ef254..0a69c85078 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33243,6 +33243,27 @@ (define-public rust-lddtree-0.3
(description "Read the ELF dependency tree.")
(license license:expat)))
+(define-public rust-leb128-0.2
+ (package
+ (name "rust-leb128")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "leb128" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rxxjdn76sjbrb08s4bi7m4x47zg68f71jzgx8ww7j0cnivjckl8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/gimli-rs/leb128")
+ (synopsis "Read and write DWARF's @acronym{LEB128, Little Endian Base 128}")
+ (description "This package provides a library to read and write variable
+length integers of DWARF in the @acronym{LEB128, Little Endian Base 128}
+format.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-lebe-0.5
(package
(name "rust-lebe")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 049/147] gnu: Add rust-wasm-encoder-0.41.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
db01920178d11d4f26c86ff35a4adb15d9f057b4.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasm-encoder-0.41): New variable.

Change-Id: I80e817c9acd02f7d33927e0356484732e88c4b9d
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e1cea7679..c4c3e9074f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77842,6 +77842,23 @@ (define-public rust-wasm-encoder-0.201
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-wasm-encoder-0.41
+ (package
+ (inherit rust-wasm-encoder-0.201)
+ (name "rust-wasm-encoder")
+ (version "0.41.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-encoder" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1bl7a871fw3dwrii2swqcn9x1g4hi8c98dfjvs6r13riv2jrfbwp"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-leb128" ,rust-leb128-0.2)
+ ("rust-wasmparser" ,rust-wasmparser-0.121))))))
+
(define-public rust-wasm-streams-0.3
(package
(name "rust-wasm-streams")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 050/147] gnu: Add rust-wast-201.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
818a0c71bbe7ccb0f40e14eacc4aa48c7ef0dd54.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wast-201): New variable.

Change-Id: If1c5be3aeda04f700460ef9644e6dc319853491a
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c4c3e9074f..7dd6a286a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77986,6 +77986,33 @@ (define-public rust-wasmparser-0.57
(arguments `(#:skip-build? #t))))
+(define-public rust-wast-201
+ (package
+ (name "rust-wast")
+ (version "201.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wast" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1aig4bvd0n4vvwj1nvjrmmngyyi2q2lv3ljg6wmkxnnp6kpy3xhy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bumpalo" ,rust-bumpalo-3)
+ ("rust-leb128" ,rust-leb128-0.2)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-wasm-encoder" ,rust-wasm-encoder-0.201))))
+ (home-page
+ "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast")
+ (synopsis "Parsers for the WebAssembly Text formats WAT and WAST")
+ (description "This package provides a library with customizable parsers
+for the WebAssembly Text formats WAT and WAST.")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-watchexec-1
(package
(name "rust-watchexec")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 051/147] gnu: Add rust-wast-35.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
06146cb3ec2796324f269bdee19d40ebf9ff778a.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wast-35): New variable.

Change-Id: I4a8d449aee328dca78a9aa96bd0fa3a1d3d4c630
---
gnu/packages/crates-io.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

Toggle diff (29 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7dd6a286a4..a6ae6703cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78013,6 +78013,22 @@ (define-public rust-wast-201
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-wast-35
+ (package
+ (inherit rust-wast-201)
+ (name "rust-wast")
+ (version "35.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wast" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0s2d43g326dw21bygpalzjnr1fi83lx4afimg1h5hilrnkql1w9f"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-leb128" ,rust-leb128-0.2))))))
+
(define-public rust-watchexec-1
(package
(name "rust-watchexec")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 053/147] gnu: Add rust-id-arena-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
f1c0a978fafe71808da319587ef6f9b1756a0ec3.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-id-arena-2): New variable.

Change-Id: Ic58006f578d875d833466630b93a15d29c4c8774
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b238fc265a..a6401ec389 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29611,6 +29611,27 @@ (define-public rust-iana-time-zone-0.1
"This package provides the IANA time zone for the current system.")
(license (list license:expat license:asl2.0))))
+(define-public rust-id-arena-2
+ (package
+ (name "rust-id-arena")
+ (version "2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "id-arena" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01ch8jhpgnih8sawqs44fqsqpc7bzwgy0xpi6j0f4j0i5mkvr8i5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-rayon" ,rust-rayon-1))))
+ (home-page "https://github.com/fitzgen/id-arena")
+ (synopsis "Arena allocator based on identifiers")
+ (description "This package provides an arena allocator library using
+identifiers to keep track of allocated objects.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-idea-0.5
(package
(name "rust-idea")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 052/147] gnu: Add rust-wat-1.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
81b47c203b046f1908fb1ce20d9dbaee678954ff.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wat-1): New variable.

Change-Id: I1002e689d42ff0d67bd1e9143fad3b35cb0ff328
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6ae6703cb..b238fc265a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78029,6 +78029,29 @@ (define-public rust-wast-35
`(#:skip-build? #t
#:cargo-inputs (("rust-leb128" ,rust-leb128-0.2))))))
+(define-public rust-wat-1
+ (package
+ (name "rust-wat")
+ (version "1.201.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wat" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cizrxad8y4wdrgcdwdy7f4dfd1nqxgh2s6bykjdx62vlhvmnga5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-wast" ,rust-wast-201))))
+ (home-page
+ "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wat")
+ (synopsis "Parser for the WebAssembly text format (WAT)")
+ (description "This package provides a library with a parser for the
+WebAssembly text format (WAT)")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-watchexec-1
(package
(name "rust-watchexec")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 054/147] gnu: Add rust-souper-ir-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
504ab98ff023d5680a53478bfaef79b2d3026abb.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-souper-ir-2): New variable.

Change-Id: I8eae8854f51dafd8214d2b111b121dce52b8d777
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6401ec389..8196c8f009 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63972,6 +63972,27 @@ (define-public rust-socks-0.3
"You can write SOCKS proxy clients with this crate.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-souper-ir-2
+ (package
+ (name "rust-souper-ir")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "souper-ir" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i60q84w5k3rd0j3zhsdc5xasrd4wrkamyrs01rik3lq6g71h355"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-id-arena" ,rust-id-arena-2))))
+ (home-page "https://github.com/fitzgen/souper-ir")
+ (synopsis "Manipulate Souper's LLVM IR")
+ (description "This package provides a library for manipulating the
+Souper LLVM IR.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-sourcemap-6
(package
(name "rust-sourcemap")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 055/147] gnu: Add rust-fallible-iterator-0.3.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
bbb7ceb5ae2a4e6f37b076e109a2caa1d6af5e14.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-fallible-iterator-0.3): New variable.
(rust-fallible-iterator-0.2): Inherit from rust-fallible-iterator-0.3.

Change-Id: I7e12549c372c7ca33a7d768a67f1892a075dede2
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++---------
1 file changed, 25 insertions(+), 9 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8196c8f009..65f1b52e6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22904,8 +22904,32 @@ (define-public rust-failure-derive-0.1
(description "Derives for the failure crate.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-fallible-iterator-0.3
+ (package
+ (name "rust-fallible-iterator")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fallible-iterator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ja6l56yka5vn4y4pk6hn88z0bpny7a8k1919aqjzp0j1yhy9k1a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/sfackler/rust-fallible-iterator")
+ (synopsis "Fallible iterator traits")
+ (description "If the @code{std} or @code{alloc} features are enabled, this
+crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
+@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
+provides implementations for @code{HashMap} and @code{HashSet}.")
+ (license (list license:expat
+ license:asl2.0))))
+
(define-public rust-fallible-iterator-0.2
(package
+ (inherit rust-fallible-iterator-0.3)
(name "rust-fallible-iterator")
(version "0.2.0")
(source
@@ -22916,15 +22940,7 @@ (define-public rust-fallible-iterator-0.2
(sha256
(base32
"1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/sfackler/rust-fallible-iterator")
- (synopsis "Fallible iterator traits")
- (description "If the @code{std} or @code{alloc} features are enabled, this
-crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
-@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
-provides implementations for @code{HashMap} and @code{HashSet}.")
- (license (list license:asl2.0
- license:expat))))
+ (arguments `())))
(define-public rust-fallible-streaming-iterator-0.1
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 056/147] gnu: Add rust-slice-group-by-0.3.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
51ac2ac1da0e545f6648e7922f1628f39c142a66.1712070306.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-slice-group-by-0.3): New variable.

Change-Id: I25099b0858e6b6f535db8a172f668e411fc7cea9
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 65f1b52e6b..f5c90790f5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62968,6 +62968,28 @@ (define-public rust-slice-deque-0.2
("rust-mach" ,rust-mach-0.2)
("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-slice-group-by-0.3
+ (package
+ (name "rust-slice-group-by")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "slice-group-by" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19vbyyxqvc25fv2dmhlxijlk5sa9j34yb6hyydb9vf89kh36fqc2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/Kerollmops/slice-group-by")
+ (synopsis "Iterate over groups in slices and strings")
+ (description "This package provieds a library implementing the
+@code{groupBy} function from Haskell providing tools to iterate slices and
+@code{str}s groups defined by a function that specifies if two elements are
+in the same group.")
+ (license license:expat)))
+
(define-public rust-slog-2
(package
(name "rust-slog")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 057/147] gnu: Add rust-regalloc2-0.9.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
d4fbd68c00909814df1de765300315e97f917e82.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-regalloc2-0.9): New variable.

Change-Id: I1589e04c2bef0e27c646708bfd7376f1b8384793
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f5c90790f5..c728849d6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54530,6 +54530,34 @@ (define-public rust-refpool-0.4
memory to speed up reallocation.")
(license license:mpl2.0)))
+(define-public rust-regalloc2-0.9
+ (package
+ (name "rust-regalloc2")
+ (version "0.9.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "regalloc2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19i94jyjma82hgyf5wj83zkqc5wnfxnh38k3lcj7m6w7ki9ns5dd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13)
+ ("rust-libfuzzer-sys" ,rust-libfuzzer-sys-0.4)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rustc-hash" ,rust-rustc-hash-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-slice-group-by" ,rust-slice-group-by-0.3)
+ ("rust-smallvec" ,rust-smallvec-1))))
+ (home-page "https://github.com/bytecodealliance/regalloc2")
+ (synopsis "Backtracking register allocator")
+ (description "This package provides a library for a backtracking register
+allocator inspired from IonMonkey.")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-regex-1
(package
(name "rust-regex")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 058/147] gnu: Add rust-capstone-sys-0.13.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
34b83c7951a96260a8db6fcd46fc9a8da6800d17.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-capstone-sys-0.13): New variable.

Change-Id: I4ca3ea310603f419bdea8c7bb83d72183fd31943
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c728849d6b..205041cb5d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9712,6 +9712,32 @@ (define-public rust-caps-0.3
("rust-error-chain" ,rust-error-chain-0.12)
("rust-libc" ,rust-libc-0.2))))))
+;; FIXME: This package contains bundled capstone sources and no easy way
+;; to opt out and use system libraries.
+(define-public rust-capstone-sys-0.13
+ (package
+ (name "rust-capstone-sys")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "capstone-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xpia1gs2b0zl7n521ldq6lax2jqqjw0hz2c8skak94gp2bksbyg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.53)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/capstone-rust/capstone-rs")
+ (synopsis "Low-level bindings to the capstone disassembly library")
+ (description "This package provides a library with low-level bindings
+to the capstone disassembly library")
+ (license license:expat)))
+
(define-public rust-carapace-spec-clap-0.1
(package
(name "rust-carapace-spec-clap")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 059/147] gnu: Add rust-capstone-0.9.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
35cc926801d81f84334dd13f39cdf6400f1ecee3.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-capstone-0.9): New variable.

Change-Id: I9393126aaadc8ee95ab0fcb097307c8407c6ff14
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 205041cb5d..4c48053f95 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9712,6 +9712,28 @@ (define-public rust-caps-0.3
("rust-error-chain" ,rust-error-chain-0.12)
("rust-libc" ,rust-libc-0.2))))))
+(define-public rust-capstone-0.9
+ (package
+ (name "rust-capstone")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "capstone" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v19wszrrhidh6z1ms0hda0dl4p0fl2n1mhx5mwkjfffnj03r2qp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-capstone-sys" ,rust-capstone-sys-0.13)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/capstone-rust/capstone-rs")
+ (synopsis "High-level bindings to the capstone disassembly library")
+ (description "High level bindings to capstone disassembly engine
+(https://capstone-engine.org/)")
+ (license license:expat)))
+
;; FIXME: This package contains bundled capstone sources and no easy way
;; to opt out and use system libraries.
(define-public rust-capstone-sys-0.13
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 060/147] gnu: Add rust-gimli-0.28.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
425c5464232fdff1ac78fd631b309e18bd00c9c2.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-gimli-0.28): New variable.
(rust-gimli-0.27): Inherit from rust-gimli-0.28.

Change-Id: I5ef53da84f6efc735c3de9abe8166aae93f9faaa
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++--------
1 file changed, 30 insertions(+), 8 deletions(-)

Toggle diff (67 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c48053f95..10ef22bea6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26859,8 +26859,37 @@ (define-public rust-ghost-0.1
;; Either license can be chosen at the users option.
(license (list license:expat license:asl2.0))))
+(define-public rust-gimli-0.28
+ (package
+ (name "rust-gimli")
+ (version "0.28.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gimli" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lv23wc8rxvmjia3mcxc6hj9vkqnv1bqq0h8nzjcgf71mrxx6wa2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-fallible-iterator" ,rust-fallible-iterator-0.3)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+ (home-page "https://github.com/gimli-rs/gimli")
+ (synopsis "Library for reading and writing the DWARF debugging format")
+ (description
+ "This package provides a library for reading and writing the DWARF
+debugging format.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gimli-0.27
(package
+ (inherit rust-gimli-0.28)
(name "rust-gimli")
(version "0.27.2")
(source (origin
@@ -26870,7 +26899,6 @@ (define-public rust-gimli-0.27
(sha256
(base32
"1d5v6jjchf4872jynjsg5ni4vankm1341bas8qindygb6g9962md"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
@@ -26888,13 +26916,7 @@ (define-public rust-gimli-0.27
("rust-rayon" ,rust-rayon-1)
("rust-regex" ,rust-regex-1)
("rust-test-assembler" ,rust-test-assembler-0.1)
- ("rust-typed-arena" ,rust-typed-arena-2))))
- (home-page "https://github.com/gimli-rs/gimli")
- (synopsis "Library for reading and writing the DWARF debugging format")
- (description
- "This package provides a library for reading and writing the DWARF
-debugging format.")
- (license (list license:expat license:asl2.0))))
+ ("rust-typed-arena" ,rust-typed-arena-2))))))
(define-public rust-gimli-0.26
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 061/147] gnu: Add rust-cranelift-entity-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
c46365a3bd60db1fece3e56932752c95005b8058.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-entity-0.105): New
variable.

Change-Id: I604c9103e5c348836a04dc78cbfc45a604c47ade
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 10ef22bea6..b40ba1e188 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14892,6 +14892,28 @@ (define-public rust-cradle-0.2
(description "Execute child processes with ease.")
(license license:cc0)))
+(define-public rust-cranelift-entity-0.105
+ (package
+ (name "rust-cranelift-entity")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-entity" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jsq40byd4akxhj7b8sh20m89lywhzfyz1wb4idlrp155yj8383f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Data structures using entity references as mapping keys")
+ (description "Data structures using entity references as mapping keys")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-crates-index-0.19
(package
(name "rust-crates-index")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 062/147] gnu: Add rust-cranelift-bforest-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
ae7f6b6ffd7c956c86feab5b2297ed9c6d9089a0.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-bforest-0.105): New
variable.

Change-Id: I659dc9f98f7ddadad5a9e9266a3bef34e507992c
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b40ba1e188..ff6becebdb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14914,6 +14914,28 @@ (define-public rust-cranelift-entity-0.105
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-cranelift-bforest-0.105
+ (package
+ (name "rust-cranelift-bforest")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-bforest" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "092wi61n3j7q76dmgq9a6mh93iv5d5pvpv6y3nxnp9mw58g55m8n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cranelift-entity" ,rust-cranelift-entity-0.105))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "A forest of B+-trees")
+ (description "This package provides a forest of B+-trees")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-crates-index-0.19
(package
(name "rust-crates-index")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 064/147] gnu: Add rust-cranelift-codegen-meta-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
1d622c22b72e104e74638d848f22b89b2f7972c1.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-codegen-meta-0.105): New
variable.

Change-Id: Ib53e24aca6fc2a4e2271da3f2b33fb8d5660503b
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 637a68573d..f9b5550cd0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14936,6 +14936,29 @@ (define-public rust-cranelift-bforest-0.105
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-cranelift-codegen-meta-0.105
+ (package
+ (name "rust-cranelift-codegen-meta")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-codegen-meta" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0q9va4rvych99fj5n44h2lnkd1lhs0hpb87w7pvp1h45b7cdak6j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cranelift-codegen-shared"
+ ,rust-cranelift-codegen-shared-0.105))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Metaprogram for cranelift-codegen code generator library")
+ (description "Metaprogram for cranelift-codegen code generator library")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-cranelift-codegen-shared-0.105
(package
(name "rust-cranelift-codegen-shared")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 065/147] gnu: Add rust-cranelift-control-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
7d11cefd3ae1645bbc016a31278b57e4cdefc1fb.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-control-0.105): New
variable.

Change-Id: I3c7b86ebc74b796a531c99bb4951dbf9d13bb3c5
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9b5550cd0..215085ffce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14979,6 +14979,27 @@ (define-public rust-cranelift-codegen-shared-0.105
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-cranelift-control-0.105
+ (package
+ (name "rust-cranelift-control")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-control" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w85gyz7bnqjjxzz9gv3hc9l13fbkr68wainpbym6rcc17gcwppj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "White-box fuzz testing framework")
+ (description "White-box fuzz testing framework")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-crates-index-0.19
(package
(name "rust-crates-index")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 063/147] gnu: Add rust-cranelift-codegen-shared-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
c60a977f00a5e5fdfdc4025a14fb8305c30edf77.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-codegen-shared-0.105): New
variable.

Change-Id: I940232d3e027503388cbdbf131846665d79f9921
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff6becebdb..637a68573d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14936,6 +14936,26 @@ (define-public rust-cranelift-bforest-0.105
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-cranelift-codegen-shared-0.105
+ (package
+ (name "rust-cranelift-codegen-shared")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-codegen-shared" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v3ja501s26s4ykljy0ikxqa69jkpn7pg2mrghy0map3cd1lqn70"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "For code shared between cranelift-codegen-meta and cranelift-codegen")
+ (description "For code shared between cranelift-codegen-meta and cranelift-codegen")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-crates-index-0.19
(package
(name "rust-crates-index")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 066/147] gnu: Add rust-cranelift-isle-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
b486543628a5bf5c2da023a43aaaf27524272168.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-isle-0.105): New variable.

Change-Id: I3369def5b3bf2811c7f1a94a93f2b2df3f459da6
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 215085ffce..65020da8fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15000,6 +15000,33 @@ (define-public rust-cranelift-control-0.105
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-cranelift-isle-0.105
+ (package
+ (name "rust-cranelift-isle")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-isle" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pab231qwp1f98szgs4qxqz6xzmcyh6szmcx1v41abvqsp56r9pl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
+ ("rust-log" ,rust-log-0.4))))
+ (home-page
+ "https://github.com/bytecodealliance/wasmtime/tree/main/cranelift/isle")
+ (synopsis
+ "ISLE: Instruction Selection and Lowering Expressions. A domain-specific language for instruction selection in Cranelift.")
+ (description
+ "ISLE: Instruction Selection and Lowering Expressions. A domain-specific
+language for instruction selection in Cranelift.")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-crates-index-0.19
(package
(name "rust-crates-index")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 067/147] gnu: Add rust-cranelift-frontend-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
28c97288280d2de6bf8845bff3f4518db8532f84.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-frontend-0.105): New
variable.

Change-Id: I2b6f279c1f5d8c0e21b30554900ad83c75cda106
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 65020da8fb..659fbffce5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15000,6 +15000,32 @@ (define-public rust-cranelift-control-0.105
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-cranelift-frontend-0.105
+ (package
+ (name "rust-cranelift-frontend")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-frontend" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0s4blnryr1idk0k1bmbkgn8ai0qadf753xw4fwj7wydgyl9fg5lp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cranelift-codegen" ,rust-cranelift-codegen-0.105)
+ ("rust-hashbrown" ,rust-hashbrown-0.14)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Cranelift @acronym{IR, Intermediate Representation} builder")
+ (description "This package provides a librayr to construct a function
+in the Cranelift @acronym{IR, Intermediate Representation}.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-cranelift-isle-0.105
(package
(name "rust-cranelift-isle")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 068/147] gnu: Add rust-cranelift-native-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
d85049ceceb38a4ee3d9f8607f8799f5d3d3e533.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-native-0.105): New
variable.

Change-Id: I11bb54b2646e54a2207269beac39054fd648d39e
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 659fbffce5..8354b99d0c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15053,6 +15053,30 @@ (define-public rust-cranelift-isle-0.105
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-cranelift-native-0.105
+ (package
+ (name "rust-cranelift-native")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-native" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ssqvky33g7ms8l752pqhixjf2ljigv5sa2vfzcxwycv3pgq0pi8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cranelift-codegen" ,rust-cranelift-codegen-0.105)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Autodetect Cranelift host target")
+ (description "This package provides a library to autodetect the host
+target for use with Cranelift.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-crates-index-0.19
(package
(name "rust-crates-index")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 069/147] gnu: Add rust-cranelift-wasm-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
b6a458e13124e19a5ffb883f3a4527da7feac52c.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-wasm-0.105): New variable.

Change-Id: I64cd23aac81292c90b9c538208f4e059a08e7d2c
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8354b99d0c..c0d0a65e8c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15077,6 +15077,38 @@ (define-public rust-cranelift-native-0.105
target for use with Cranelift.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-cranelift-wasm-0.105
+ (package
+ (name "rust-cranelift-wasm")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-wasm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mzp9v8cxq1v2njqpvya5iam6ng15yg6w691i27sl5px06mv0da1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cranelift-codegen" ,rust-cranelift-codegen-0.105)
+ ("rust-cranelift-entity" ,rust-cranelift-entity-0.105)
+ ("rust-cranelift-frontend" ,rust-cranelift-frontend-0.105)
+ ("rust-hashbrown" ,rust-hashbrown-0.14)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-wasmparser" ,rust-wasmparser-0.121)
+ ("rust-wasmtime-types" ,rust-wasmtime-types-18))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Translator from WebAssembly to Cranelift")
+ (description "This package provides a library to translate from
+WebAssembly to Cranelift @acronym{IR, Intermediate Representation}.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-crates-index-0.19
(package
(name "rust-crates-index")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 070/147] gnu: Add rust-cranelift-codegen-0.105.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
3357b6e6584dbef8cebacbd4b9e9047619d52549.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cranelift-codegen-0.105): New
variable.

Change-Id: Ic6145be1ab7df89e4222fc2b131039746f20222c
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c0d0a65e8c..c21428054d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14936,6 +14936,47 @@ (define-public rust-cranelift-bforest-0.105
;; With LLVM exception.
(license license:asl2.0)))
+(define-public rust-cranelift-codegen-0.105
+ (package
+ (name "rust-cranelift-codegen")
+ (version "0.105.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cranelift-codegen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15dxcljx0vbkzxwq76h43wsmkg3m2dzkzrf35a1nwl27i8rs8h7g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bincode" ,rust-bincode-1)
+ ("rust-bumpalo" ,rust-bumpalo-3)
+ ("rust-capstone" ,rust-capstone-0.9)
+ ("rust-cranelift-bforest" ,rust-cranelift-bforest-0.105)
+ ("rust-cranelift-codegen-meta" ,rust-cranelift-codegen-meta-0.105)
+ ("rust-cranelift-codegen-shared" ,rust-cranelift-codegen-shared-0.105)
+ ("rust-cranelift-control" ,rust-cranelift-control-0.105)
+ ("rust-cranelift-entity" ,rust-cranelift-entity-0.105)
+ ("rust-cranelift-isle" ,rust-cranelift-isle-0.105)
+ ("rust-gimli" ,rust-gimli-0.28)
+ ("rust-hashbrown" ,rust-hashbrown-0.14)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-regalloc2" ,rust-regalloc2-0.9)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-souper-ir" ,rust-souper-ir-2)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Low-level code generator library")
+ (description "Low-level code generator library")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-cranelift-codegen-meta-0.105
(package
(name "rust-cranelift-codegen-meta")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 072/147] gnu: Add rust-ruzstd-0.5.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
dcc7d1b5f68b744cfc3b39909a97d54952cac3f3.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-ruzstd-0.5): New variable.
(rust-ruzstd-0.4): Inherit from rust-ruzstd-0.5.

Change-Id: I99765f3166883c07f04f304cd0a90f56f1d476d2
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)

Toggle diff (74 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f3ffddca6c..9e5882bdba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58728,17 +58728,17 @@ (define-public rust-rustyline-derive-0.3
(("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
-(define-public rust-ruzstd-0.4
+(define-public rust-ruzstd-0.5
(package
(name "rust-ruzstd")
- (version "0.4.0")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ruzstd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1p4ghqzkq36dy1x1ijnk7jmml4wi3v9bkfzlbm2hsnkiz6wglgxc"))))
+ (base32 "0ga8jciw7ka3mxrzl39skmsbdslajghzglcil10g0z4rh65fpi2q"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
@@ -58754,7 +58754,7 @@ (define-public rust-ruzstd-0.4
"--skip=tests::test_specific_file"
"--skip=tests::test_streaming")
#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
- ("rust-thiserror-core" ,rust-thiserror-core-1)
+ ("rust-derive-more" ,rust-derive-more-0.99)
("rust-twox-hash" ,rust-twox-hash-1))
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
("rust-rand" ,rust-rand-0.8))))
@@ -58764,6 +58764,37 @@ (define-public rust-ruzstd-0.4
"This package provides a decoder for the zstd compression format.")
(license license:expat)))
+(define-public rust-ruzstd-0.4
+ (package
+ (inherit rust-ruzstd-0.5)
+ (name "rust-ruzstd")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ruzstd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p4ghqzkq36dy1x1ijnk7jmml4wi3v9bkfzlbm2hsnkiz6wglgxc"))))
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ ;; not all files included
+ "--skip=tests::decode_corpus::test_decode_corpus_files"
+ "--skip=tests::dict_test::test_dict_decoding"
+ "--skip=tests::fuzz_regressions::test_all_artifacts"
+ "--skip=tests::test_block_header_reading"
+ "--skip=tests::test_decode_from_to"
+ "--skip=tests::test_frame_decoder"
+ "--skip=tests::test_frame_header_reading"
+ "--skip=tests::test_specific_file"
+ "--skip=tests::test_streaming")
+ #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-thiserror-core" ,rust-thiserror-core-1)
+ ("rust-twox-hash" ,rust-twox-hash-1))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-rand" ,rust-rand-0.8))))))
+
(define-public rust-rkyv-0.7
(package
(name "rust-rkyv")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 071/147] gnu: Add rust-memfd-0.6.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
8caf2cf9132eb6dd6a423c4c8207185f9631a043.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-memfd-0.6): New variable.

Change-Id: I680d35a1ae6eaeece649f36884ab4790fb1620d5
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c21428054d..f3ffddca6c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37641,6 +37641,27 @@ (define-public rust-memchr-1
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.4))))))
+(define-public rust-memfd-0.6
+ (package
+ (name "rust-memfd")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "memfd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r5cm3wzyr1x7768h3hns77b494qbz0g05cb9wgpjvrcsm5gmkxj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-rustix" ,rust-rustix-0.38))))
+ (home-page "https://github.com/lucab/memfd-rs")
+ (synopsis "A pure-Rust library to work with Linux memfd and sealing")
+ (description
+ "This package provides a pure-Rust library to work with Linux memfd and sealing")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-memchr-0.1
(package
(inherit rust-memchr-1)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 073/147] gnu: Add rust-object-0.32.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
c9f44a26a219348f784d9f2f45d80a88aa0d683d.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-object-0.32): New variable.
(rust-object-0.30): Inherit from rust-object-0.32.

Change-Id: I2bdc8a12f1cadda18194382a8528f277bec68061
---
gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++--------
1 file changed, 34 insertions(+), 8 deletions(-)

Toggle diff (71 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9e5882bdba..266db6f68b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43779,8 +43779,41 @@ (define-public rust-obj-0.9
"This package provides a package for loading Wavefront @code{.obj} files.")
(license license:asl2.0)))
+(define-public rust-object-0.32
+ (package
+ (name "rust-object")
+ (version "0.32.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "object" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hc4cjwyngiy6k51hlzrlsxgv5z25vv7c2cp0ky1lckfic0259m6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-hashbrown" ,rust-hashbrown-0.14)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-ruzstd" ,rust-ruzstd-0.5)
+ ("rust-wasmparser" ,rust-wasmparser-0.118))))
+ (home-page "https://github.com/gimli-rs/object")
+ (synopsis "Unified interface for reading and writing object file formats")
+ (description
+ "This package provides a unified interface for reading and writing object
+file formats.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-object-0.30
(package
+ (inherit rust-object-0.32)
(name "rust-object")
(version "0.30.3")
(source (origin
@@ -43790,7 +43823,6 @@ (define-public rust-object-0.30
(sha256
(base32
"0fdl7qjsz1j9kl3j7f4656fswzrqpyj2kgaizhknmjrx7mfjd1pa"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -43805,13 +43837,7 @@ (define-public rust-object-0.30
("rust-memchr" ,rust-memchr-2)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
- ("rust-wasmparser" ,rust-wasmparser-0.57))))
- (home-page "https://github.com/gimli-rs/object")
- (synopsis "Unified interface for reading and writing object file formats")
- (description
- "This package provides a unified interface for reading and writing object
-file formats.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-wasmparser" ,rust-wasmparser-0.57))))))
(define-public rust-object-0.29
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 074/147] gnu: Add rust-wasmprinter-0.2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
3d2fe7f1a29f16394be94c1b36e3fe2a0e9529d0.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmprinter-0.2): New variable.

Change-Id: I3f3004199f299c2a098eeecb3a920a27de24ba26
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 266db6f68b..bb9f658c6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78499,6 +78499,27 @@ (define-public rust-wasmparser-0.57
(base32 "19kslk9pv1bcyp85w63dn1adbp13kz7kjha80abnwz27bmbxvz9j"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-wasmprinter-0.2
+ (package
+ (name "rust-wasmprinter")
+ (version "0.2.80")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmprinter" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dw8559vdz6g8864rg4ggi88cm0kf7mygyavgkdzxzdpls33krv0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-wasmparser" ,rust-wasmparser-0.121))))
+ (home-page "https://github.com/bytecodealliance/wasm-tools")
+ (synopsis "Convert from WebAssembly binary to text format")
+ (description "This package provides a library to convert from the
+WebAssembly binary format to the text format.")
+ (license license:asl2.0))) ;; With the LLVM exception.
(define-public rust-wast-201
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 075/147] gnu: Add rust-wasmtime-component-util-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
efc84ef035b82e9c3d0453c4aae5ecb22b8e5b25.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-component-util-18): New
variable.

Change-Id: I361b38cfb2a5d08549a2d4fea0d7f51b50386984
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bb9f658c6b..92230a1dbc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78521,6 +78521,26 @@ (define-public rust-wasmprinter-0.2
WebAssembly binary format to the text format.")
(license license:asl2.0))) ;; With the LLVM exception.
+(define-public rust-wasmtime-component-util-18
+ (package
+ (name "rust-wasmtime-component-util")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-component-util" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xr7ypmva710b4yrply4g84262hj431kpa0djnry0zh2k3nf5sl1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Support code for the WebAssembly component model in Wasmtime")
+ (description "This package provides a library with utility types and
+functions to support the component model in Wasmtime.")
+ (license license:asl2.0))) ;; With the LLVM exception.
+
(define-public rust-wast-201
(package
(name "rust-wast")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 076/147] gnu: Add rust-wasmtime-types-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
550c1c523a3c40e7e9913ba5e4a4527ff909e601.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-types-18): New variable.

Change-Id: I5c32b91bf73d0a42bf0d35aa18320bb5f144554c
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 92230a1dbc..a01c699bc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78541,6 +78541,31 @@ (define-public rust-wasmtime-component-util-18
functions to support the component model in Wasmtime.")
(license license:asl2.0))) ;; With the LLVM exception.
+(define-public rust-wasmtime-types-18
+ (package
+ (name "rust-wasmtime-types")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-types" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02if112fdf6ap6vnvglbi23crzbp0ixzjsrgrdpy1gi7v35pf8zk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cranelift-entity" ,rust-cranelift-entity-0.105)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-wasmparser" ,rust-wasmparser-0.121))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "WebAssembly type definitions for Cranelift")
+ (description "This package provides a library with WebAssembly type
+definitions for Cranelift.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wast-201
(package
(name "rust-wast")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 077/147] gnu: Add rust-wasmtime-environ-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
77d4774e26a5ae177d0f11a9fb1e0cfbef5e44d8.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-environ-18): New variable.

Change-Id: I903d0d11c74e17fd6a92a2b617bbc5241e38045b
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)

Toggle diff (52 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a01c699bc1..e666c2446a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78541,6 +78541,45 @@ (define-public rust-wasmtime-component-util-18
functions to support the component model in Wasmtime.")
(license license:asl2.0))) ;; With the LLVM exception.
+(define-public rust-wasmtime-environ-18
+ (package
+ (name "rust-wasmtime-environ")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-environ" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "012a0yzxrgz65xc9sxg590byimw9r5ghmafqa0ai8n2k008day9j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bincode" ,rust-bincode-1)
+ ("rust-cpp-demangle" ,rust-cpp-demangle-0.3)
+ ("rust-cranelift-entity" ,rust-cranelift-entity-0.105)
+ ("rust-gimli" ,rust-gimli-0.28)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-object" ,rust-object-0.32)
+ ("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-wasm-encoder" ,rust-wasm-encoder-0.41)
+ ("rust-wasmparser" ,rust-wasmparser-0.121)
+ ("rust-wasmprinter" ,rust-wasmprinter-0.2)
+ ("rust-wasmtime-component-util" ,rust-wasmtime-component-util-18)
+ ("rust-wasmtime-types" ,rust-wasmtime-types-18))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "WebAsssembly environment support code in Cranelift")
+ (description "This package provides a library used in Cranelift to manage
+WebAssembly environment.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-types-18
(package
(name "rust-wasmtime-types")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 078/147] gnu: Add rust-winch-codegen-0.16.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
4d57b143ec309813df8a87b086621625dc5f5a80.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-winch-codegen-0.16): New variable.

Change-Id: I9da132e13d915a00c4014df9b5edd0448911aeea
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e666c2446a..a4bb79b03f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79226,6 +79226,36 @@ (define-public rust-wild-2
command-line, uniformly on all platforms")
(license (list license:asl2.0 license:expat))))
+(define-public rust-winch-codegen-0.16
+ (package
+ (name "rust-winch-codegen")
+ (version "0.16.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winch-codegen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wf3p4yfv5yl5fjn9rs29lqnzsq110gcxl3mshjrbmn8rbbd82qy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cranelift-codegen" ,rust-cranelift-codegen-0.105)
+ ("rust-gimli" ,rust-gimli-0.28)
+ ("rust-regalloc2" ,rust-regalloc2-0.9)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12)
+ ("rust-wasmparser" ,rust-wasmparser-0.121)
+ ("rust-wasmtime-environ" ,rust-wasmtime-environ-18))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Code generation library")
+ (description "This package provides Winch, a code generation library
+used by the Wasmtime WebAssmebly runtime.")
+ ;; With LLVM exception.
+ (license license:asl2.0)))
+
(define-public rust-winnow-0.6
(package
(name "rust-winnow")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 079/147] gnu: Add rust-addr2line-0.21.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
05f3be96f0f8fe65b9551d37c3fb2d7b3ed1dfa5.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-addr2line-0.21): New variable.
(rust-addr2line-0.19): Inherit from rust-addr2line-0.21.

Change-Id: I654868196635ab06e42483224d3f05c189c611f5
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++--------
1 file changed, 33 insertions(+), 8 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a4bb79b03f..99ff1c153c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -449,8 +449,40 @@ (define-public rust-adblock-0.5
("rust-sha2" ,rust-sha2-0.9)
("rust-tokio" ,rust-tokio-1))))))
+(define-public rust-addr2line-0.21
+ (package
+ (name "rust-addr2line")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "addr2line" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jx0k3iwyqr8klqbzk6kjvr496yd94aspis10vwsj5wy7gib4c4a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-cpp-demangle" ,rust-cpp-demangle-0.4)
+ ("rust-fallible-iterator" ,rust-fallible-iterator-0.3)
+ ("rust-gimli" ,rust-gimli-0.28)
+ ("rust-memmap2" ,rust-memmap2-0.5)
+ ("rust-object" ,rust-object-0.32)
+ ("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-smallvec" ,rust-smallvec-1))))
+ (home-page "https://github.com/gimli-rs/addr2line")
+ (synopsis "Symbolication library written in Rust, using gimli")
+ (description
+ "This package provides a cross-platform symbolication library written in
+Rust, using gimli.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-addr2line-0.19
(package
+ (inherit rust-addr2line-0.21)
(name "rust-addr2line")
(version "0.19.0")
(source (origin
@@ -460,7 +492,6 @@ (define-public rust-addr2line-0.19
(sha256
(base32
"15ywmr5wx22q69ffnn79qp65ir5p1x0k2q06plcpv6v74c5xcvx7"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; use of undeclared crate or module `auxiliary`
#:cargo-inputs
@@ -479,13 +510,7 @@ (define-public rust-addr2line-0.19
("rust-findshlibs" ,rust-findshlibs-0.10)
("rust-memmap2" ,rust-memmap2-0.5)
("rust-rustc-test" ,rust-rustc-test-0.3)
- ("rust-typed-arena" ,rust-typed-arena-2))))
- (home-page "https://github.com/gimli-rs/addr2line")
- (synopsis "Symbolication library written in Rust, using gimli")
- (description
- "This package provides a cross-platform symbolication library written in
-Rust, using gimli.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-typed-arena" ,rust-typed-arena-2))))))
(define-public rust-addchain-0.2
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 080/147] gnu: Add rust-fxprof-processed-profile-0.6.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
c303558f703c695f3ad0db2819e9abfb3fe378f6.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-fxprof-processed-profile-0.6): New
variable.

Change-Id: Ic227680fdb09d6e015d221dbd4c70f59e815fd1d
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 99ff1c153c..5639de54e9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26458,6 +26458,31 @@ (define-public rust-fxhash-0.2
derived from an internal hasher used in FireFox and Rustc.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-fxprof-processed-profile-0.6
+ (package
+ (name "rust-fxprof-processed-profile")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fxprof-processed-profile" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ggsn3im2bfcnxic0jzk00qgiacfrg2as6i4d8kj87kzxl52rl97"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-debugid" ,rust-debugid-0.8)
+ ("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/mstange/samply/")
+ (synopsis "Create profiles in the Firefox Profiler's processed format")
+ (description "This package provides a library to create profiles in the
+Firefox Profiler's processed profile JSON format.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gag-0.1
(package
(name "rust-gag")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 082/147] gnu: Add rust-wit-parser-0.13.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
750e2f9aef90310e8c5099721d60777270559f50.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wit-parser-0.13): New variable.

Change-Id: I43403ff6c9c181cd4eaafd86e0afbfa0144b7c69
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dd3cc7fc67..8c356f8b76 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79404,6 +79404,35 @@ (define-public rust-winnow-0.4
("rust-memchr" ,rust-memchr-2)
("rust-terminal-size" ,rust-terminal-size-0.2))))))
+(define-public rust-wit-parser-0.13
+ (package
+ (name "rust-wit-parser")
+ (version "0.13.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wit-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "022yfbn0sldlglxsf4wcdw9xyifh50vvqf9wn2j5lpq0y2lkcsri"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-id-arena" ,rust-id-arena-2)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
+ (home-page "https://github.com/bytecodealliance/wasm-tools")
+ (synopsis "Parse @acronym{WIT, WebAssembly Interface Type} files")
+ (description "This package provides a library to parser and work with
+@acronym{WIT, WebAssembly Interface Type}.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wycheproof-0.5
(package
(name "rust-wycheproof")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 081/147] gnu: Add rust-wasmtime-cache-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
39860736f964c7904dec191b45534bcfa0274c55.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-cache-18): New variable.

Change-Id: I0a373935c9cd3734c11e7ee9be992c962ec0bb12
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)

Toggle diff (55 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5639de54e9..dd3cc7fc67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78571,6 +78571,38 @@ (define-public rust-wasmprinter-0.2
WebAssembly binary format to the text format.")
(license license:asl2.0))) ;; With the LLVM exception.
+(define-public rust-wasmtime-cache-18
+ (package
+ (name "rust-wasmtime-cache")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-cache" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pgbnc5xmi3sar6plw250i97xy3k0kyqm8gfnczxaa6pf5520j9j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-bincode" ,rust-bincode-1)
+ ("rust-directories-next" ,rust-directories-next-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-windows-sys" ,rust-windows-sys-0.52)
+ ("rust-zstd" ,rust-zstd-0.11))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Automatic module caching with Wasmtime")
+ (description "This package provides a library for Wasmtime to
+automatically add modules to cache.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-component-util-18
(package
(name "rust-wasmtime-component-util")
@@ -78679,8 +78711,7 @@ (define-public rust-wast-201
(synopsis "Parsers for the WebAssembly Text formats WAT and WAST")
(description "This package provides a library with customizable parsers
for the WebAssembly Text formats WAT and WAST.")
- ;; With LLVM exception.
- (license license:asl2.0)))
+ (license license:asl2.0))) ;; With LLVM exception.
(define-public rust-wast-35
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 084/147] gnu: Add rust-wasmtime-component-macro-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
526a1e729267d26155667a08e0df402417338e33.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-component-macro-18): New
variable.

Change-Id: I1f4ec6c5023b198e518d82a0a90f255d04094ba0
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3bbfef0db0..c62d6fb6b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78623,6 +78623,34 @@ (define-public rust-wasmtime-component-util-18
functions to support the component model in Wasmtime.")
(license license:asl2.0))) ;; With the LLVM exception.
+(define-public rust-wasmtime-component-macro-18
+ (package
+ (name "rust-wasmtime-component-macro")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-component-macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xp3pmlzlk137h7y6dldnpjbcv7hk5if9h2jk1nfqr8mag08cdvx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-wasmtime-component-util" ,rust-wasmtime-component-util-18)
+ ("rust-wasmtime-wit-bindgen" ,rust-wasmtime-wit-bindgen-18)
+ ("rust-wit-parser" ,rust-wit-parser-0.13))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Generate WebAssembly component interface")
+ (description "This package provides a library with procedural macros to
+generate WebAssembly component interface types from Rust types.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-environ-18
(package
(name "rust-wasmtime-environ")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 083/147] gnu: Add rust-wasmtime-wit-bindgen-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
eeeaf24cbbf1fd85752903db40fd42fd84fe8e7e.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-wit-bindgen-18): New
variable.

Change-Id: Ide5ecb9786d00faec886367b41acc8f0270a84de
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8c356f8b76..3bbfef0db0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78687,6 +78687,30 @@ (define-public rust-wasmtime-types-18
definitions for Cranelift.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-wit-bindgen-18
+ (package
+ (name "rust-wasmtime-wit-bindgen")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-wit-bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14lbk00251ix1kk5pdky8131ai5l3vhz1xk94s00fzm2h5kwgwps"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-heck" ,rust-heck-0.4)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-wit-parser" ,rust-wit-parser-0.13))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "@acronym{WIT, WebAssembly Interface Type} support for wasmtime")
+ (description "This package provides an internal library of wasmtime to support
+ @acronym{WIT, WebAssembly Interface Type} files.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wast-201
(package
(name "rust-wast")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 085/147] gnu: Add rust-wasmtime-cranelift-shared-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
9dfec84b81642eb4a75468665ec90e0f90d28fba.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-cranelift-shared-18): New
variable.

Change-Id: I6334cfe1d11275e69aaa9fe126a9c04ebd2f3b81
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c62d6fb6b4..d097776c5c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78651,6 +78651,35 @@ (define-public rust-wasmtime-component-macro-18
generate WebAssembly component interface types from Rust types.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-cranelift-shared-18
+ (package
+ (name "rust-wasmtime-cranelift-shared")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-cranelift-shared" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0khk00q3b1hg4pwp5g06njqfgjyi3x3pdgifv29bjrx1vqglrhp8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cranelift-codegen" ,rust-cranelift-codegen-0.105)
+ ("rust-cranelift-control" ,rust-cranelift-control-0.105)
+ ("rust-cranelift-native" ,rust-cranelift-native-0.105)
+ ("rust-gimli" ,rust-gimli-0.28)
+ ("rust-object" ,rust-object-0.32)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12)
+ ("rust-wasmtime-environ" ,rust-wasmtime-environ-18))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Internal library integrating Wasmtime and Cranelift")
+ (description "This package provieds an internal library for
+Wasmtime to integrate the Cranelift code generation back-end.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-environ-18
(package
(name "rust-wasmtime-environ")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 086/147] gnu: Add rust-wasmtime-versioned-export-macros-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
a3076827f29c56a12b96a8303dba06663984fc63.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-versioned-export-macros-18):
New variable.

Change-Id: If285c3297f5b15d4e4e15ec22a01d9315c2c2eba
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d097776c5c..956e7c685b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78744,6 +78744,29 @@ (define-public rust-wasmtime-types-18
definitions for Cranelift.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-versioned-export-macros-18
+ (package
+ (name "rust-wasmtime-versioned-export-macros")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-versioned-export-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18a7zihkrrz9cwxrpbdbiqp5ils0bq6cjjhxrzw44v10dmbdgf2a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Macros for defining versioned exports in Wasmtime")
+ (description "This package provides macros for defining versioned
+exports in Wasmtime.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-wit-bindgen-18
(package
(name "rust-wasmtime-wit-bindgen")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 087/147] gnu: Add rust-wasmtime-cranelift-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
937bac02b21209bfc978dc428684c5f5fd28a566.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-cranelift-18): New variable.

Change-Id: I85f0e6138b9667f004b6d5a51bb2afa0ff8aac08
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)

Toggle diff (51 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 956e7c685b..fec92f2aac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78651,6 +78651,44 @@ (define-public rust-wasmtime-component-macro-18
generate WebAssembly component interface types from Rust types.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-cranelift-18
+ (package
+ (name "rust-wasmtime-cranelift")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-cranelift" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1d7z97ngkgr05iiy1hx758wj4h5asm38s7gjn0m83p5ccyqbsnjr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cranelift-codegen" ,rust-cranelift-codegen-0.105)
+ ("rust-cranelift-control" ,rust-cranelift-control-0.105)
+ ("rust-cranelift-entity" ,rust-cranelift-entity-0.105)
+ ("rust-cranelift-frontend" ,rust-cranelift-frontend-0.105)
+ ("rust-cranelift-native" ,rust-cranelift-native-0.105)
+ ("rust-cranelift-wasm" ,rust-cranelift-wasm-0.105)
+ ("rust-gimli" ,rust-gimli-0.28)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-object" ,rust-object-0.32)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-wasmparser" ,rust-wasmparser-0.121)
+ ("rust-wasmtime-cranelift-shared" ,rust-wasmtime-cranelift-shared-18)
+ ("rust-wasmtime-environ" ,rust-wasmtime-environ-18)
+ ("rust-wasmtime-versioned-export-macros" ,rust-wasmtime-versioned-export-macros-18))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Integration between Cranelift and Wasmtime")
+ (description "This package provides a library integrating Cranelift
+and Wasmtime.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-cranelift-shared-18
(package
(name "rust-wasmtime-cranelift-shared")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 088/147] gnu: Add rust-wasmtime-asm-macros-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
f9b3ebbf752571dbbf4da729009fbec4af096a81.1712070307.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-asm-macros-18): New
variable.

Change-Id: Ie6a90b6efb616ce7934344279cd56a068713e6ff
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fec92f2aac..49e9732a33 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78571,6 +78571,27 @@ (define-public rust-wasmprinter-0.2
WebAssembly binary format to the text format.")
(license license:asl2.0))) ;; With the LLVM exception.
+(define-public rust-wasmtime-asm-macros-18
+ (package
+ (name "rust-wasmtime-asm-macros")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-asm-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13zffpi0bx1hafy7bbcm3jfm3hs6yjvn83ivxqscw6lmx8ng031v"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Define asssembly functions in Wasmtime")
+ (description "This package provides macros for defining assembly
+functions in Wasmtime.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-cache-18
(package
(name "rust-wasmtime-cache")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 090/147] gnu: Add rust-wasmtime-jit-debug-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
f680f55f9626aff2ef6481f3f0a882713d74422b.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-jit-debug-18): New variable.

Change-Id: I297095ba31c720231c6e6e1df7986ce7a1431289
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 139d6ae8b0..ad8dd0b84b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78806,6 +78806,31 @@ (define-public rust-wasmtime-fiber-18
(description "Fiber support for Wasmtime")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-jit-debug-18
+ (package
+ (name "rust-wasmtime-jit-debug")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-jit-debug" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08dkygs0mnyf9cwc9ck8bmnxmg4nzw85kd6j1idnwwvhjdrhgwv3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-object" ,rust-object-0.32)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-wasmtime-versioned-export-macros"
+ ,rust-wasmtime-versioned-export-macros-18))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "JIT debug interfaces support for Wasmtime")
+ (description "JIT debug interfaces support for Wasmtime")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-types-18
(package
(name "rust-wasmtime-types")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 089/147] gnu: Add rust-wasmtime-fiber-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
367deabd24a580ff118422b6878f34717cb47ce1.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-fiber-18): New variable.

Change-Id: I2e2e16bb1429ba6394c793a134f4bad549fa7332
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 49e9732a33..139d6ae8b0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78778,6 +78778,34 @@ (define-public rust-wasmtime-environ-18
WebAssembly environment.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-fiber-18
+ (package
+ (name "rust-wasmtime-fiber")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-fiber" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0c9cv409vm5fky5v3i62420v2s1hv6q66mjz4v8l2xqiy9jzc7cv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-wasmtime-asm-macros" ,rust-wasmtime-asm-macros-18)
+ ("rust-wasmtime-versioned-export-macros"
+ ,rust-wasmtime-versioned-export-macros-18)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Fiber support for Wasmtime")
+ (description "Fiber support for Wasmtime")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-types-18
(package
(name "rust-wasmtime-types")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 091/147] gnu: Add rust-wasmtime-jit-icache-coherence-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
484c56ac2c45135c319c8ba7ed70f28b1a33cc8c.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-jit-icache-coherence-18):
New variable.

Change-Id: I6c5a2b409175b94a0f4b957d2edf26a06bed430d
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad8dd0b84b..00c8731b18 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78831,6 +78831,29 @@ (define-public rust-wasmtime-jit-debug-18
(description "JIT debug interfaces support for Wasmtime")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-jit-icache-coherence-18
+ (package
+ (name "rust-wasmtime-jit-icache-coherence")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-jit-icache-coherence" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wvd5sf79cshgrf45z7r94c2xmvh6sm58sr268mn7d49a1h38rl6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "JIT instruction cache maintenance")
+ (description "This package provides a library with utilities for JIT
+instruction cache maintenance")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-types-18
(package
(name "rust-wasmtime-types")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 092/147] gnu: Add rust-wasmtime-wmemcheck-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
a438bfb4f6a1ce81391f4c8bfb82e50e92727d68.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-wmemcheck-18): New variable.

Change-Id: I9b259b5f7ede96c39ca859bee5c74c07bc90f1e5
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 00c8731b18..2cd6669569 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78926,6 +78926,27 @@ (define-public rust-wasmtime-wit-bindgen-18
@acronym{WIT, WebAssembly Interface Type} files.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-wmemcheck-18
+ (package
+ (name "rust-wasmtime-wmemcheck")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-wmemcheck" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bsg5iadgk1gpqbwk6swih5z181j4kjq35gq7798qfr0pmlxjirq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "WebAssembyl memory checking for Wasmtime")
+ (description "This package provides wmemcheck a memory checker for
+Wasmtime with the ability to check for invalid @code{malloc} calls, reads and
+writes inside a WebAssembly module.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wast-201
(package
(name "rust-wast")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 093/147] gnu: Add rust-wasmtime-winch-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
65549918563da9a5dfdda4de81c14c296dde4252.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-winch-18): New variable.

Change-Id: Id526a409cbe5db5c989fa76c6b7dbd7ae932c39c
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2cd6669569..d69ae73b95 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78902,6 +78902,36 @@ (define-public rust-wasmtime-versioned-export-macros-18
exports in Wasmtime.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-winch-18
+ (package
+ (name "rust-wasmtime-winch")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-winch" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jilhha1qhqwqz4z7m844yc97a3jyhbfnxggkivd2hf2rjzrfnms"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cranelift-codegen" ,rust-cranelift-codegen-0.105)
+ ("rust-gimli" ,rust-gimli-0.28)
+ ("rust-object" ,rust-object-0.32)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12)
+ ("rust-wasmparser" ,rust-wasmparser-0.121)
+ ("rust-wasmtime-cranelift-shared" ,rust-wasmtime-cranelift-shared-18)
+ ("rust-wasmtime-environ" ,rust-wasmtime-environ-18)
+ ("rust-winch-codegen" ,rust-winch-codegen-0.16))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Integration between Wasmtime and Winch")
+ (description "This package provides an internal crate for Wasmtime integrating
+the Winch code generation back-end.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-wit-bindgen-18
(package
(name "rust-wasmtime-wit-bindgen")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 094/147] gnu: Add rust-wasmtime-runtime-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
fd7f0448f0bced6552fd5f2ca863c2906b16900c.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-runtime-18): New variable.

Change-Id: I8d9e508a4d055e7ed0603c2a31de091cf1ea06ed
---
gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d69ae73b95..9724c4bd07 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78854,6 +78854,49 @@ (define-public rust-wasmtime-jit-icache-coherence-18
instruction cache maintenance")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-runtime-18
+ (package
+ (name "rust-wasmtime-runtime")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-runtime" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zw6fkx32vn3201ppcywk35gknxsnkwlzbpm5399bxddik48a4g1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-memfd" ,rust-memfd-0.6)
+ ("rust-memoffset" ,rust-memoffset-0.9)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-psm" ,rust-psm-0.1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-sptr" ,rust-sptr-0.3)
+ ("rust-wasm-encoder" ,rust-wasm-encoder-0.41)
+ ("rust-wasmtime-asm-macros" ,rust-wasmtime-asm-macros-18)
+ ("rust-wasmtime-environ" ,rust-wasmtime-environ-18)
+ ("rust-wasmtime-fiber" ,rust-wasmtime-fiber-18)
+ ("rust-wasmtime-jit-debug" ,rust-wasmtime-jit-debug-18)
+ ("rust-wasmtime-versioned-export-macros"
+ ,rust-wasmtime-versioned-export-macros-18)
+ ("rust-wasmtime-wmemcheck" ,rust-wasmtime-wmemcheck-18)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Runtime library support for Wasmtime")
+ (description "This package provides the Wasmtime Runtime library.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-types-18
(package
(name "rust-wasmtime-types")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 095/147] gnu: Add rust-wasmtime-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
0627c13a59a7369a23f0d25db92411d6560e33e7.1712070308.git.jean@foundation.xyz
* gnu/packages/patches/rust-wasmtime-18-remove-ittapi.patch: New patch.
* gnu/packages/crates-io.scm (rust-wasmtime-18): New variable.
* gnu/local.mk (dist_patch_DATA): Add rust-wasmtime-18-remove-ittapi.patch.

Change-Id: I359b25ceebdd2abf8b6589c1f715a7fdc5981c39
---
gnu/local.mk | 1 +
gnu/packages/crates-io.scm | 59 +++++++++++++++++++
.../rust-wasmtime-18-remove-ittapi.patch | 46 +++++++++++++++
3 files changed, 106 insertions(+)
create mode 100644 gnu/packages/patches/rust-wasmtime-18-remove-ittapi.patch

Toggle diff (136 lines)
diff --git a/gnu/local.mk b/gnu/local.mk
index f2b480bded..dd505b0654 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2024,6 +2024,7 @@ dist_patch_DATA = \
%D%/packages/patches/rust-nettle-disable-vendor.patch \
%D%/packages/patches/rust-rspec-1-remove-clippy.patch \
%D%/packages/patches/rust-trash-2-update-windows.patch \
+ %D%/packages/patches/rust-wasmtime-18-remove-ittapi.patch \
%D%/packages/patches/rust-webbrowser-remove-unsupported-os.patch \
%D%/packages/patches/rust-wl-clipboard-rs-newer-wl.patch \
%D%/packages/patches/rw-igraph-0.10.patch \
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9724c4bd07..5cd8e0cd38 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78571,6 +78571,65 @@ (define-public rust-wasmprinter-0.2
WebAssembly binary format to the text format.")
(license license:asl2.0))) ;; With the LLVM exception.
+(define-public rust-wasmtime-18
+ (package
+ (name "rust-wasmtime")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0x4p8kwlix5qdixzvwmspz40yvz40dxwqbg282wvrlb35p9df1l1"))
+ (patches
+ (search-patches "rust-wasmtime-18-remove-ittapi.patch"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; use of undeclared crate or module `wasi_common`.
+ #:cargo-inputs
+ (("rust-addr2line" ,rust-addr2line-0.21)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-bincode" ,rust-bincode-1)
+ ("rust-bumpalo" ,rust-bumpalo-3)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-fxprof-processed-profile" ,rust-fxprof-processed-profile-0.6)
+ ("rust-gimli" ,rust-gimli-0.28)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-object" ,rust-object-0.32)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12)
+ ("rust-wasm-encoder" ,rust-wasm-encoder-0.41)
+ ("rust-wasmparser" ,rust-wasmparser-0.121)
+ ("rust-wasmtime-cache" ,rust-wasmtime-cache-18)
+ ("rust-wasmtime-component-macro" ,rust-wasmtime-component-macro-18)
+ ("rust-wasmtime-component-util" ,rust-wasmtime-component-util-18)
+ ("rust-wasmtime-cranelift" ,rust-wasmtime-cranelift-18)
+ ("rust-wasmtime-environ" ,rust-wasmtime-environ-18)
+ ("rust-wasmtime-fiber" ,rust-wasmtime-fiber-18)
+ ("rust-wasmtime-jit-debug" ,rust-wasmtime-jit-debug-18)
+ ("rust-wasmtime-jit-icache-coherence"
+ ,rust-wasmtime-jit-icache-coherence-18)
+ ("rust-wasmtime-runtime" ,rust-wasmtime-runtime-18)
+ ("rust-wasmtime-winch" ,rust-wasmtime-winch-18)
+ ("rust-wat" ,rust-wat-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))
+ #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "High-level API to expose the Wasmtime runtime")
+ (description "High-level API to expose the Wasmtime runtime")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-asm-macros-18
(package
(name "rust-wasmtime-asm-macros")
diff --git a/gnu/packages/patches/rust-wasmtime-18-remove-ittapi.patch b/gnu/packages/patches/rust-wasmtime-18-remove-ittapi.patch
new file mode 100644
index 0000000000..b6371dbb87
--- /dev/null
+++ b/gnu/packages/patches/rust-wasmtime-18-remove-ittapi.patch
@@ -0,0 +1,46 @@
+SPDX-FileCopyrightText: © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
+SPDX-License-Identifier: Apache-2.0
+
+The Intel ITT API is a stub that doesn't provide functionality and requires a
+closed source library in order to work.
+
+This patch removes the need for the dependency and disables the vtune module.
+Index: wasmtime-18.0.3/Cargo.toml
+===================================================================
+--- wasmtime-18.0.3.orig/Cargo.toml
++++ wasmtime-18.0.3/Cargo.toml
+@@ -215,7 +215,6 @@ pooling-allocator = [
+ profiling = [
+ "dep:fxprof-processed-profile",
+ "dep:wasmtime-jit-debug",
+- "dep:ittapi",
+ ]
+ runtime = [
+ "dep:wasmtime-runtime",
+@@ -227,10 +226,6 @@ wmemcheck = [
+ "wasmtime-cranelift?/wmemcheck",
+ ]
+
+-[target."cfg(all(target_arch = \"x86_64\", not(target_os = \"android\")))".dependencies.ittapi]
+-version = "0.4.0"
+-optional = true
+-
+ [target."cfg(target_os = \"linux\")".dependencies.rustix]
+ version = "0.38.21"
+ features = ["thread"]
+Index: wasmtime-18.0.3/src/profiling_agent.rs
+===================================================================
+--- wasmtime-18.0.3.orig/src/profiling_agent.rs
++++ wasmtime-18.0.3/src/profiling_agent.rs
+@@ -31,8 +31,9 @@ cfg_if::cfg_if! {
+ // Note: VTune support is disabled on windows mingw because the ittapi crate doesn't compile
+ // there; see also https://github.com/bytecodealliance/wasmtime/pull/4003 for rationale.
+ if #[cfg(all(feature = "profiling", target_arch = "x86_64", not(any(target_os = "android", all(target_os = "windows", target_env = "gnu")))))] {
+- mod vtune;
+- pub use vtune::new as new_vtune;
++ pub fn new_vtune() -> Result<Box<dyn ProfilingAgent>> {
++ bail!("VTune support disabled at compile time.");
++ }
+ } else {
+ pub fn new_vtune() -> Result<Box<dyn ProfilingAgent>> {
+ if cfg!(feature = "vtune") {
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 096/147] gnu: Add rust-arf-strings-0.7.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
71cd60e0ff9af5ba3d127706e8f0b470fdd5d681.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-arf-strings-0.7): New variable.

Change-Id: Ie7428dbffc3741cbef377f52fc743e857e459b1a
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5cd8e0cd38..ef8894397c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2230,6 +2230,28 @@ (define-public rust-archery-1
the pointer type is parameterizable.")
(license license:mpl2.0)))
+(define-public rust-arf-strings-0.7
+ (package
+ (name "rust-arf-strings")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arf-strings" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ncy11j7bk0ji94yb8nafyr5wvfg90q6vcbzcanpdbgyk4cy9szx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-rustix" ,rust-rustix-0.38))))
+ (home-page "https://github.com/bytecodealliance/arf-strings")
+ (synopsis "ARF encoding and decoding")
+ (description "This package provides a library to encode and decode
+@acronym{ARF, Alternative Representation for Filenames} strings.")
+ ;; With LLVM exception.
+ (license (list license:asl2.0 license:asl2.0 license:expat))))
+
(define-public rust-arg-enum-proc-macro-0.3
(package
(name "rust-arg-enum-proc-macro")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 097/147] gnu: Add rust-ambient-authority-0.0.2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
b398963f19fc8e640d4ce09cc2974bf8e12dff2b.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-ambient-authority-0.0.2): New
variable.

Change-Id: Iaf0e0647d47bb5c8db25d2c93e61649ad9685543
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef8894397c..f5c2d98550 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1298,6 +1298,28 @@ (define-public rust-alto-3
"Rust bindings for OpenAL 1.1 and extensions (including EFX).")
(license (list license:expat license:asl2.0))))
+(define-public rust-ambient-authority-0.0.2
+ (package
+ (name "rust-ambient-authority")
+ (version "0.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ambient-authority" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fxsfyhy64jx7zrkb85h1vhr5nfqncja3pwpikid471d8w6yxm79"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/sunfishcode/ambient-authority")
+ (synopsis "Types representing capabilities provided by the environment")
+ (description "This package provides a library with a token type
+(@code{AmbientAuthority}) that can be used to represent that a function
+interacts with the environment without an explicit capability.")
+ ;; With LLVM exception.
+ (license (list license:asl2.0 license:asl2.0 license:expat))))
+
(define-public rust-android-activity-0.5
(package
(name "rust-android-activity")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 099/147] gnu: Add rust-io-extras-0.18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
c787e902c1c75c6fa23b48801d2a5816b4d8bf5d.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-io-extras-0.18): New variable.

Change-Id: I06b153d9127eaad24db2461d527e096a39b54400
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7ce1ad2a7..df5d634191 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31658,6 +31658,33 @@ (define-public rust-io-close-0.3
@code{BufWriter}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-io-extras-0.18
+ (package
+ (name "rust-io-extras")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "io-extras" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vfi3dm8667naalicaaq1lqp8pvnjp805x5903k2k2hfp4zyf0f3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-mio" ,rust-mio-0.8)
+ ("rust-os-pipe" ,rust-os-pipe-1)
+ ("rust-socket2" ,rust-socket2-0.4)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/sunfishcode/io-extras")
+ (synopsis "Miscellaneous I/O utilities")
+ (description "This package provides a library with a few miscellaneous
+utilities for I/O.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-io-lifetimes-2
(package
(name "rust-io-lifetimes")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 100/147] gnu: Add rust-maybe-owned-0.3.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
f1ffd01f27d7d941a596a7d8a65568df88742a8e.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-maybe-owned-0.3): New variable.

Change-Id: Ifb9737d55e15ddf5ef3a5f2e46cc91f0274dfd92
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df5d634191..296c98a78d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37697,6 +37697,29 @@ (define-public rust-maybe-async-0.2
async code in Rust.")
(license license:expat)))
+(define-public rust-maybe-owned-0.3
+ (package
+ (name "rust-maybe-owned")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "maybe-owned" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1d3sqiv59i06k73x6p7mf294zgdfb2qkky127ipfnjj9mr9wgb2g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/rustonaut/maybe-owned")
+ (synopsis "Alternative implementation of Rust's @code{Cow} type")
+ (description "This package provides an alternative approach of the implementation
+of the Rust's @code{Cow} type: @code{MaybeOwned} and @code{MaybeOwnedMut} but
+implementing the traits @code{From<T>} and @code{From<&'a T>} and does not require
+@code{ToOwned}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-maybe-rayon-0.1
(package
(name "rust-maybe-rayon")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 098/147] gnu: Add rust-fs-set-times-0.20.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
70ca46b45c742d5a33a328adc78a33acaa5d01a9.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-fs-set-times-0.20): New variable.
(rust-fs-set-times-0.19): Inherit from rust-fs-set-times-0.20.

Change-Id: I3a24fd53fef201d766b40cd116d60e972e39373a
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
1 file changed, 24 insertions(+), 6 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f5c2d98550..c7ce1ad2a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25426,8 +25426,31 @@ (define-public rust-fsio-0.4
@end enumerate")
(license license:asl2.0)))
+(define-public rust-fs-set-times-0.20
+ (package
+ (name "rust-fs-set-times")
+ (version "0.20.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fs-set-times" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yxqkl8khk1593ribn4s9v60vf375gi9sgw9hq6nk5svf9yk6fq3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/bytecodealliance/fs-set-times")
+ (synopsis "Set filesystem timestamps")
+ (description "Set filesystem timestamps")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-fs-set-times-0.19
(package
+ (inherit rust-fs-set-times-0.20)
(name "rust-fs-set-times")
(version "0.19.1")
(source (origin
@@ -25437,16 +25460,11 @@ (define-public rust-fs-set-times-0.19
(sha256
(base32
"0qc822hifnwvrfd706wnx5xhajqfsc4kn2lmalfda4x02pqx0cvq"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-io-lifetimes" ,rust-io-lifetimes-1)
("rust-rustix" ,rust-rustix-0.37)
- ("rust-windows-sys" ,rust-windows-sys-0.48))))
- (home-page "https://github.com/bytecodealliance/fs-set-times")
- (synopsis "Set filesystem timestamps")
- (description "Set filesystem timestamps")
- (license (list license:asl2.0 license:expat))))
+ ("rust-windows-sys" ,rust-windows-sys-0.48))))))
(define-public rust-fs-utils-1
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 102/147] gnu: Add rust-cap-primitives-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
4c247dcf3a6a6ce599e1de21674bdbbd3aec8a61.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cap-primitives-2): New variable.

Change-Id: I1881b85b747dac0d52e0e89abc7f6746af6d3874
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 88034d39a1..a0af4663bd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9586,6 +9586,37 @@ (define-public rust-cap-0.1
tracking memory usage and enabling limits to be set.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cap-primitives-2
+ (package
+ (name "rust-cap-primitives")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cap-primitives" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1fvsyrp239bpbxpbjm7b2ywnl8hwp1v7ashdy3qx7rpfv1z7c5py"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ambient-authority" ,rust-ambient-authority-0.0.2)
+ ("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-fs-set-times" ,rust-fs-set-times-0.20)
+ ("rust-io-extras" ,rust-io-extras-0.18)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-ipnet" ,rust-ipnet-2)
+ ("rust-maybe-owned" ,rust-maybe-owned-0.3)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-windows-sys" ,rust-windows-sys-0.52)
+ ("rust-winx" ,rust-winx-0.36))))
+ (home-page "https://github.com/bytecodealliance/cap-std")
+ (synopsis "Capability-based standard library primitives")
+ (description "This package provides an internal library of the
+@code{cap-std} crate. ")
+ (license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+
(define-public rust-capnp-0.14
(package
(name "rust-capnp")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 103/147] gnu: Add rust-cap-std-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
9854bba7daaa6170bdf4e6b9100703d02a7b29ed.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cap-std-2): New variable.

Change-Id: Ibac9cd54104d8c66241b93fff8e0ecc94f77f900
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a0af4663bd..001080e653 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9617,6 +9617,32 @@ (define-public rust-cap-primitives-2
@code{cap-std} crate. ")
(license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+(define-public rust-cap-std-2
+ (package
+ (name "rust-cap-std")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cap-std" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0c6k36hmpn4si6hlxfd3jd7j3hs9i1qyxrxshhr2vxji9h7b4gar"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-arf-strings" ,rust-arf-strings-0.7)
+ ("rust-camino" ,rust-camino-1)
+ ("rust-cap-primitives" ,rust-cap-primitives-2)
+ ("rust-io-extras" ,rust-io-extras-0.18)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-rustix" ,rust-rustix-0.38))))
+ (home-page "https://github.com/bytecodealliance/cap-std")
+ (synopsis "Capability-based version of the Rust standard library")
+ (description "This package provides a version like of the Rust standard
+library (@code{std}) based on capabilities.")
+ (license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+
(define-public rust-capnp-0.14
(package
(name "rust-capnp")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 101/147] gnu: Add rust-winx-0.36.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
2e1afb1dafe006582117e43c7f36f82fb922c094.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-winx-0.36): New variable.

Change-Id: I2896859514b20f43b2fd919ebc0fabfe069659e3
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 296c98a78d..88034d39a1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79908,6 +79908,27 @@ (define-public rust-winnow-0.4
("rust-memchr" ,rust-memchr-2)
("rust-terminal-size" ,rust-terminal-size-0.2))))))
+(define-public rust-winx-0.36
+ (package
+ (name "rust-winx")
+ (version "0.36.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winx" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ikk6cnlfiq7dm36jqwrczxa8jyh9m2zmrdbxi3d430cha1knr7r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/sunfishcode/winx")
+ (synopsis "Windows API helper library")
+ (description "Windows API helper library")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wit-parser-0.13
(package
(name "rust-wit-parser")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 104/147] gnu: Add rust-cap-fs-ext-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
c0e230dd3e6cd261527f65f279f226e3098823cd.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cap-fs-ext-2): New variable.

Change-Id: Ic6b625e67b3d833554bb5d674b09061a6493b263
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 001080e653..14960b09ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9586,6 +9586,32 @@ (define-public rust-cap-0.1
tracking memory usage and enabling limits to be set.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cap-fs-ext-2
+ (package
+ (name "rust-cap-fs-ext")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cap-fs-ext" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rj878djc7dwhlrf5k831vjazvd1l5jff2v0rsnrl0n1bb8l3qw8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-arf-strings" ,rust-arf-strings-0.7)
+ ("rust-camino" ,rust-camino-1)
+ ("rust-cap-primitives" ,rust-cap-primitives-2)
+ ("rust-cap-std" ,rust-cap-std-2)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/bytecodealliance/cap-std")
+ (synopsis "Extension traits for cap-std's file-system module")
+ (description "This package provides a library with extension traits for
+cap-std's file-system module.")
+ (license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+
(define-public rust-cap-primitives-2
(package
(name "rust-cap-primitives")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 106/147] gnu: Add rust-windows-result-0.1.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
65b9a80df0522e9a8bb05029c85737ae5dd5915a.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-windows.scm (rust-windows-result-0.1): New
variable.

Change-Id: I7d79fb373c315298f0ec73118e28dc43779b2ea6
---
gnu/packages/crates-windows.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index e50c63f80f..095f2f0142 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2023 Daniel Ziltener <dziltener@lyrion.ch>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1985,6 +1986,26 @@ (define-public rust-windows-metadata-0.51
(sha256
(base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm"))))))
+(define-public rust-windows-result-0.1
+ (package
+ (name "rust-windows-result")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-result" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r1z5903al7pzv1jsvbmnqnsn8nlp38x2hy3xl5gp38nwmwdy6fd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Windows error handling")
+ (description "This package provides types to manage Windows APIs errors.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-sys-0.52
(package
(name "rust-windows-sys")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 105/147] gnu: Add rust-cap-rand-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
8d5d310a445feefd9ad5b975562b903cb7fcf0b7.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cap-rand-2): New variable.

Change-Id: If742e2c319e4e7b174fd705ada569a31a79248c1
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 14960b09ca..9796aca96e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9643,6 +9643,29 @@ (define-public rust-cap-primitives-2
@code{cap-std} crate. ")
(license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+(define-public rust-cap-rand-2
+ (package
+ (name "rust-cap-rand")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cap-rand" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jm4iw7jlricrpi0ngmp5dvhwm4p6lr70w9wph373kghcmankr90"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ambient-authority" ,rust-ambient-authority-0.0.2)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/bytecodealliance/cap-std")
+ (synopsis "Capability-based random number generators")
+ (description "This package provides a library for capability-based random
+number generators.")
+ (license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+
(define-public rust-cap-std-2
(package
(name "rust-cap-std")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:04 +0200
[PATCH 107/147] gnu: rust-windows-targets-0.52: Update to 0.52.4.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
9a317068dd4ae2d9fe7dc29da27769d06bb1d38a.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-windows.scm (rust-windows-targets-0.52): Update to 0.52.4.
(rust-windows-aarch64-gnullvm-0.52): Ditto.
(rust-windows-aarch64-msvc-0.52): Ditto.
(rust-windows-i686-gnu-0.52): Ditto.
(rust-windows-i686-msvc-0.52): Ditto.
(rust-windows-x86-64-gnu-0.52): Ditto.
(rust-windows-x86-64-gnullvm-0.52): Ditto.
(rust-windows-x86-64-msvc-0.52): Ditto.

Change-Id: I8985d777f3e2aafe855a09f43733cacdbdae28a1
---
gnu/packages/crates-windows.scm | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)

Toggle diff (142 lines)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 095f2f0142..857150c3b0 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1366,14 +1366,14 @@ (define-public rust-windows-0.9
(define-public rust-windows-aarch64-gnullvm-0.52
(package
(name "rust-windows-aarch64-gnullvm")
- (version "0.52.0")
+ (version "0.52.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows_aarch64_gnullvm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1shmn1kbdc0bpphcxz0vlph96bxz0h1jlmh93s9agf2dbpin8xyb"))
+ (base32 "1jfam5qfngg8v1syxklnvy8la94b5igm7klkrk8z5ik5qgs6rx5w"))
(snippet
'(delete-file "lib/libwindows.0.52.0.a"))))
(build-system cargo-build-system)
@@ -1420,14 +1420,14 @@ (define-public rust-windows-aarch64-gnullvm-0.42
(define-public rust-windows-aarch64-msvc-0.52
(package
(name "rust-windows-aarch64-msvc")
- (version "0.52.0")
+ (version "0.52.4")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_aarch64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1vvmy1ypvzdvxn9yf0b8ygfl85gl2gpcyvsvqppsmlpisil07amv"))
+ "0xdn6db0rk8idn7dxsyflixq2dbj9x60kzdzal5rkxmwsffjb7ys"))
(snippet
'(delete-file "lib/windows.0.52.0.lib"))))
(build-system cargo-build-system)
@@ -1571,14 +1571,14 @@ (define-public rust-windows-bindgen-0.51
(define-public rust-windows-i686-gnu-0.52
(package
(name "rust-windows-i686-gnu")
- (version "0.52.0")
+ (version "0.52.4")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_i686_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "04zkglz4p3pjsns5gbz85v4s5aw102raz4spj4b0lmm33z5kg1m2"))
+ "1lq1g35sbj55ms86by4c080jcqrlfjy9bw5r4mgrkq4riwkdhx5l"))
(snippet
'(delete-file "lib/libwindows.0.52.0.a"))))
(build-system cargo-build-system)
@@ -1682,14 +1682,14 @@ (define-public rust-windows-i686-gnu-0.28
(define-public rust-windows-i686-msvc-0.52
(package
(name "rust-windows-i686-msvc")
- (version "0.52.0")
+ (version "0.52.4")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_i686_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "16kvmbvx0vr0zbgnaz6nsks9ycvfh5xp05bjrhq65kj623iyirgz"))
+ "00lfzw88dkf3fdcf2hpfhp74i9pwbp7rwnj1nhy79vavksifj58m"))
(snippet
'(delete-file "lib/windows.0.52.0.lib"))))
(build-system cargo-build-system)
@@ -2168,14 +2168,14 @@ (define-public rust-windows-macros-0.9
(define-public rust-windows-targets-0.52
(package
(name "rust-windows-targets")
- (version "0.52.0")
+ (version "0.52.4")
(source (origin
(method url-fetch)
(uri (crate-uri "windows-targets" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1kg7a27ynzw8zz3krdgy6w5gbqcji27j1sz4p7xk2j5j8082064a"))))
+ "06sdd7fin3dj9cmlg6n1dw0n1l10jhn9b8ckz1cqf0drb9z7plvx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -2272,14 +2272,14 @@ (define-public rust-windows-tokens-0.32
(define-public rust-windows-x86-64-gnu-0.52
(package
(name "rust-windows-x86-64-gnu")
- (version "0.52.0")
+ (version "0.52.4")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_x86_64_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1zdy4qn178sil5sdm63lm7f0kkcjg6gvdwmcprd2yjmwn8ns6vrx"))
+ "00qs6x33bf9lai2q68faxl56cszbv7mf7zqlslmc1778j0ahkvjy"))
(snippet
'(delete-file "lib/libwindows.0.52.0.a"))))
(build-system cargo-build-system)
@@ -2383,14 +2383,14 @@ (define-public rust-windows-x86-64-gnu-0.28
(define-public rust-windows-x86-64-gnullvm-0.52
(package
(name "rust-windows-x86-64-gnullvm")
- (version "0.52.0")
+ (version "0.52.4")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_x86_64_gnullvm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "17lllq4l2k1lqgcnw1cccphxp9vs7inq99kjlm2lfl9zklg7wr8s"))
+ "0xr13xxakp14hs4v4hg2ynjcv7wrzr3hg7zk5agglj8v8pr7kjkp"))
(snippet
'(delete-file "lib/libwindows.0.52.0.a"))))
(build-system cargo-build-system)
@@ -2436,14 +2436,14 @@ (define-public rust-windows-x86-64-gnullvm-0.42
(define-public rust-windows-x86-64-msvc-0.52
(package
(name "rust-windows-x86-64-msvc")
- (version "0.52.0")
+ (version "0.52.4")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_x86_64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "012wfq37f18c09ij5m6rniw7xxn5fcvrxbqd0wd8vgnl3hfn9yfz"))
+ "1n0yc7xiv9iki1j3xl8nxlwwkr7dzsnwwvycvgxxv81d5bjm5drj"))
(snippet
'(delete-file "lib/windows.0.52.0.lib"))))
(build-system cargo-build-system)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 108/147] gnu: Add rust-windows-core-0.52.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
b4586c0477e5ce1a3863956756c30f04e4ef7344.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-windows.scm (rust-windows-core-0.52): New
variable.

Change-Id: I3d65339ae40df6b81542b8762d14780cf2ab4263
---
gnu/packages/crates-windows.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 857150c3b0..0309228e49 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1568,6 +1568,28 @@ (define-public rust-windows-bindgen-0.51
("rust-syn" ,rust-syn-2)
("rust-windows-metadata" ,rust-windows-metadata-0.51))))))
+(define-public rust-windows-core-0.52
+ (package
+ (name "rust-windows-core")
+ (version "0.52.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nc3qv7sy24x0nlnb32f7alzpd6f72l4p24vl65vydbyil669ark"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-windows-result" ,rust-windows-result-0.1)
+ ("rust-windows-targets" ,rust-windows-targets-0.52))))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Windows base types for Rust")
+ (description "This package provides a library with base types
+of Windows.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-i686-gnu-0.52
(package
(name "rust-windows-i686-gnu")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 111/147] gnu: Add rust-char-device-0.16.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
371421633e5406aed98063026b4bb88f98b7b6e6.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-char-device-0.16): New variable.

Change-Id: I6ebfd8dea08b73eacac9e9db678340f322dee58c
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0ceffc630f..b013200f40 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11047,6 +11047,32 @@ (define-public rust-chalk-solve-0.75
"This package provides a combines the chalk-engine with chalk-ir.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-char-device-0.16
+ (package
+ (name "rust-char-device")
+ (version "0.16.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "char-device" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04rbxrjq32hbhyj1ddyixz2w42vvrnzvma7kkxlrwipa4f0ysm6y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-io-extras" ,rust-io-extras-0.18)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-winx" ,rust-winx-0.36))))
+ (home-page "https://github.com/sunfishcode/char-device")
+ (synopsis "Character Device I/O")
+ (description "This packag provides a wrapper around @code{std::fs::File}
+to specifically interact with character devices such as @code{/dev/tty}.")
+ (license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+
(define-public rust-charset-0.1
(package
(name "rust-charset")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 109/147] gnu: rust-iana-time-zone-0.1: Update to 0.1.60.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
8a96c2285fa7b6ddc8fefe42463160541b35215c.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-iana-time-zone-0.1): Update to
0.1.60.

Change-Id: Ic32c5044ca0369fc2a0bfcd2a94332f7610ec75c
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9796aca96e..cc2c3f63c1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30147,14 +30147,14 @@ (define-public rust-iana-time-zone-haiku-0.1
(define-public rust-iana-time-zone-0.1
(package
(name "rust-iana-time-zone")
- (version "0.1.53")
+ (version "0.1.60")
(source (origin
(method url-fetch)
(uri (crate-uri "iana-time-zone" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0ra7nvai8n3alvljswacjbnhfcpivpi7xqbc5n048w18gdk25hb4"))))
+ "0hdid5xz3jznm04lysjm3vi93h3c523w0hcc3xba47jl3ddbpzz7"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
@@ -30164,7 +30164,7 @@ (define-public rust-iana-time-zone-0.1
("rust-iana-time-zone-haiku" ,rust-iana-time-zone-haiku-0.1)
("rust-js-sys" ,rust-js-sys-0.3)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
- ("rust-winapi" ,rust-winapi-0.3))
+ ("rust-windows-core" ,rust-windows-core-0.52))
#:cargo-development-inputs
(("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
(home-page "https://github.com/strawlab/iana-time-zone")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 113/147] gnu: Add rust-socketpair-0.19.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
c9878c3376b42095358fe2325d62dc7d6f78c9b6.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-socketpair-0.19): New variable.

Change-Id: I051893a4272c98b6e85fe0aeb17b352032524705
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3117e6ef8d..6f650e37a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64761,6 +64761,34 @@ (define-public rust-socket2-0.3
#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3))))))
+(define-public rust-socketpair-0.19
+ (package
+ (name "rust-socketpair")
+ (version "0.19.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "socketpair" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xln407qisgd1rrq54ff7b9dbm0mjwvkl17ry6bph4clz2vhvicx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-io-extras" ,rust-io-extras-0.18)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-uuid" ,rust-uuid-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/sunfishcode/socketpair")
+ (synopsis "Cross-platform @code{socketpair} implementation")
+ (description "This package provides a library with a cross-platform
+implementation of the @code{socketpair} functionality. On Windows emulates
+this interface using @code{CreateNamedPipe}.")
+ (license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+
(define-public rust-socks-0.3
(package
(name "rust-socks")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 112/147] gnu: Add rust-fd-lock-4.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
5b7a080a2917b94aba6e64dfe70c59525f0fa8e2.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-fd-lock-4): New variable.
(rust-fd-lock-3): Inherit from rust-fd-lock-3.

Change-Id: I4abb1fb1162e663b5aa7e7687c599e9db73dac2a
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++--------
1 file changed, 27 insertions(+), 8 deletions(-)

Toggle diff (66 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b013200f40..3117e6ef8d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23697,25 +23697,24 @@ (define-public rust-fastrand-1
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
("rust-wyhash" ,rust-wyhash-0.5))))))
-(define-public rust-fd-lock-3
+(define-public rust-fd-lock-4
(package
(name "rust-fd-lock")
- (version "3.0.12")
+ (version "4.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "fd-lock" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0hlnn1302p37qlc9xl2k5y0vw8q8id5kg59an6riy89hjlynpbir"))))
+ (base32 "0ixrsd19k2cpl773p9hd0yk3hac684d9aphbxy0jq9q64bd6hmvy"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-rustix" ,rust-rustix-0.37)
- ("rust-windows-sys" ,rust-windows-sys-0.48))
- #:cargo-development-inputs
- (("rust-tempfile" ,rust-tempfile-3))))
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
(home-page "https://github.com/yoshuawuyts/fd-lock")
(synopsis "Advisory lock on a file")
(description
@@ -23723,6 +23722,26 @@ (define-public rust-fd-lock-3
it.")
(license (list license:expat license:asl2.0))))
+(define-public rust-fd-lock-3
+ (package
+ (inherit rust-fd-lock-4)
+ (name "rust-fd-lock")
+ (version "3.0.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fd-lock" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hlnn1302p37qlc9xl2k5y0vw8q8id5kg59an6riy89hjlynpbir"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-rustix" ,rust-rustix-0.37)
+ ("rust-windows-sys" ,rust-windows-sys-0.48))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-fd-lock-2
(package
(inherit rust-fd-lock-3)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 114/147] gnu: Add rust-ssh2-0.9.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
1e9f92d98310aa15b49c0580b9691c624974f9e5.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-ssh2-0.9): New variable.

Change-Id: I70b785e8780d32a6bb1a073f2a44077349d17e29
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f650e37a4..7cbef0a67c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65504,6 +65504,31 @@ (define-public rust-sqlite3-sys-0.13
(("rust-libc" ,rust-libc-0.2)
("rust-sqlite3-src" ,rust-sqlite3-src-0.3))))))
+(define-public rust-ssh2-0.9
+ (package
+ (name "rust-ssh2")
+ (version "0.9.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ssh2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0malilb9lbzlh3i24nb6s61lmz5as801swy30ib6v7sm20cldzp7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libssh2-sys" ,rust-libssh2-sys-0.3)
+ ("rust-parking-lot" ,rust-parking-lot-0.11))))
+ (home-page "https://github.com/alexcrichton/ssh2-rs")
+ (synopsis "High-level bindings of libssh2 for Rust")
+ (description "This package provides high-level idiomatic bindings to
+libssh2 for interacting with SSH servers and executing remote commands,
+forwarding local ports, etc.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-st-map-0.1
(package
(name "rust-st-map")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 110/147] gnu: Add rust-cap-time-ext-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
deeadab9f8a81cc0e2b14bd068eb8b790fda9a09.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cap-time-ext-2): New variable.

Change-Id: I86ec068aa355a67a76c4c30f8cd35800ad7520be
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cc2c3f63c1..0ceffc630f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9692,6 +9692,34 @@ (define-public rust-cap-std-2
library (@code{std}) based on capabilities.")
(license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+(define-public rust-cap-time-ext-2
+ (package
+ (name "rust-cap-time-ext")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cap-time-ext" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0aq05yqg8mjc039cs5zm534mn9i8g228rwrn191jbx4iy8q1c9h3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ambient-authority" ,rust-ambient-authority-0.0.2)
+ ("rust-cap-primitives" ,rust-cap-primitives-2)
+ ("rust-cap-std" ,rust-cap-std-2)
+ ("rust-iana-time-zone" ,rust-iana-time-zone-0.1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-winx" ,rust-winx-0.36))))
+ (home-page "https://github.com/bytecodealliance/cap-std")
+ (synopsis "Extension traits for the cap-std's time module")
+ (description "This packge provides a library with extension traits for
+cap-std's time module.")
+ (license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+
(define-public rust-capnp-0.14
(package
(name "rust-capnp")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 115/147] gnu: Add rust-system-interface-0.26.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
2f7a0d3d7421473b0358fac8f53aae09e0665ded.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-system-interface-0.26): New variable.

Change-Id: I7a9a30327381758c29481f02a6425f16a1fd5ff1
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7cbef0a67c..d8b6023e10 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68924,6 +68924,38 @@ (define-public rust-system-deps-1
#:cargo-development-inputs
(("rust-itertools" ,rust-itertools-0.9))))))
+(define-public rust-system-interface-0.26
+ (package
+ (name "rust-system-interface")
+ (version "0.26.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "system-interface" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0n0z5cf98178n8pw39nln5aaiacr14caq8v658wiwxrmvl3f10h6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cap-fs-ext" ,rust-cap-fs-ext-2)
+ ("rust-cap-std" ,rust-cap-std-2)
+ ("rust-char-device" ,rust-char-device-0.16)
+ ("rust-fd-lock" ,rust-fd-lock-4)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-os-pipe" ,rust-os-pipe-1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-socketpair" ,rust-socketpair-0.19)
+ ("rust-ssh2" ,rust-ssh2-0.9)
+ ("rust-windows-sys" ,rust-windows-sys-0.52)
+ ("rust-winx" ,rust-winx-0.36))))
+ (home-page "https://github.com/bytecodealliance/system-interface")
+ (synopsis "Extensions to the Rust standard library")
+ (description "Extensions to the Rust standard library")
+ (license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+
(define-public rust-tabwriter-1
(package
(name "rust-tabwriter")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 117/147] gnu: Add rust-wiggle-generate-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
49449830c899553897c83b8d33b07de54d29a097.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wiggle-generate-18): New variable.

Change-Id: I551ebba8353d3aa24ecc45e280519f3ba7284d65
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dbbc402bb5..add90e8454 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80053,6 +80053,33 @@ (define-public rust-widestring-0.4
`(#:cargo-development-inputs
(("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-wiggle-generate-18
+ (package
+ (name "rust-wiggle-generate")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wiggle-generate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kjm1bsa4lndqa0ldljvbhidvmnazf8j9zgjsi071mimg94r0m3c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-shellexpand" ,rust-shellexpand-2)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-witx" ,rust-witx-0.9))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Code generation back-end for Wasmtime")
+ (description "This package provides a library specific to Wasmtime to
+generate code.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wild-2
(package
(name "rust-wild")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 116/147] gnu: Add rust-witx-0.9.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
781c6c772a14bfd1b351e3ab765fe9acdbf6ffb8.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-witx-0.9): New variable.

Change-Id: Id3658fc79f78883720cd46190877160386b11faa
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d8b6023e10..dbbc402bb5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80222,6 +80222,30 @@ (define-public rust-wit-parser-0.13
@acronym{WIT, WebAssembly Interface Type}.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-witx-0.9
+ (package
+ (name "rust-witx")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "witx" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jzgmayh2jjbv70jzfka38g4bk4g1fj9d0m70qkxpkdbbixg4rp3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-wast" ,rust-wast-35))))
+ (home-page "https://github.com/WebAssembly/WASI")
+ (synopsis "Parse and validate WITX files")
+ (description "This package provides a library to parse and validate
+WITX files.")
+ (license license:asl2.0)))
+
(define-public rust-wycheproof-0.5
(package
(name "rust-wycheproof")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 119/147] gnu: Add rust-wiggle-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
62f0128a6e9695f32f4a5d8ae6f3b0941323a91c.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wiggle-18): New variable.

Change-Id: I51ec851afc6a2ae88dbd504ed1098dd067487a0a
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8e16eb49c4..f0fc4539f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80053,6 +80053,34 @@ (define-public rust-widestring-0.4
`(#:cargo-development-inputs
(("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-wiggle-18
+ (package
+ (name "rust-wiggle")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wiggle" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "050fyl6www5324pk9n8a3s08c7d17nhh3814zn62g8gv3xpcszks"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-wasmtime" ,rust-wasmtime-18)
+ ("rust-wiggle-macro" ,rust-wiggle-macro-18)
+ ("rust-witx" ,rust-witx-0.9))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Runtime components of the Wiggle code generator")
+ (description "This package provides a library with the runtime components
+of the wiggle code generator.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wiggle-generate-18
(package
(name "rust-wiggle-generate")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 118/147] gnu: Add rust-wiggle-macro-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
7ff267fe3788ea23d44e496bd20fa22281efd55d.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wiggle-macro-18): New variable.

Change-Id: Ie5077f10eaf44d78978d76bfdd632e2859825685
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index add90e8454..8e16eb49c4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80080,6 +80080,30 @@ (define-public rust-wiggle-generate-18
generate code.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wiggle-macro-18
+ (package
+ (name "rust-wiggle-macro")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wiggle-macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0n2rjpb4yll4vc6hs3s51iwvl98f4fyl1gx2y517in50q78k2gyq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-wiggle-generate" ,rust-wiggle-generate-18))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Macros for the Wiggle code generator")
+ (description "This package provides macros for use with the Wiggle
+code generator.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wild-2
(package
(name "rust-wild")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 120/147] gnu: Add rust-wasi-common-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
45824e0ef44c8f2f741a181e97dcbdb51be687b8.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasi-common-18): New variable.

Change-Id: Ifd5608e2527c07f174fe05d73995d022b74414ab
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f0fc4539f8..84d6ca8ea8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78413,6 +78413,46 @@ (define-public rust-wasi-0.9
(base32
"06g5v3vrdapfzvfq662cij7v8a1flwr2my45nnncdv2galrdzkfc"))))))
+(define-public rust-wasi-common-18
+ (package
+ (name "rust-wasi-common")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasi-common" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b1xisd9rhw8w3gjb3d6qjhf1ydbj40hx3wa1b6g8snmkb125q4m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cap-fs-ext" ,rust-cap-fs-ext-2)
+ ("rust-cap-rand" ,rust-cap-rand-2)
+ ("rust-cap-std" ,rust-cap-std-2)
+ ("rust-cap-time-ext" ,rust-cap-time-ext-2)
+ ("rust-fs-set-times" ,rust-fs-set-times-0.20)
+ ("rust-io-extras" ,rust-io-extras-0.18)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-system-interface" ,rust-system-interface-0.26)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-wasmtime" ,rust-wasmtime-18)
+ ("rust-wiggle" ,rust-wiggle-18)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "WASI implementation common library")
+ (description "This package provides a library with common code for the
+Wasmtime @acronym{WASI, WebAssembly System Interface} implementation.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasm-bindgen-0.2
(package
(name "rust-wasm-bindgen")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 121/147] gnu: Add rust-wasmtime-c-api-macros-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
788881cceed5ecb000c7994d63a6335afd610310.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-c-api-macros-18): New
variable.

Change-Id: I25dd93ac302aac96643ebbe1a574436f90b94368
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 84d6ca8ea8..a1ea0c8bcc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79067,6 +79067,28 @@ (define-public rust-wasmtime-asm-macros-18
functions in Wasmtime.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-c-api-macros-18
+ (package
+ (name "rust-wasmtime-c-api-macros")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-c-api-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1h4428v7b4vvmdba9lqirf7qnn1xh47x6qkn10yxbdj5yxirwm6r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Support macros for Wasmtime C bindings")
+ (description "This package provides a library with support macros for the
+Wasmtime C bindings library.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-cache-18
(package
(name "rust-wasmtime-cache")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 122/147] gnu: Add rust-cap-net-ext-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
39613102dc461f8a9929ac9da88193210ef91fc7.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cap-net-ext-2): New variable.

Change-Id: I30eb000767da83fc8f9a6b8f01fb586513ddc510
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a1ea0c8bcc..cbaffc1f7e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9612,6 +9612,30 @@ (define-public rust-cap-fs-ext-2
cap-std's file-system module.")
(license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+(define-public rust-cap-net-ext-2
+ (package
+ (name "rust-cap-net-ext")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cap-net-ext" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1adpbanxbs9rzajp4s7liqrxpmzn7yz9l0q4887my19kcpz6hha3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cap-primitives" ,rust-cap-primitives-2)
+ ("rust-cap-std" ,rust-cap-std-2)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-smallvec" ,rust-smallvec-1))))
+ (home-page "https://github.com/bytecodealliance/cap-std")
+ (synopsis "Extension traits for networking APIs")
+ (description "This packag provides a library with extension traits for:
+@code{TcpListener}, @code{Pool}, etc.")
+ (license (list license:asl2.0 license:expat)))) ;; With LLVM exception.
+
(define-public rust-cap-primitives-2
(package
(name "rust-cap-primitives")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 123/147] gnu: Add rust-wasmtime-wasi-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
f60e6f1be4a7b89d71664633ef729721319f0f61.1712070308.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-wasi-18): New variable.

Change-Id: I1ba83cdc609c80ddfc4ec7e3ea78caf3bce5c59d
---
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cbaffc1f7e..7cecb0e942 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79466,6 +79466,51 @@ (define-public rust-wasmtime-versioned-export-macros-18
exports in Wasmtime.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-wasi-18
+ (package
+ (name "rust-wasmtime-wasi")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-wasi" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0y4h0wl5ls6bw5p72z048ggsqjmkaik2qrdpbb98n609lfyi5acw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-cap-fs-ext" ,rust-cap-fs-ext-2)
+ ("rust-cap-net-ext" ,rust-cap-net-ext-2)
+ ("rust-cap-rand" ,rust-cap-rand-2)
+ ("rust-cap-std" ,rust-cap-std-2)
+ ("rust-cap-time-ext" ,rust-cap-time-ext-2)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-fs-set-times" ,rust-fs-set-times-0.20)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-io-extras" ,rust-io-extras-0.18)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-system-interface" ,rust-system-interface-0.26)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-url" ,rust-url-2)
+ ("rust-wasi-common" ,rust-wasi-common-18)
+ ("rust-wasmtime" ,rust-wasmtime-18)
+ ("rust-wiggle" ,rust-wiggle-18)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "WASI implementation")
+ (description "WASI implementation in Rust")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-winch-18
(package
(name "rust-wasmtime-winch")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 125/147] gnu: rust-cc-1: Update to 1.0.90.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
8605600b9e4c45703765c32ed73fdd7fafa8485c.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-cc-1): Update to 1.0.90.

Change-Id: I01786f1552979af8e9aae8b7179587a61c2b5ec8
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 63b3f74e81..46c05b66c0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10717,7 +10717,7 @@ (define-public rust-cblas-sys-0.1
(define-public rust-cc-1
(package
(name "rust-cc")
- (version "1.0.83")
+ (version "1.0.90")
(source
(origin
(method url-fetch)
@@ -10725,7 +10725,7 @@ (define-public rust-cc-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1l643zidlb5iy1dskc5ggqs4wqa29a02f44piczqc8zcnsq4y5zi"))))
+ "1xg1bqnq50dpf6g1hl90caxgz4afnf74pxa426gh7wxch9561mlc"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 126/147] gnu: rust-thiserror-1: Update to 1.0.58.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
c7940c41f3983af53f0ebafe66039152a94ccede.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-thiserror-1): Update to 1.0.58.
(rust-thiserror-impl-1): Ditto.

Change-Id: I752184faeaa2f42de2e1260ba59266a9ec37f48d
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 46c05b66c0..12268fa3b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70982,14 +70982,14 @@ (define-public rust-thin-slice-0.1
(define-public rust-thiserror-1
(package
(name "rust-thiserror")
- (version "1.0.56")
+ (version "1.0.58")
(source
(origin
(method url-fetch)
(uri (crate-uri "thiserror" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1b9hnzngjan4d89zjs16i01bcpcnvdwklyh73lj16xk28p37hhym"))))
+ (base32 "15rjgd1abi2mzjgzfhrvmsxf9h65n95h6sp8f4s52q4i00wqhih3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -71052,14 +71052,14 @@ (define-public rust-thiserror-core-impl-1
(define-public rust-thiserror-impl-1
(package
(name "rust-thiserror-impl")
- (version "1.0.56")
+ (version "1.0.58")
(source
(origin
(method url-fetch)
(uri (crate-uri "thiserror-impl" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0w9ldp8fa574ilz4dn7y7scpcq66vdjy59qal8qdpwsh7faal3zs"))))
+ (base32 "1xylyqcb8rv5yh2yf97hg4n4kg27qccc0ijafr1zqklrhahkn7y6"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 124/147] gnu: Add rust-wasmtime-c-api-impl-18.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
2264e1b9ea52de1c816ea49eefdf38923c81a0e2.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-wasmtime-c-api-impl-18): New
variable.

Change-Id: I8c8fefccc26018bd66f3fca1da836cc10c4ae338
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7cecb0e942..63b3f74e81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79091,6 +79091,37 @@ (define-public rust-wasmtime-asm-macros-18
functions in Wasmtime.")
(license license:asl2.0))) ;; With LLVM exception.
+(define-public rust-wasmtime-c-api-impl-18
+ (package
+ (name "rust-wasmtime-c-api-impl")
+ (version "18.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasmtime-c-api-impl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07l3s3jd3rxd8fghkpi4zs41mr88gg4vcjcky2mpzlklz13n1y8p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cap-std" ,rust-cap-std-2)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-wasi-common" ,rust-wasi-common-18)
+ ("rust-wasmtime" ,rust-wasmtime-18)
+ ("rust-wasmtime-c-api-macros" ,rust-wasmtime-c-api-macros-18)
+ ("rust-wasmtime-wasi" ,rust-wasmtime-wasi-18)
+ ("rust-wat" ,rust-wat-1))))
+ (home-page "https://github.com/bytecodealliance/wasmtime")
+ (synopsis "Wasmtime runtime C bindings")
+ (description "This package provides bindings of Wasmtime from Rust to C.")
+ (license license:asl2.0))) ;; With LLVM exception.
+
(define-public rust-wasmtime-c-api-macros-18
(package
(name "rust-wasmtime-c-api-macros")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 127/147] gnu: Add rust-smol-potat-macro-0.6.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
bbf0b288e76e4a57ec1a84b401ddd53d2f1eb774.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-smol-potat-macro-0.6): New variable.

Change-Id: I5aaf148ad666e740dcdabf015793b0bed5f1685b
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 12268fa3b2..d1cb9e962f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64340,6 +64340,29 @@ (define-public rust-smol-0.1
("rust-piper" ,rust-piper-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-smol-potat-macro-0.6
+ (package
+ (name "rust-smol-potat-macro")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "smol-potat-macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cirpy1309cr3n6zbmia66miyidih88sinpanj2r61hqk89dhz3b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/wusyong/smol-potat")
+ (synopsis "Macros to initalize the @code{smol} asynchronous runtime.")
+ (description "This package provides a Rust procedural macro to simplify
+initialization of the @code{smol} asynchronous runtime in final binaries.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-smol-str-0.2
(package
(name "rust-smol-str")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 128/147] gnu: Add rust-smol-potat-1.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
946603d2972246f19626beeba10f39b391303cf6.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-smol-potat-1): New variable.

Change-Id: I623c8542db238b142dca39487412bf3f6a525b6c
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1cb9e962f..850321ea52 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64340,6 +64340,29 @@ (define-public rust-smol-0.1
("rust-piper" ,rust-piper-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-smol-potat-1
+ (package
+ (name "rust-smol-potat")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "smol-potat" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13nqzzqjscav3flc9jhwiabw8vnb22mv2accgilsn3swmxhzlkw9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-io" ,rust-async-io-1)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-smol-potat-macro" ,rust-smol-potat-macro-0.6))))
+ (home-page "https://github.com/wusyong/smol-potat")
+ (synopsis "Macros to initalize the @code{smol} asynchronous runtime.")
+ (description "This package provides a Rust procedural macro to simplify
+initialization of the @code{smol} asynchronous runtime in final binaries.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-smol-potat-macro-0.6
(package
(name "rust-smol-potat-macro")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 130/147] gnu: Add rust-async-process-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
fda286c1e6b5f68cf16b753d362487727ed6b989.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-async-process-2): New variable.
(rust-async-process-1): Inherit from rust-async-process-2.

Change-Id: I87e01f19b2c39023ecb055f82de53144e08260a3
---
gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++----------
1 file changed, 38 insertions(+), 13 deletions(-)

Toggle diff (80 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f1d311f6d..f75c012ddc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4722,8 +4722,45 @@ (define-public rust-async-pidfd-0.1
asynchronously (via the AsyncPidFd type).")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-process-2
+ (package
+ (name "rust-async-process")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-process" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j0cfac9p3kq5dclfzlz6jv5l29kwflh9nvr3ivmdg8ih3v3q7j5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-channel" ,rust-async-channel-2)
+ ("rust-async-io" ,rust-async-io-2)
+ ("rust-async-lock" ,rust-async-lock-3)
+ ("rust-async-signal" ,rust-async-signal-0.2)
+ ("rust-blocking" ,rust-blocking-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-event-listener" ,rust-event-listener-5)
+ ("rust-futures-lite" ,rust-futures-lite-2)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/smol-rs/async-process")
+ (synopsis "Async interface for working with processes")
+ (description
+ "This crate is an async version of @code{std::process}. A background
+thread named @code{async-process} is lazily created on first use, which waits
+for spawned child processes to exit and then calls the @code{wait()} syscall
+to clean up the ``zombie'' processes.
+
+This is unlike the process API in the standard library, where dropping
+a running Child leaks its resources.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-process-1
(package
+ (inherit rust-async-process-2)
(name "rust-async-process")
(version "1.8.1")
(source
@@ -4733,7 +4770,6 @@ (define-public rust-async-process-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "126s968lvhg9rlwsnxp7wfzkfn7rl87p0dlvqqlibn081ax3hr7a"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -4751,18 +4787,7 @@ (define-public rust-async-process-1
("rust-futures-lite" ,rust-futures-lite-1)
("rust-rustix" ,rust-rustix-0.38)
("rust-windows-sys" ,rust-windows-sys-0.48))
- #:cargo-development-inputs (("rust-async-io" ,rust-async-io-1))))
- (home-page "https://github.com/smol-rs/async-process")
- (synopsis "Async interface for working with processes")
- (description
- "This crate is an async version of @code{std::process}. A background
-thread named @code{async-process} is lazily created on first use, which waits
-for spawned child processes to exit and then calls the @code{wait()} syscall
-to clean up the ``zombie'' processes.
-
-This is unlike the process API in the standard library, where dropping
-a running Child leaks its resources.")
- (license (list license:asl2.0 license:expat))))
+ #:cargo-development-inputs (("rust-async-io" ,rust-async-io-1))))))
(define-public rust-async-ready-3
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 129/147] gnu: Add rust-event-listener-5.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
1f1e54d7008f28a004c19a839fa104ace13a9600.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-event-listener-5): New variable.
(rust-event-listener-4): Inherit from rust-event-listener-5.

Change-Id: If25f099019a0cf43bda0bbf04298991cc2a6e287
---
gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++---------
1 file changed, 30 insertions(+), 9 deletions(-)

Toggle diff (68 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 850321ea52..9f1d311f6d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22982,8 +22982,37 @@ (define-public rust-evdev-0.12
(description "This package provides evdev interface for Linux.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-event-listener-5
+ (package
+ (name "rust-event-listener")
+ (version "5.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "event-listener" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14fcnjgpfl22645nhc3hzkdq3a1v0srqacc3kfassg7sjj8vhprb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-concurrent-queue" ,rust-concurrent-queue-2)
+ ("rust-parking" ,rust-parking-2)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-portable-atomic" ,rust-portable-atomic-1)
+ ("rust-portable-atomic-util" ,rust-portable-atomic-util-0.1))))
+ (home-page "https://github.com/smol-rs/event-listener")
+ (synopsis "Notify async tasks or threads")
+ (description
+ "This is a synchronization primitive similar to @code{eventcounts}.
+You can use this crate to turn non-blocking data structures into async or
+blocking data structures.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-event-listener-4
(package
+ (inherit rust-event-listener-5)
(name "rust-event-listener")
(version "4.0.3")
(source
@@ -22993,7 +23022,6 @@ (define-public rust-event-listener-4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vk4smw1vf871vi76af1zn7w69jg3zmpjddpby2qq91bkg21bck7"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-concurrent-queue" ,rust-concurrent-queue-2)
@@ -23005,14 +23033,7 @@ (define-public rust-event-listener-4
(("rust-criterion" ,rust-criterion-0.5)
("rust-futures-lite" ,rust-futures-lite-2)
("rust-waker-fn" ,rust-waker-fn-1)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
- (home-page "https://github.com/smol-rs/event-listener")
- (synopsis "Notify async tasks or threads")
- (description
- "This is a synchronization primitive similar to @code{eventcounts}.
-You can use this crate to turn non-blocking data structures into async or
-blocking data structures.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))))
(define-public rust-event-listener-3
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 132/147] gnu: Add rust-smol-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
b0d65352169ca12f58b7228fd27dceca5fa0e2b5.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-smol-2): New variable.
(rust-smol-1): Inherit from rust-smol-2.

Change-Id: I101ad11c1b2bfdc86aad96a5f5c6cdfffc6bb1c4
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------
1 file changed, 31 insertions(+), 6 deletions(-)

Toggle diff (66 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4cfcb13fd4..2a378599d6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64338,8 +64338,38 @@ (define-public rust-smawk-0.3
monotone matrix.")
(license license:expat)))
+(define-public rust-smol-2
+ (package
+ (name "rust-smol")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "smol" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1bbws2bsp00fd5x6k23ja13p158vk76s2adaqxdgh7p5b6936dg6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-channel" ,rust-async-channel-2)
+ ("rust-async-executor" ,rust-async-executor-1)
+ ("rust-async-fs" ,rust-async-fs-2)
+ ("rust-async-io" ,rust-async-io-2)
+ ("rust-async-lock" ,rust-async-lock-3)
+ ("rust-async-net" ,rust-async-net-2)
+ ("rust-async-process" ,rust-async-process-2)
+ ("rust-blocking" ,rust-blocking-1)
+ ("rust-futures-lite" ,rust-futures-lite-2))))
+ (home-page "https://github.com/smol-rs/smol")
+ (synopsis "Small and fast async runtime")
+ (description "This package provides a small and fast async runtime.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-smol-1
(package
+ (inherit rust-smol-2)
(name "rust-smol")
(version "1.2.5")
(source
@@ -64349,7 +64379,6 @@ (define-public rust-smol-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1r45zng0hymqx1kb2dmxkapbin7f9rhgrdcssz0q7rzka59kpkw5"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -64362,11 +64391,7 @@ (define-public rust-smol-1
("rust-async-process" ,rust-async-process-1)
("rust-blocking" ,rust-blocking-1)
("rust-futures-lite" ,rust-futures-lite-1)
- ("rust-once-cell" ,rust-once-cell-1))))
- (home-page "https://github.com/stjepang/smol")
- (synopsis "Small and fast async runtime")
- (description "This package provides a small and fast async runtime.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-once-cell" ,rust-once-cell-1))))))
(define-public rust-smol-0.1
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 131/147] gnu: Add rust-async-fs-2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
f1037c43044df140d670169e8f63fe8083969906.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-async-fs-2): New variable.
(rust-async-fs-1): Inherit from rust-async-fs-2.

Change-Id: Ifcb121ce34b60e2c905e2136de7d05950d3069d2
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
1 file changed, 24 insertions(+), 6 deletions(-)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f75c012ddc..4cfcb13fd4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4310,8 +4310,31 @@ (define-public rust-async-executor-1
(description "This library provides async executors.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-async-fs-2
+ (package
+ (name "rust-async-fs")
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-fs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18dbwan238f3xdisb5x6pnrw6j95xp97srq54hgr51zjf4qnh6dw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-lock" ,rust-async-lock-3)
+ ("rust-blocking" ,rust-blocking-1)
+ ("rust-futures-lite" ,rust-futures-lite-2))))
+ (home-page "https://github.com/smol-rs/async-fs")
+ (synopsis "Async filesystem primitives")
+ (description "This package provides async filesystem primitives.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-fs-1
(package
+ (inherit rust-async-fs-2)
(name "rust-async-fs")
(version "1.6.0")
(source
@@ -4321,18 +4344,13 @@ (define-public rust-async-fs-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "01if2h77mry9cnm91ql2md595108i2c1bfy9gaivzvjfcl2gk717"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-2)
("rust-autocfg" ,rust-autocfg-1)
("rust-blocking" ,rust-blocking-1)
("rust-futures-lite" ,rust-futures-lite-1))
#:cargo-development-inputs (("rust-libc" ,rust-libc-0.2)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/smol-rs/async-fs")
- (synopsis "Async filesystem primitives")
- (description "This package provides async filesystem primitives.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-async-global-executor-2
(package
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 133/147] gnu: Add rust-fs4-0.8.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
72c36f8656c9831693206868826466b029d9162f.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-fs4-0.8): New variable.

Change-Id: Ib82d04f31d1653e9bf075825aae22bbdd2b8d936
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a378599d6..b9770c9194 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25581,6 +25581,37 @@ (define-public rust-fs2-0.4
duplication.")
(license (list license:expat license:asl2.0))))
+(define-public rust-fs4-0.8
+ (package
+ (name "rust-fs4")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fs4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r7zmrg7xdn32ybxdk3pdjw6c0mx81s4j8cq618h2zwx6r7f7cap"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; "#![feature] may not be used on the stable release channe"
+ #:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-smol" ,rust-smol-2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))
+ #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-smol-potat" ,rust-smol-potat-1)
+ ("rust-tempdir" ,rust-tempdir-0.3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/al8n/fs4-rs")
+ (synopsis "Cross-platform file locks")
+ (description "This package provides cross-platform file locks, originally
+based on the @code{fs2} library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fs-at-0.1
(package
(name "rust-fs-at")
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 134/147] gnu: libloading-0.8: Update to 0.8.3.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
b5ad9a98c1d845335ac4d1b1b8b180e71940d8c9.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (libloading-0.8): Update to 0.8.3.

Change-Id: I66dabf63b7c9c87e12d805be318d6fcf994712ed
---
gnu/packages/crates-io.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b9770c9194..213320e143 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34706,14 +34706,14 @@ (define-public rust-libfuzzer-sys-0.3
(define-public rust-libloading-0.8
(package
(name "rust-libloading")
- (version "0.8.1")
+ (version "0.8.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "libloading" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0q812zvfag4m803ak640znl6cf8ngdd0ilzky498r6pwvmvbcwf5"))
+ (base32 "06awqx9glr3i7mcs6csscr8d6dbd9rrk6yglilmdmsmhns7ijahc"))
(modules '((guix build utils)))
(snippet
'(begin (for-each delete-file
@@ -34722,10 +34722,11 @@ (define-public rust-libloading-0.8
(arguments
`(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-windows-sys" ,rust-windows-sys-0.48))
+ ("rust-windows-targets" ,rust-windows-targets-0.52))
#:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2)
- ("rust-static-assertions" ,rust-static-assertions-1))))
+ ("rust-static-assertions" ,rust-static-assertions-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
(home-page "https://github.com/nagisa/rust_libloading/")
(synopsis "Safer binding to dynamic library loading utilities")
(description "This package provides a safer binding to dynamic library
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 135/147] gnu: rust-proc-macro2-1: Update to 1.0.79.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
df0184a3c0b0686a3c5936bd06c9dcb18b581b3e.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-proc-macro2-1): Update to 1.0.79.

Change-Id: Ia26e2250139fc4c09fd456a6acce1280210cc548
---
gnu/packages/crates-io.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 213320e143..a2bb6ea941 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50715,22 +50715,25 @@ (define-public rust-proc-macro-nested-0.1
(define-public rust-proc-macro2-1
(package
(name "rust-proc-macro2")
- (version "1.0.76")
+ (version "1.0.79")
(source
(origin
(method url-fetch)
(uri (crate-uri "proc-macro2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "136cp0fgl6rg5ljm3b1xpc0bn0lyvagzzmxvbxgk5hxml36mdz4m"))))
+ (base32 "0bn004ybzdqid81cqppr5c9jrvqsxv50x60sxc41cwpmk0igydg8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--lib")
#:cargo-inputs
(("rust-unicode-ident" ,rust-unicode-ident-1))
#:cargo-development-inputs
- (("rust-quote" ,rust-quote-1)
- ("rust-rustversion" ,rust-rustversion-1))))
+ (("rust-flate2" ,rust-flate2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-tar" ,rust-tar-0.4))))
(home-page "https://github.com/dtolnay/proc-macro2")
(synopsis "Stable implementation of the upcoming new `proc_macro` API")
(description "This package provides a stable implementation of the upcoming new
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 136/147] gnu: rust-toml-0.8: Update to 0.8.12.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
2335ea5eb7fa1514c641a6e507208f589db1585f.1712070309.git.jean@foundation.xyz
* gnu/packages/crates-io.scm (rust-toml-0.8): Update to 0.8.12.

Change-Id: I69a1a4163aaaae6d3b3adf2f51ef4f9bd852e53b
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (31 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a2bb6ea941..9e2a615081 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74115,21 +74115,21 @@ (define-public rust-tokio-vsock-0.3
(define-public rust-toml-0.8
(package
(name "rust-toml")
- (version "0.8.8")
+ (version "0.8.12")
(source
(origin
(method url-fetch)
(uri (crate-uri "toml" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ddbahcrrxf9374mkn3c1h2a2g6a883qx23kywl6k8lxikn9b8d1"))))
+ (base32 "18rs8cbzmapwcxf0lpdwz84fmsgp9h5vv6xay5d4m2r0x12ibpg9"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2)
("rust-serde" ,rust-serde-1)
("rust-serde-spanned" ,rust-serde-spanned-0.6)
("rust-toml-datetime" ,rust-toml-datetime-0.6)
- ("rust-toml-edit" ,rust-toml-edit-0.21))
+ ("rust-toml-edit" ,rust-toml-edit-0.22))
#:cargo-development-inputs
(("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 138/147] gnu: tree-sitter-html: Update to 0.20.2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
5a4487441d13b773e05819282a02571a874f2d45.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-html): Update to 0.20.2.

Change-Id: I239b6f3f734679587c13d25ee29c4321c24ee2bf
---
gnu/packages/tree-sitter.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 46234665a0..d3fa55b57b 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -373,8 +373,8 @@ (define* (tree-sitter-grammar
(define-public tree-sitter-html
(tree-sitter-grammar
"html" "HTML"
- "1hg7vbcy7bir6b8x11v0a4x0glvqnsqc3i2ixiarbxmycbgl3axy"
- "0.19.0"))
+ "07nx2xkhadici5h7j5wyqnxwydr86lp9x07cgrn5kapqf03nn6cq"
+ "0.20.2"))
(define-public tree-sitter-javascript
;; Keep version in synchronization with tree-sitter-typescript.
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 137/147] gnu: tree-sitter: Update to 0.22.2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
0d06834fbf889a9140b2087cf0b3a9fa1b5ab38f.1712070309.git.jean@foundation.xyz
* gnu/local.mk (dist_patch_DATA): Add
tree-sitter-org-package-json.patch and
tree-sitter-plantuml-package-json.patch.
* gnu/packages/patches/tree-sitter-org-package-json.patch: New
patch.
* gnu/packages/patches/tree-sitter-plantuml-package-json.patch: New
patch.
* gnu/packages/tree-sitter.scm
(tree-sitter): Update to 0.22.2.
(tree-sitter-cli): Update to 0.22.2.
(tree-sitter-javascript): Update to 0.20.4.
(tree-sitter-typescript): Update to 0.20.6.
(tree-sitter-c): Update to 0.21.0.
(tree-sitter-cpp): Update to 0.20.5 and disable highlight tests.
(tree-sitter-elixir): Update to 0.1.1, patch grammar file and
disable highligh tests.
(tree-sitter-dockerfile): Update to 0.1.2-29.33e22c3.
(tree-sitter-gomod): Update to 1.0.2.
(tree-sitter-java): Update to 0.20.2.
(tree-sitter-markdown): Update to 0.2.3-3.4401749 and disable failing
tests.
(tree-sitter-markdown-gfm): Remove variable. GitHub Flavored Markdown is
now implemented in tree-sitter-markdown. This package does not compile
with the updated tree-sitter-cli.
(tree-sitter-ocaml): Fix compilation.
(tree-sitter-php): Update to 0.22.2.
(tree-sitter-python): Update to 0.21.0.
(tree-sitter-r): Update to 0.0.1-1.c55f8b4 and patch grammar.
(tree-sitter-ron): Fix compilation with updated tree-sitter.
(tree-sitter-ruby): Update to 0.20.1-2.9d86f37 and disable highlight
tests.
(tree-sitter-rust): Update to 0.20.4-25.3a56481.
(tree-sitter-meson): Update to 1.2.1.
(tree-sitter-org): Update to 1.3.1-3.64cfbc2 and apply patch.
(tree-sitter-plantuml): Update to 1.0.0-1.c7361a1, apply patch
and fix grammar.
(tree-sitter-scala): Update to 0.21.0.
* guix/build/tree-sitter-build-system.scm
(patch-dependencies): Drop `peerDependencies' from package.json.
(install): Add `src' to include directories in order for external
scanners to find `tree_sitter/parser.h'.

Change-Id: I5dc0114c6fb645362b4cae033f0d483182708d48
---
gnu/local.mk | 2 +
.../tree-sitter-org-package-json.patch | 35 ++
.../tree-sitter-plantuml-package-json.patch | 38 ++
gnu/packages/tree-sitter.scm | 497 ++++++++++++------
guix/build/tree-sitter-build-system.scm | 4 +
5 files changed, 405 insertions(+), 171 deletions(-)
create mode 100644 gnu/packages/patches/tree-sitter-org-package-json.patch
create mode 100644 gnu/packages/patches/tree-sitter-plantuml-package-json.patch

Toggle diff (449 lines)
diff --git a/gnu/local.mk b/gnu/local.mk
index dd505b0654..ff7085c812 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2114,6 +2114,8 @@ dist_patch_DATA = \
%D%/packages/patches/tpetra-remove-duplicate-using.patch \
%D%/packages/patches/transcode-ffmpeg.patch \
%D%/packages/patches/transmission-4.0.5-fix-build.patch \
+ %D%/packages/patches/tree-sitter-org-package-json.patch \
+ %D%/packages/patches/tree-sitter-plantuml-package-json.patch \
%D%/packages/patches/trytond-add-egg-modules-to-path.patch \
%D%/packages/patches/trytond-add-guix_trytond_path.patch \
%D%/packages/patches/ttf2eot-cstddef.patch \
diff --git a/gnu/packages/patches/tree-sitter-org-package-json.patch b/gnu/packages/patches/tree-sitter-org-package-json.patch
new file mode 100644
index 0000000000..b8d332984d
--- /dev/null
+++ b/gnu/packages/patches/tree-sitter-org-package-json.patch
@@ -0,0 +1,35 @@
+From bdb16fc7157ad410cfc0c15235861a7e5a01783b Mon Sep 17 00:00:00 2001
+From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
+Date: Tue, 2 Apr 2024 16:39:55 +0200
+Subject: [PATCH] package.json: Add tree-sitter section.
+
+Needed by newer tree-sitter versions.
+---
+ package.json | 13 ++++++++++++-
+ 1 file changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/package.json b/package.json
+index f1557ba..f0ea705 100644
+--- a/package.json
++++ b/package.json
+@@ -27,5 +27,16 @@
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/milisims/tree-sitter-org/issues"
+- }
++ },
++ "tree-sitter": [
++ {
++ "scope": "none",
++ "file-types": [
++ "org"
++ ],
++ "highlights": [
++ "queries/highlights.scm"
++ ]
++ }
++ ]
+ }
+--
+2.41.0
+
diff --git a/gnu/packages/patches/tree-sitter-plantuml-package-json.patch b/gnu/packages/patches/tree-sitter-plantuml-package-json.patch
new file mode 100644
index 0000000000..b56a565746
--- /dev/null
+++ b/gnu/packages/patches/tree-sitter-plantuml-package-json.patch
@@ -0,0 +1,38 @@
+From badd0f313ca4f2478cfcb6484eb03ab1536c54f0 Mon Sep 17 00:00:00 2001
+From: Jean-Pierre De Jesus DIAZ <jean@foundation.xyz>
+Date: Tue, 2 Apr 2024 16:28:29 +0200
+Subject: [PATCH] package.json: Add tree-sitter section.
+
+SPDX-FileCopyrightText: © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
+SPDX-License-Identifier: MIT
+
+Needed by newer tree-sitter versions.
+---
+ package.json | 13 ++++++++++++-
+ 1 file changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/package.json b/package.json
+index 7b31335..8597474 100644
+--- a/package.json
++++ b/package.json
+@@ -19,5 +19,16 @@
+ "devDependencies": {
+ "tree-sitter-cli": "^0.20.6",
+ "prettier": "^2.7.1"
+- }
++ },
++ "tree-sitter": [
++ {
++ "scope": "source.wsd",
++ "file-types": [
++ "pu",
++ "puml",
++ "iuml",
++ "plantuml"
++ ]
++ }
++ ]
+ }
+--
+2.41.0
+
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 7515461993..46234665a0 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2023, 2024 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023 Raven Hallsby <karl@hallsby.com>
+;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,9 +27,11 @@
(define-module (gnu packages tree-sitter)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
+ #:use-module (gnu packages containers)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-web)
+ #:use-module (gnu packages crates-vcs)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages node)
@@ -99,16 +102,16 @@ (define-public python-tree-sitter
(define-public tree-sitter
(package
(name "tree-sitter")
- (version "0.20.10") ;untagged
+ (version "0.22.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tree-sitter/tree-sitter")
- (commit "0e4ff0bb27edf37b76fc7d35aa768b02cf4392ad")))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "1bai4gdhf8w5p1i9np2kl2ms0jq6rgq98qpiipipzayb9jjjlxcy"))
+ "1dbndz3r9h11mr2nsivbf4v6snm3v37rp74ynf5wfvq21d53f4s6"))
(modules '((guix build utils)))
(snippet #~(begin
;; Remove bundled ICU parts
@@ -118,7 +121,16 @@ (define-public tree-sitter
(arguments
(list #:phases
#~(modify-phases %standard-phases
- (delete 'configure))
+ (delete 'configure)
+ ;; The library uses -fvisibility=hidden to compile, but this
+ ;; symbol is needed by the Rust bindings.
+ (add-after 'unpack 'patch-_ts_dup-visibility
+ (lambda _
+ (substitute* "lib/src/tree.c"
+ (("int _ts_dup")
+ (string-append
+ "int __attribute__ ((visibility (\"default\"))) "
+ "_ts_dup"))))))
#:tests? #f ; there are no tests for the runtime library
#:make-flags
#~(list (string-append "PREFIX=" #$output)
@@ -151,18 +163,21 @@ (define-public tree-sitter-cli
(inherit (package-source tree-sitter))
(snippet
#~(begin
- ;; Remove the runtime library code and dynamically link to
+ ;; Don't build the runtime library and dynamically link to
;; it instead.
- (delete-file-recursively "lib/src")
(delete-file "lib/binding_rust/build.rs")
(with-output-to-file "lib/binding_rust/build.rs"
(lambda _
- (format #t "fn main() {~@
+ (format #t "use std::{env, fs, path::{Path, PathBuf}};~@
+ fn main() {~@
+ let out_dir =
+ PathBuf::from(env::var(\"OUT_DIR\").unwrap());~@
+ fs::copy(\"src/wasm/stdlib-symbols.txt\",~@
+ out_dir.join(\"stdlib-symbols.txt\"))
+ .unwrap();~@
println!(\"cargo:rustc-link-lib=tree-sitter\");~@
}~%")))))))
(build-system cargo-build-system)
- (inputs
- (list tree-sitter graphviz node-lts))
(arguments
(list
#:cargo-test-flags
@@ -185,55 +200,99 @@ (define-public tree-sitter-cli
"--skip=tests::tags_test"
"--skip=tests::test_highlight_test"
"--skip=tests::test_tags_test"
- "--skip=tests::tree_test")
+ "--skip=tests::tree_test"
+ "--skip=tests::async_context_test"
+ "--skip=tests::text_provider_test"
+ "--skip=tests::detect_language"
+ "--skip=tests::language_test"
+ "--skip=tests::parser_hang_test")
;; We're only packaging the CLI program so we do not need to install
;; sources.
#:install-source? #f
#:cargo-inputs
`(("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-anstyle" ,rust-anstyle-1)
("rust-anyhow" ,rust-anyhow-1)
- ("rust-atty" ,rust-atty-0.2)
- ("rust-clap" ,rust-clap-2)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-ctor" ,rust-ctor-0.2)
+ ("rust-ctrlc" ,rust-ctrlc-3)
("rust-difference" ,rust-difference-2)
- ("rust-dirs" ,rust-dirs-3)
+ ("rust-dirs" ,rust-dirs-5)
+ ("rust-filetime" ,rust-filetime-0.2)
+ ("rust-fs4" ,rust-fs4-0.8)
+ ("rust-git2" ,rust-git2-0.18)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-heck" ,rust-heck-0.4)
("rust-html-escape" ,rust-html-escape-0.2)
- ("rust-libloading" ,rust-libloading-0.7)
- ("rust-path-slash" ,rust-path-slash-0.2)
- ("rust-rand" ,rust-rand-0.8)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-indoc" ,rust-indoc-2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libloading" ,rust-libloading-0.8)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.8)
("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-semver" ,rust-semver-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
("rust-smallbitvec" ,rust-smallbitvec-2)
("rust-thiserror" ,rust-thiserror-1)
("rust-tiny-http" ,rust-tiny-http-0.12)
("rust-toml" ,rust-toml-0.5)
("rust-walkdir" ,rust-walkdir-2)
- ("rust-webbrowser" ,rust-webbrowser-0.8)
- ("rust-which" ,rust-which-4))
+ ("rust-wasmparser" ,rust-wasmparser-0.201)
+ ("rust-wasmtime" ,rust-wasmtime-18)
+ ("rust-wasmtime-c-api-impl" ,rust-wasmtime-c-api-impl-18)
+ ("rust-webbrowser" ,rust-webbrowser-0.8))
#:cargo-development-inputs
- `(("rust-ctor" ,rust-ctor-0.1)
- ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)
+ `(("rust-ctor" ,rust-ctor-0.2)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-rand" ,rust-rand-0.8)
("rust-tempfile" ,rust-tempfile-3)
("rust-unindent" ,rust-unindent-0.2))
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'delete-.cargo/config.toml
+ (lambda _
+ (delete-file ".cargo/config.toml")))
(add-after 'unpack 'patch-node
(lambda _
(substitute* "cli/src/generate/mod.rs"
- (("Command::new\\(\"node\"\\)")
- (string-append
- "Command::new(\"" #$node-lts "/bin/node\")")))))
+ (("js_runtime\\.unwrap_or\\(\"node\"\\)")
+ (format #f "js_runtime.unwrap_or(\"~a/bin/node\")"
+ #$(this-package-input "node"))))))
(add-after 'unpack 'patch-dot
(lambda _
(substitute* "cli/src/util.rs"
(("Command::new\\(\"dot\"\\)")
- (string-append
- "Command::new(\"" #$graphviz "/bin/dot\")")))))
+ (format #f "Command::new(\"~a/bin/dot\")"
+ #$(this-package-input "graphviz"))))))
+ (add-after 'unpack 'patch-podman
+ (lambda _
+ (substitute* "cli/loader/src/lib.rs"
+ (("Command::new(\"podman\")")
+ (format #f "Command::new(\"~a/bin/podman\")"
+ #$(this-package-input "podman"))))))
+ (add-after 'unpack 'relax-version-requirements
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("git2 = \"0.18.2\"") "git2 = \"0.18\""))
+ ;; Relax rust-syn-2 version
+ (substitute* "cli/src/tests/proc_macro/Cargo.toml"
+ (("2\\.0\\.52") "2"))))
(replace 'install
(lambda _
(let ((bin (string-append #$output "/bin")))
(mkdir-p bin)
(install-file "target/release/tree-sitter" bin)))))))
+ (inputs
+ (list tree-sitter
+ graphviz
+ node-lts
+ podman))
(description "Tree-sitter is a parser generator tool and an incremental
parsing library. It can build a concrete syntax tree for a source file and
efficiently update the syntax tree as the source file is edited.
@@ -318,35 +377,32 @@ (define-public tree-sitter-html
"0.19.0"))
(define-public tree-sitter-javascript
- ;; Commit required by tree-sitter-typescript 0.20.3.
- (let ((commit "f772967f7b7bc7c28f845be2420a38472b16a8ee")
- (revision "22"))
- (tree-sitter-grammar
- "javascript" "JavaScript(JSX)"
- "0vp7z57scpbcvyxpya06lnpz9f5kjdb66wjlkrp684xwjjgq1wxd"
- (git-version "0.20.0" revision commit)
- #:commit commit
- #:get-cleanup-snippet
- (lambda (grammar-directories)
- #~(begin
- (use-modules (guix build utils))
- (delete-file "tree-sitter-javascript.wasm")
- (delete-file "binding.gyp")
- (delete-file-recursively "bindings")
- (for-each
- (lambda (lang)
- (with-directory-excursion lang
- (delete-file "src/grammar.json")
- (delete-file "src/node-types.json")
- (delete-file "src/parser.c")
- (delete-file-recursively "src/tree_sitter")))
- '#$grammar-directories))))))
+ ;; Keep version in synchronization with tree-sitter-typescript.
+ (tree-sitter-grammar
+ "javascript" "JavaScript(JSX)"
+ "1mvvc6cv46zyhxhdjycmj7746hbss7lxcxks61bzrh229nlrh6hy"
+ "0.20.4"
+ #:get-cleanup-snippet
+ (lambda (grammar-directories)
+ #~(begin
+ (use-modules (guix build utils))
+ (delete-file "tree-sitter-javascript.wasm")
+ (delete-file "binding.gyp")
+ (delete-file-recursively "bindings")
+ (for-each
+ (lambda (lang)
+ (with-directory-excursion lang
+ (delete-file "src/grammar.json")
+ (delete-file "src/node-types.json")
+ (delete-file "src/parser.c")
+ (delete-file-recursively "src/tree_sitter")))
+ '#$grammar-directories)))))
(define-public tree-sitter-typescript
(tree-sitter-grammar
"typescript" "TypeScript and TSX"
- "08k785q3cy8byrb3zrg93mfidnj1pcx1ggm1xhd8rgmfs2v6jns5"
- "0.20.3"
+ "1lv3w5wxpzjbq629b7krnbww2hba6vk4s7y3l8p4jm4kaw9v0sxq"
+ "0.20.6"
#:inputs (list tree-sitter-javascript)
#:grammar-directories '("typescript" "tsx")))
@@ -370,15 +426,25 @@ (define-public tree-sitter-css
(define-public tree-sitter-c
(tree-sitter-grammar
"c" "C"
- "00mhz2rz98pxssgyhm0iymgcb8cbv8slsf3nmfgyjhfchpmb9n6z"
- "0.20.6"))
+ "01w26hv024grc79wif26y655iy7w8p0zyfj5bhr6zxx8bbjbcypz"
+ "0.21.0"))
(define-public tree-sitter-cpp
- (tree-sitter-grammar
- "cpp" "C++"
- "0fsb6la0da3azh7m9p1w3w079bpg6074dy8jisjw1yq1w1r9grxy"
- "0.20.3"
- #:inputs (list tree-sitter-c)))
+ (let ((base (tree-sitter-grammar
+ "cpp" "C++"
+ "0fjxjm3gjqvcjqgjyq6lg6sgyy0ly69dinq33rmy56806da45lq9"
+ "0.20.5"
+ #:inputs (list tree-sitter-c))))
+ (package
+ (inherit base)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ ;; Highlight tests have not been updated yet for tree-sitter-cli@0.22
+ (add-before 'check 'delete-highligh-tests
+ (lambda _
+ (delete-file-recursively "test/highlight"))))))))))
(define-public tree-sitter-cmake
(tree-sitter-grammar
@@ -388,17 +454,30 @@ (define-public tree-sitter-cmake
#:repository-url "https://github.com/uyha/tree-sitter-cmake"))
(define-public tree-sitter-elixir
- ;; No tags at all, version in the source code is 0.19.0
- (let ((commit "b20eaa75565243c50be5e35e253d8beb58f45d56")
- (revision "0"))
- (tree-sitter-grammar
- "elixir" "Elixir"
- "1i0c0xki3sv24649p0ws7xs2jagbwg7z7baz1960239bj94nl487"
- (git-version "0.19.0" revision commit)
- #:article "an"
- #:repository-url "https://github.com/elixir-lang/tree-sitter-elixir"
- #:commit commit
- #:license (list license:asl2.0 license:expat))))
+ (let ((base (tree-sitter-grammar
+ "elixir" "Elixir"
+ "1fqsvqdjscmjj7vaq3mgs6j49m3412g5i9jrm1r61n1d8yrg3mzy"
+ "0.1.1"
+ #:article "an"
+ #:repository-url "https://github.com/elixir-lang/tree-sitter-elixir"
+ #:license (list license:asl2.0 license:expat))))
+ (package
+ (inherit base)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'fix-grammar-error
+ (lambda _
+ (substitute* "grammar.js"
+ (("x\\{\\[0-9a-fA-F\\]\\+\\}")
+ "x\\{[0-9a-fA-F]+\\}")
+ (("u\\{\\[0-9a-fA-F\\]\\+\\}")
+ "u\\{[0-9a-fA-F]+\\}"))))
+ ;; Highlight tests have not been updated yet for tree-sitter-cli@0.22
+ (add-before 'check 'delete-highligh-tests
+ (lambda _
+ (delete-file-recursively "test/highlight"))))))))))
(define-public tree-sitter-heex
(tree-sitter-grammar
@@ -420,11 +499,15 @@ (define-public tree-sitter-c-sharp
"0.20.0"))
(define-public tree-sitter-dockerfile
- (tree-sitter-grammar
- "dockerfile" "Dockerfile"
- "0kf4c4xs5naj8lpcmr3pbdvwj526wl9p6zphxxpimbll7qv6qfnd"
- "0.1.2"
- #:repository-url "https://github.com/camdencheek/tree-sitter-dockerfile"))
+ ;; From `git describe --tags'.
+ (let ((commit "33e22c33bcdbfc33d42806ee84cfd0b1248cc392")
+ (revision "29"))
+ (tree-sit
This message was truncated. Download the full message here.
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 139/147] gnu: tree-sitter-css: Update to 0.20.0-1.02b4ee7.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
65240dc85e3e1455ecfd9cb2ecd78eeb56b6f748.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-css): Update to
0.20.0-1.02b4ee7.

Change-Id: Ibaf312370cfeeae455ad285202cdf93d21739369
---
gnu/packages/tree-sitter.scm | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index d3fa55b57b..edd0dfa455 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -418,10 +418,28 @@ (define-public tree-sitter-bibtex
#:license license:expat)))
(define-public tree-sitter-css
- (tree-sitter-grammar
- "css" "CSS"
- "014jrlgi7zfza9g38hsr4vlbi8964i5p7iglaih6qmzaiml7bja2"
- "0.19.0"))
+ (let* ((commit "02b4ee757654b7d54fe35352fd8e53a8a4385d42")
+ (revision "1")
+ (base (tree-sitter-grammar
+ "css" "CSS"
+ "0j1kg16sly7xsvvc3kxyy5zaznlbz7x2j2bwwv1r1nki2249ly12"
+ (git-version "0.20.0" revision commit)
+ #:commit commit)))
+ (package
+ (inherit base)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ ;; NOTE: Remove this once tree-sitter-cli is update to fix this
+ ;; error.
+ ;;
+ ;; See <https://github.com/tree-sitter/tree-sitter/issues/3238>.
+ (add-before 'check 'fix-failing-test
+ (lambda _
+ (substitute* "test/corpus/selectors.txt"
+ (("::slotted pseudo element")
+ "slotted pseudo element")))))))))))
(define-public tree-sitter-c
(tree-sitter-grammar
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 140/147] gnu: tree-sitter-bash: Update to 0.21.0.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
57acf40e0d45b930ff4175d940391b715aa5806b.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-bash): Update to 0.21.0.

Change-Id: Ieaf96c7dc3303a4244b25284f7b3ab57555c83f7
---
gnu/packages/tree-sitter.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index edd0dfa455..c9cbf5219a 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -507,8 +507,8 @@ (define-public tree-sitter-heex
(define-public tree-sitter-bash
(tree-sitter-grammar
"bash" "Bash"
- "01sjympivwhr037c0gdx5fqw8fvzchq4fd4m8wlr8mdw50di0ag2"
- "0.20.4"))
+ "13mizaf84snksr0hs3fhax4vayb9rrv64qqgr6q0sxisqs3z25z9"
+ "0.21.0"))
(define-public tree-sitter-c-sharp
(tree-sitter-grammar
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 141/147] gnu: tree-sitter-elm: Update to 5.7.0.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
81a8203d70bf6f5314353776d2fbfd96079c7fc4.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-elm): Update to 5.7.0.

Change-Id: Idc10c1dbd9c36f75c6135cf5dbfd55749afb4505
---
gnu/packages/tree-sitter.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index c9cbf5219a..e504ae9ed4 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -530,8 +530,8 @@ (define-public tree-sitter-dockerfile
(define-public tree-sitter-elm
(tree-sitter-grammar
"elm" "Elm"
- "0b5jpj8bnil1ylisyc4w48j8a30dyf3zylhidj73mlrb8rf7xm2s"
- "5.6.3"
+ "1cbn5qiq2n607hcxg786jrhs2abln8fcsvkcab9wp9j8iw9pb0xx"
+ "5.7.0"
#:article "an"
#:repository-url "https://github.com/elm-tooling/tree-sitter-elm"))
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 142/147] gnu: tree-sitter-haskell: Update to 0.15.0.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
a6e5e55ef955896a1c83b0acf0e471c447eebdf3.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-haskell): Update to 0.15.0.

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

Toggle diff (25 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index e504ae9ed4..4acca3f6b3 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -549,14 +549,10 @@ (define-public tree-sitter-go
"0.20.0"))
(define-public tree-sitter-haskell
- ;; There are a lot of additions, the last tag was placed more than 4 years ago
- (let ((commit "3bdba07c7a8eec23f87fa59ce9eb2ea4823348b3")
- (revision "0"))
- (tree-sitter-grammar
- "haskell" "Haskell"
- "1hg19af1n510bndf5k5iri7dzb48xb527vispv1aapki4mvr98gx"
- (git-version "0.14.0" revision commit)
- #:commit commit)))
+ (tree-sitter-grammar
+ "haskell" "Haskell"
+ "08qzkvyc830k56j5lglfzmlp03ygixf9vlrpazbndqvqk20n56xa"
+ "0.15.0"))
(define-public tree-sitter-hcl
(tree-sitter-grammar
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 143/147] gnu: tree-sitter-json: Update to 0.20.2.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
0c18f4d258b470a34354b9881c2faa3a3d902705.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-json): Update to 0.20.2.

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

Toggle diff (24 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 4acca3f6b3..9a447ced45 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -574,13 +574,10 @@ (define-public tree-sitter-java
#:commit commit)))
(define-public tree-sitter-json
- ;; Not tagged
- (let ((commit "5d992d9dd42d533aa25618b3a0588f4375adf9f3"))
- (tree-sitter-grammar
- "json" "JSON"
- "08kxzqyyl900al8mc0bwigxlkzsh2f14qzjyb5ki7506myxlmnql"
- "0.20.0"
- #:commit commit)))
+ (tree-sitter-grammar
+ "json" "JSON"
+ "0cfmpfxr6dav0bzckzr03448x1k5a1vq21y6x4ynn8xqr19rby2l"
+ "0.20.2"))
(define-public tree-sitter-julia
(tree-sitter-grammar
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 144/147] gnu: tree-sitter-julia: Update to 0.20.0.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
36c40c72f339ae91cfb01cf0004602bb32622473.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-julia): Update to 0.20.0.

Change-Id: I1bd3f36cabe153c869fc4caf0e8ec11c56f11868
---
gnu/packages/tree-sitter.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 9a447ced45..f74fcb35e3 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -582,8 +582,8 @@ (define-public tree-sitter-json
(define-public tree-sitter-julia
(tree-sitter-grammar
"julia" "Julia"
- "1pbnmvhy2gq4vg1b0sjzmjm4s2gsgdjh7h01yj8qrrqbcl29c463"
- "0.19.0"))
+ "16l2flg1pzfcqd02k05y90ydmnki5vzp2m9rf2j2afr8slnawjaq"
+ "0.20.0"))
(define-public tree-sitter-kdl
(tree-sitter-grammar
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 145/147] gnu: tree-sitter-scheme: Update to 0.6.0-9.184e759.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
92fb4b81e0de3a9840778dbca775fdc711c8b710.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-scheme): Update to
0.6.0-9.184e759.

Change-Id: I9eeea2853af47bf2d62491b0790cfedf0ea1113b
---
gnu/packages/tree-sitter.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

Toggle diff (26 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index f74fcb35e3..02aa52db99 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -777,13 +777,14 @@ (define-public tree-sitter-org
(search-patches "tree-sitter-org-package-json.patch")))))))
(define-public tree-sitter-scheme
- ;; There are a lot of additions, the last tag was placed a while ago
- (let ((commit "67b90a365bebf4406af4e5a546d6336de787e135")
- (revision "0"))
+ ;; From `git describe --tags'. There are a lot of additions, the last tag
+ ;; was placed a while ago.
+ (let ((commit "184e7596ee0cbaef79230cae1b4ee5bb4fbad314")
+ (revision "9"))
(tree-sitter-grammar
"scheme" "Scheme (R5RS, R6RS)"
- "1pvxckza1kdfwqs78ka3lbwldrwkgymb31f5x1fq5vyawg60wxk8"
- (git-version "0.2.0" revision commit)
+ "0sqccw5az31di8jhb88v3afryiz7a4136g9a9xq8qni4znifw7y3"
+ (git-version "0.6.0" revision commit)
#:repository-url "https://github.com/6cdh/tree-sitter-scheme"
#:commit commit)))
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 146/147] gnu: tree-sitter-racket: Update to 0.3.0-10.d9858a0.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
e38fc480889e2807d73e9c1d3dfe236baa3c8c44.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-racket): Update to
0.3.0-10.d9858a0.

Change-Id: Ic2b2eaba58d7abb629ef357354b53ee8840335ee
---
gnu/packages/tree-sitter.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

Toggle diff (25 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 02aa52db99..f08c94542c 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -789,13 +789,13 @@ (define-public tree-sitter-scheme
#:commit commit)))
(define-public tree-sitter-racket
- ;; No tags
- (let ((commit "1a5df0206b25a05cb1b35a68d2105fc7493df39b")
- (revision "0"))
+ ;; From `git describe --tags'.
+ (let ((commit "d9858a0f607578814f2d34662ad4bc21aa37a455")
+ (revision "10"))
(tree-sitter-grammar
"racket" "Racket"
- "06gwn3i7swhkvbkgxjlljdjgvx8y1afafbqmpwya70r9z635593h"
- (git-version "0.1.0" revision commit)
+ "00ls8aalxp9jxw65c7hmbjjzdngnl8y9bz3qzf2mq1lpazz7v8ai"
+ (git-version "0.3.0" revision commit)
#:repository-url "https://github.com/6cdh/tree-sitter-racket"
#:commit commit)))
--
2.41.0
J
J
Jean-Pierre De Jesus DIAZ wrote on 2 Apr 18:05 +0200
[PATCH 147/147] gnu: tree-sitter-lua: Update to 0.1.0.
(address . 70146@debbugs.gnu.org)(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
9165805d90843814f75de73b1d428f8b01be9e14.1712070309.git.jean@foundation.xyz
* gnu/packages/tree-sitter.scm (tree-sitter-lua): Update to 0.1.0.

Change-Id: Ifcfa17546e498ca2871e46e78a5e89c231a51b99
---
gnu/packages/tree-sitter.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index f08c94542c..9e9fbf8944 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -835,8 +835,8 @@ (define-public tree-sitter-plantuml
(define-public tree-sitter-lua
(tree-sitter-grammar
"lua" "Lua"
- "05irhg6gg11r9cnzh0h3691pnxjhd396sa1x8xrgqjz2fd09brf3"
- "0.0.19"
+ "1184dazb4agqf3v55sz8i7xmynsn4rkddhbph3mgmh5qsnk88mmq"
+ "0.1.0"
#:repository-url "https://github.com/MunifTanjim/tree-sitter-lua"))
(define-public tree-sitter-scala
--
2.41.0
E
E
Efraim Flashner wrote on 2 Apr 18:15 +0200
Re: [bug#70146] [PATCH rust-team 000/147] tree-sitter: Update to 0.22.2.
(name . Jean-Pierre De Jesus DIAZ)(address . jean@foundation.xyz)
ZgwvPltF0x-jdCam@3900XT
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmYMLzsACgkQQarn3Mo9
g1HeHg//X3AXdz/4sxDsK322ps1sVqDBXzEdCcST0MdMSgvdLHDlnT7QNGhL3vAN
mopUEm1lXRBcp/8TMm+AxLyTEhiepNoMV0pc+z0EqPpJXmDELAhVMAwX6D4gg/76
OkygCRnSF5WYFpHwswR4qcoeUKg2dBHQ7xhq4av6qaODnMmuXIS4+C+sekhamdXy
4OgORyuzfmYcSuvu+9ZLu4cW3EOlKAE6ju06dZlimwpTTpq1MeKqu0C3o7qYnUBX
QfbW0B3jXApYUzorI6gx2O4n09lXnf10u5Qc6dKl8Bs0RDojrnpMIaCq2wtUJYvz
Mk+ajgeJXOPvl6Bu+J6GHFCjIEf3sMxX8StnqMGWjN1W5nsNJgxKDK4UpMBL9LzN
hRJEAQ97ZuzhigfRDNYLmZsAp6noPsPqTdUYCPMQkjvvJ9neOdJ6/SaU8V4g/O/v
F8mJCPb5pawV9JTQaZyHoxL0OnUKuvo9U8O0KQ1E/sSJGm0RxfxcKDKIX/L9TzRZ
0QrOjcUh4uVsNm0AhrFWj+w/+qUkkuukDLsiSsBS9ZVOZ8ISKRvazpwKnBWlc/xD
goEHLJCOuzwWM/nymRcUmsfE/wgOBxzGkUo3OsgHJE6OWUgBn2VAPBq402J6ajoy
h8FJoPMDlLjjyHAUtE+ft067VxNjL33ZPDKvRhBcHF3tQlGoTf4=
=D4Y7
-----END PGP SIGNATURE-----


J
J
Jean-Pierre De Jesus Diaz wrote on 2 Apr 18:29 +0200
CAG1gdUrfXP74TmybzXHixG8TScHGf4bB95GRwUoMQdVs1YUzLw@mail.gmail.com
Toggle quote (4 lines)
>I have to admit I was looking at tree-sitter recently and wondering if
>it should be upgraded, and if all the grammars needed to be upgraded
>too at the same time.

I've updated the grammars that didn't build with the newer versions on the
same commit of tree-sitter update. Some required patches here and there
and they should be working fine. Haven't tested all of the parsers yet
in an editor.

Most of the errors were in the tests because this new version changed
how the highlight rules are prioritized so they need to be reordered in
the file. Others because regex brace escaping changed.

Toggle quote (5 lines)
>Another option if they're not all ready at the same time, can different
>grammars use different versions? Or in that case would it make more
>sense to prepare all the dependencies for the next tree-sitter version
>and then just not actually upgrade it until everything is ready?

I thought the same too, but I didn't know if it was suitable for Guix to do
that so that's why I opted into patching the grammars.

However looking at some of the grammars it seems that they don't have much
maintenance so looking at the future these grammars will be even harder
to compile in future versions so it'd make sense to have different versions of
`tree-sitter-cli' to accomodate for this. (some grammars haven't seen
a commit in 2 years for example).

I think delaying until everything is working will be hard because of that.

I think I can update the patch series to have two tree-sitter-cli versions.

On Tue, Apr 2, 2024 at 4:16?PM Efraim Flashner <efraim@flashner.co.il> wrote:
Toggle quote (210 lines)
>
> On Tue, Apr 02, 2024 at 05:01:25PM +0200, Jean-Pierre De Jesus DIAZ wrote:
> > This patch series updates tree-sitter and tree-sitter-cli to the newest
> > packages released, it also updates the grammars if they didn't build
> > with this newer version.
> >
> > I don't think this patch series is fully ready as the tree-sitter
> > ecosystem is still catching up to speed with the new release so not all
> > grammars are updated yet to work.
> >
> > However this patch series provides fixes for most of these grammars and
> > the Rust patches I think could be applied in the meantime.
>
> I have to admit I was looking at tree-sitter recently and wondering if
> it should be upgraded, and if all the grammars needed to be upgraded
> too at the same time.
>
> Another option if they're not all ready at the same time, can different
> grammars use different versions? Or in that case would it make more
> sense to prepare all the dependencies for the next tree-sitter version
> and then just not actually upgrade it until everything is ready?
>
> > I based this patch series on the `master' branch instead of `rust-team'
> > let me know if it's easier and I can rebase to use that branch instead.
>
> I'll see how well the patches apply. I see a couple that are already on
> the rust-team branch.
>
> > I've decided to not package rust-ittapi and rust-ittapi-sys for
> > rust-wasmtime and provided a patch instead to opt-out since these
> > crates are only a facade to a library that needs to be loaded at
> > runtime by Intel® VTune™ which is closed source.
>
> Makes sense.
>
> > Jean-Pierre De Jesus DIAZ (147):
> > gnu: rust-anyhow-1: Update to 1.0.80.
> > gnu: Add rust-clap-lex-0.7.
> > gnu: Add rust-strsim-0.11.
> > gnu: rust-shlex-1: Update to 1.3.0.
> > gnu: Add rust-anstyle-lossy-1.
> > gnu: Add rust-anstyle-svg-0.1.
> > gnu: Add rust-escape8259-0.5.
> > gnu: Add rust-libtest-mimic-0.7.
> > gnu: rust-snapbox-macros-0.3: Update to 0.3.8.
> > gnu: Add rust-snapbox-0.5.
> > gnu: rust-serde-spanned-0.6: Update to 0.6.5.
> > gnu: Add rust-winnow-0.6.
> > gnu: rust-indexmap-2: Update to 2.2.5.
> > gnu: rust-serde-json-1: Update to 1.0.114.
> > gnu: rust-toml-test-data-1: Update to 1.8.0.
> > gnu: Add rust-toml-edit-0.22.
> > gnu: Add rust-trycmd-0.15.
> > gnu: Add rust-heck-0.5.
> > gnu: rust-clap-4: Update to 4.5.3.
> > gnu: rust-libc-0.2: Update to 0.2.153.
> > gnu: Add rust-nix-0.28.
> > gnu: rust-ctrlc-3: Update to 3.4.4.
> > gnu: rust-filetime-0.2: Update to 0.2.23.
> > gnu: rust-value-bag-sval2: Update to 1.8.1.
> > gnu: rust-value-bag-sval2-1: Update to 1.8.1.
> > gnu: rust-value-bag-1: Update to 1.8.1.
> > gnu: rust-log-0.4: Update to 0.4.23.
> > gnu: rust-regex-automata-0.4: Update to 0.4.6.
> > gnu: rust-regex-1: Update to 1.10.3.
> > gnu: rust-semver-1: Update 1.0.22.
> > gnu: rust-serde-derive-1: Update to 1.0.197.
> > gnu: rust-serde-1: Update to 1.0.197.
> > gnu: rust-walkdir-2: Update to 2.5.0.
> > gnu: Add rust-wasmparser-0.201.
> > gnu: Add rust-wasmparser-0.121.
> > gnu: Add rust-wasmparser-0.118.
> > gnu: rust-webbrowser-0.8: Update to 0.8.13.
> > gnu: rust-ctor-0.2: Update to 0.2.7.
> > gnu: rust-rustix-0.38: Update to 0.38.31.
> > gnu: rust-tempfile-3: Update to 3.10.1.
> > gnu: rust-bumpalo-3: Update to 3.15.4.
> > gnu: rust-derive-arbitrary-1: Update to 1.3.2.
> > gnu: rust-arbitrary-1: Update to 1.3.2.
> > gnu: rust-psm-0.1: Update to 0.1.21.
> > gnu: Add rust-afl-0.11.
> > gnu: Add rust-cpp-demangle-0.3.
> > gnu: Add rust-leb128-0.2.
> > gnu: Add rust-wasm-encoder-0.201.
> > gnu: Add rust-wasm-encoder-0.41.
> > gnu: Add rust-wast-201.
> > gnu: Add rust-wast-35.
> > gnu: Add rust-wat-1.
> > gnu: Add rust-id-arena-2.
> > gnu: Add rust-souper-ir-2.
> > gnu: Add rust-fallible-iterator-0.3.
> > gnu: Add rust-slice-group-by-0.3.
> > gnu: Add rust-regalloc2-0.9.
> > gnu: Add rust-capstone-sys-0.13.
> > gnu: Add rust-capstone-0.9.
> > gnu: Add rust-gimli-0.28.
> > gnu: Add rust-cranelift-entity-0.105.
> > gnu: Add rust-cranelift-bforest-0.105.
> > gnu: Add rust-cranelift-codegen-shared-0.105.
> > gnu: Add rust-cranelift-codegen-meta-0.105.
> > gnu: Add rust-cranelift-control-0.105.
> > gnu: Add rust-cranelift-isle-0.105.
> > gnu: Add rust-cranelift-frontend-0.105.
> > gnu: Add rust-cranelift-native-0.105.
> > gnu: Add rust-cranelift-wasm-0.105.
> > gnu: Add rust-cranelift-codegen-0.105.
> > gnu: Add rust-memfd-0.6.
> > gnu: Add rust-ruzstd-0.5.
> > gnu: Add rust-object-0.32.
> > gnu: Add rust-wasmprinter-0.2.
> > gnu: Add rust-wasmtime-component-util-18.
> > gnu: Add rust-wasmtime-types-18.
> > gnu: Add rust-wasmtime-environ-18.
> > gnu: Add rust-winch-codegen-0.16.
> > gnu: Add rust-addr2line-0.21.
> > gnu: Add rust-fxprof-processed-profile-0.6.
> > gnu: Add rust-wasmtime-cache-18.
> > gnu: Add rust-wit-parser-0.13.
> > gnu: Add rust-wasmtime-wit-bindgen-18.
> > gnu: Add rust-wasmtime-component-macro-18.
> > gnu: Add rust-wasmtime-cranelift-shared-18.
> > gnu: Add rust-wasmtime-versioned-export-macros-18.
> > gnu: Add rust-wasmtime-cranelift-18.
> > gnu: Add rust-wasmtime-asm-macros-18.
> > gnu: Add rust-wasmtime-fiber-18.
> > gnu: Add rust-wasmtime-jit-debug-18.
> > gnu: Add rust-wasmtime-jit-icache-coherence-18.
> > gnu: Add rust-wasmtime-wmemcheck-18.
> > gnu: Add rust-wasmtime-winch-18.
> > gnu: Add rust-wasmtime-runtime-18.
> > gnu: Add rust-wasmtime-18.
> > gnu: Add rust-arf-strings-0.7.
> > gnu: Add rust-ambient-authority-0.0.2.
> > gnu: Add rust-fs-set-times-0.20.
> > gnu: Add rust-io-extras-0.18.
> > gnu: Add rust-maybe-owned-0.3.
> > gnu: Add rust-winx-0.36.
> > gnu: Add rust-cap-primitives-2.
> > gnu: Add rust-cap-std-2.
> > gnu: Add rust-cap-fs-ext-2.
> > gnu: Add rust-cap-rand-2.
> > gnu: Add rust-windows-result-0.1.
> > gnu: rust-windows-targets-0.52: Update to 0.52.4.
> > gnu: Add rust-windows-core-0.52.
> > gnu: rust-iana-time-zone-0.1: Update to 0.1.60.
> > gnu: Add rust-cap-time-ext-2.
> > gnu: Add rust-char-device-0.16.
> > gnu: Add rust-fd-lock-4.
> > gnu: Add rust-socketpair-0.19.
> > gnu: Add rust-ssh2-0.9.
> > gnu: Add rust-system-interface-0.26.
> > gnu: Add rust-witx-0.9.
> > gnu: Add rust-wiggle-generate-18.
> > gnu: Add rust-wiggle-macro-18.
> > gnu: Add rust-wiggle-18.
> > gnu: Add rust-wasi-common-18.
> > gnu: Add rust-wasmtime-c-api-macros-18.
> > gnu: Add rust-cap-net-ext-2.
> > gnu: Add rust-wasmtime-wasi-18.
> > gnu: Add rust-wasmtime-c-api-impl-18.
> > gnu: rust-cc-1: Update to 1.0.90.
> > gnu: rust-thiserror-1: Update to 1.0.58.
> > gnu: Add rust-smol-potat-macro-0.6.
> > gnu: Add rust-smol-potat-1.
> > gnu: Add rust-event-listener-5.
> > gnu: Add rust-async-process-2.
> > gnu: Add rust-async-fs-2.
> > gnu: Add rust-smol-2.
> > gnu: Add rust-fs4-0.8.
> > gnu: libloading-0.8: Update to 0.8.3.
> > gnu: rust-proc-macro2-1: Update to 1.0.79.
> > gnu: rust-toml-0.8: Update to 0.8.12.
> > gnu: tree-sitter: Update to 0.22.2.
> > gnu: tree-sitter-html: Update to 0.20.2.
> > gnu: tree-sitter-css: Update to 0.20.0-1.02b4ee7.
> > gnu: tree-sitter-bash: Update to 0.21.0.
> > gnu: tree-sitter-elm: Update to 5.7.0.
> > gnu: tree-sitter-haskell: Update to 0.15.0.
> > gnu: tree-sitter-json: Update to 0.20.2.
> > gnu: tree-sitter-julia: Update to 0.20.0.
> > gnu: tree-sitter-scheme: Update to 0.6.0-9.184e759.
> > gnu: tree-sitter-racket: Update to 0.3.0-10.d9858a0.
> > gnu: tree-sitter-lua: Update to 0.1.0.
> >
> > gnu/local.mk | 3 +
> > gnu/packages/crates-io.scm | 2920 +++++++++++++++--
> > gnu/packages/crates-windows.scm | 74 +-
> > .../rust-wasmtime-18-remove-ittapi.patch | 46 +
> > .../tree-sitter-org-package-json.patch | 35 +
> > .../tree-sitter-plantuml-package-json.patch | 38 +
> > gnu/packages/tree-sitter.scm | 586 ++--
> > guix/build/tree-sitter-build-system.scm | 4 +
> > 8 files changed, 3261 insertions(+), 445 deletions(-)
> > create mode 100644 gnu/packages/patches/rust-wasmtime-18-remove-ittapi.patch
> > create mode 100644 gnu/packages/patches/tree-sitter-org-package-json.patch
> > create mode 100644 gnu/packages/patches/tree-sitter-plantuml-package-json.patch
> >
> >
> > base-commit: 7af70efd7633b0d70091762cf43ce01a86176e8e
> > --
> > 2.41.0
> >
> >
> >
> >
>
> --
> 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
M
Upstreaming wasmtime
(address . 70146@debbugs.gnu.org)(address . jean@foundation.xyz)
875xwy1alv.fsf@zenmaya.xyz
Hi,

I just noticed you posted a patch that includes the wasmtime library. I
have just now finished a patch series on doing a similar thing (although
the goal was to provide wasmtime-cli).

I haven't noticed that you submitted the patch, since the last time I
checked it was 2 days ago :D

Can we perhaps coordinate that patchset to this one? I opted for
wasmtime-19 generally and also moved the ~100 packages into a new file
called cargo-compilation, but generally the packages have a huge
overlap.

Best regards,
Maya

PS. I also noticed that you remove the ittapi with a patch. That is
something I haven't done myself.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEszXKRHy2TUbC4XjGNgSh1KkHV5kFAmYNtQwACgkQNgSh1KkH
V5mj9g/+LS7PebAoQtQPpGI4KyWpjmTezjoptjf8u6ApVecjVVjqnBxzU9vlUgt2
KeH/lhqiPpfcatMwLBrK3L9gfueQZqjArvT7tPD/r17BJEWJdwc9+dY8Tk0yFVPT
9pXefwFpidbJhUpY+e8+361/52vearOyUaPWItP5zSUGT0mMYlh2V3YxQACLRiUa
6cVvsj/wETXF84v1pw0rUR+mzP6xsFGAmy/Aqo1E/5k7qa23MsH2Ws7Vn3o6HmTu
oY1y/gYaK03oVfBNWk92SV7zG8qL+3YyDcooEnNMTlcBEeLpu9Bz04cv+aG1cWlW
HOcEaHiLQAAgrfrz04+KddyM50nshzE0Po/U+jfZCdwpHX2neyy8aEf0MaABA9pM
6xLJMz2gZEdT2MARMM0RFQUaqK1qM4pFASrSfz2pw1P98f1RHFXQ9KSSbuCovUzN
337nuINFGPQlGynaypmadSdhtFt89a0Cjfr4rE1cpcEIxsHZ6RwZvUb3w7IEpG6n
cY3NRcFaJTzlor+w7PnOFDFn2JFJq9sgISlhO9B6c1Us2MB3rcVZybQ5DyS8HDZ4
+HwsJRKK28wrpfiGOyhH2zjkmQj7a7RXDgBxg8whrHHaROk94MWyQrb7P4YkNjz2
Spgv0gaU3Vd/s02HV9wwhSH6Ifv8o3YWeY0G7K6NdBq3XaAdz2c=
=C+1z
-----END PGP SIGNATURE-----

J
J
Jean-Pierre De Jesus Diaz wrote on 5 Apr 12:03 +0200
(address . maya@zenmaya.xyz)(address . 70146@debbugs.gnu.org)
CAG1gdUqbGjQzbbJ-e8N6r6_ExEzYarqAsS3bLE1C2-+ns_8pSQ@mail.gmail.com
Hi,

Toggle quote (5 lines)
>Can we perhaps coordinate that patchset to this one? I opted for
>wasmtime-19 generally and also moved the ~100 packages into a new file
>called cargo-compilation, but generally the packages have a huge
>overlap.

Sure, would like to, just not sure how to do it, I think it'd be
preferable to ask
comitters to merge yours first so that I can rebase and `inherit' from your
packages and not do it the other way around since it'd require more diff
lines.

I think the patch for ittapi should also work for rust-wasmtime-19 as the
Cargo.toml is generated pre processed by Cargo and should be more or
less the same.

I don't think I'll provide a wasmtime-cli for version 18 but the other crates
I'll do, unless you need it and I can then add those.

My patch series can wait a bit since I have to do some refactorings first.

Feel free to look at the synopses and descriptions of the packages though
since I changed them a bit from the default of the importer.

On Wed, Apr 3, 2024 at 7:59?PM <maya@zenmaya.xyz> wrote:
Toggle quote (21 lines)
>
>
> Hi,
>
> I just noticed you posted a patch that includes the wasmtime library. I
> have just now finished a patch series on doing a similar thing (although
> the goal was to provide wasmtime-cli).
>
> I haven't noticed that you submitted the patch, since the last time I
> checked it was 2 days ago :D
>
> Can we perhaps coordinate that patchset to this one? I opted for
> wasmtime-19 generally and also moved the ~100 packages into a new file
> called cargo-compilation, but generally the packages have a huge
> overlap.
>
> Best regards,
> Maya
>
> PS. I also noticed that you remove the ittapi with a patch. That is
> something I haven't done myself.
M
(name . Jean-Pierre De Jesus Diaz)(address . jean@foundation.xyz)(address . 70146@debbugs.gnu.org)
871q7kx769.fsf@zenmaya.xyz
On 2024-04-05 10:03, Jean-Pierre De Jesus Diaz wrote:

Toggle quote (6 lines)
> Sure, would like to, just not sure how to do it, I think it'd be
> preferable to ask
> comitters to merge yours first so that I can rebase and `inherit' from your
> packages and not do it the other way around since it'd require more diff
> lines.

One way could probably be to share a git repository for the time being,
with the shared code, so we can both upstream the relevant packages. I
would probably base it on yours, as you have done more manual work in
the way of adding descriptions and removed the ittapi.

But it is your call. I also cannot send more than 20 emails a day, due
to my provider's limits, so 120 commits are not very manageable for me
to send as a patch series.

Toggle quote (3 lines)
> I don't think I'll provide a wasmtime-cli for version 18 but the other crates
> I'll do, unless you need it and I can then add those.

I think the most packages are pretty much the same. Maybe some patch
versions are bumped, which will need to bump them as well.

The second option on the course of actions is to just upstream
wasmtime-cli-18 after your patch series is merged, and bump the
necessary packages later. I don't want to burden you, I just want to
find a way for upstreaming both our work into guix.

As I would appreciate having wasmtime available in guix, but it can
wait. It was mostly an afternoon project of packaging and merging
changes and then I found your patch.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEszXKRHy2TUbC4XjGNgSh1KkHV5kFAmYP/m4ACgkQNgSh1KkH
V5mo9hAAhmc6wfWszAcIUbe57hpgCyQX+Gf+Fm1zIm7Ffa351vL1kCoB8bgdt6cR
G+NhytOiwraOrbc21t8YnASkgzOU+JYNJ+oYeeM2LLY9DDof2bxGXIsxY4Pu2z+s
pfTjguqz9x0kOybqnA1GmKr5lpZe142o7o73ZEbuV23u8u00zeks1sPBsPyiLLFf
1a/LNMsr+DVuM/5vKGtWS3dEPOIP1Vk2J/Peyy23uO+QA91D4LeMU7EbfFnJMSUp
/P7ijy2BoPcNUHkdaprB25ZfUin0oQ7ORnLsw/Zp0xtIeYgGvB9fc/ivcMrg1QTP
e++juiZv8FGGshkSiiVd1KvRRFm3Ja0979V3/Nq3EF/SIcfRla1UMlPRgYIo1JJA
6OmOSxy2I5lkTG26eZrBtbZflhiWuM/ReH2bJW+22sAxWuUsz3Dg5nYMpVQln/7v
UTyWKWHILuT3f1Kef3o8OhiHyIiDnMGusfQugItBDK/hNE2M9oIZTBdE520P1e9x
mvNc+fr8GlpkKCmRR4/T1O4LWeL5V+SJk0PLhj4OqSo+jiAt/iaw1840El0jE+Vm
9AwHQvrWWUp/yh/dOlUkYYl5k0rqzJ4O60Vn2zgkEI7ORc6mO6tny52DY4ufdViL
brWsgDjoF3o4/7HaKXfRJZuM1waq274SXWTpc40VbqxF+2quNlo=
=jndd
-----END PGP SIGNATURE-----

J
J
Jean-Pierre De Jesus Diaz wrote on 9 Apr 12:43 +0200
(name . Maya)(address . maya@zenmaya.xyz)(address . 70146@debbugs.gnu.org)
CAG1gdUrZCaTg4jayuEp2a1j0=v2DWXqfzYCdF4yhvaxBm-uAXg@mail.gmail.com
Toggle quote (5 lines)
>One way could probably be to share a git repository for the time being,
>with the shared code, so we can both upstream the relevant packages. I
>would probably base it on yours, as you have done more manual work in
>the way of adding descriptions and removed the ittapi.

I've made this branch:


It currently contains all of the patches in the patch series including
the tree-sitter ones.

I'll probably end up making another branch to rebase on the rust-team
branch as that can
potentially reduce the number of patches needed as some I did are
already there I think.

On Fri, Apr 5, 2024 at 1:36?PM Maya <maya@zenmaya.xyz> wrote:
Toggle quote (32 lines)
>
> On 2024-04-05 10:03, Jean-Pierre De Jesus Diaz wrote:
>
> > Sure, would like to, just not sure how to do it, I think it'd be
> > preferable to ask
> > comitters to merge yours first so that I can rebase and `inherit' from your
> > packages and not do it the other way around since it'd require more diff
> > lines.
>
> One way could probably be to share a git repository for the time being,
> with the shared code, so we can both upstream the relevant packages. I
> would probably base it on yours, as you have done more manual work in
> the way of adding descriptions and removed the ittapi.
>
> But it is your call. I also cannot send more than 20 emails a day, due
> to my provider's limits, so 120 commits are not very manageable for me
> to send as a patch series.
>
> > I don't think I'll provide a wasmtime-cli for version 18 but the other crates
> > I'll do, unless you need it and I can then add those.
>
> I think the most packages are pretty much the same. Maybe some patch
> versions are bumped, which will need to bump them as well.
>
> The second option on the course of actions is to just upstream
> wasmtime-cli-18 after your patch series is merged, and bump the
> necessary packages later. I don't want to burden you, I just want to
> find a way for upstreaming both our work into guix.
>
> As I would appreciate having wasmtime available in guix, but it can
> wait. It was mostly an afternoon project of packaging and merging
> changes and then I found your patch.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 70146@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 70146
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch