* [bug#74767] [PATCH rust-team 00/23] Add py-spy.
@ 2024-12-10 14:15 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 01/23] build/cargo: Delete trailing #t in phases Maxim Cournoyer
` (23 more replies)
0 siblings, 24 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:15 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
This adds py-spy, a Python profiler that can attach to live processes. It's
written in Rust, hence the packaging churn ;-). There are some simple changes
to the cargo build system too, adding more flexibility w.r.t. to controlling
parallel building/testing.
Maxim Cournoyer (23):
build/cargo: Delete trailing #t in phases.
build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments.
build/cargo: Resolve byte compilation warning.
gnu: Add rust-read-process-memory-0.1.
gnu: Update ust-wasmparser to 0.218.
gnu: rust-ruzstd-0.7: Update to 0.7.3.
gnu: rust-libc-0.2: Update to 0.2.168.
gnu: rust-proc-macro2-1: Update to 1.0.92.
gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test.
gnu: rust-syn-2: Update to 2.0.90.
gnu: Add rust-zerocopy-derive-0.8.
gnu: rust-object-0.36: Update to 0.36.5.
gnu: rust-gimli-0.31: Update to 0.31.1.
gnu: Add rust-goblin-0.9.
gnu: Add rust-proc-maps-0.4.
gnu: Add rust-mark-flaky-tests-macro-1.
gnu: Add rust-mark-flaky-tests-1.
gnu: Add rust-remoteprocess-0.5.
gnu: Add rust-lru-0.10.
gnu: rust-rle-decode-fast-1: Update to 1.0.3.
gnu: rust-inferno-0.11: Update to 0.11.21.
gnu: Add rust-py-spy-testdata-0.1.
gnu: Add py-spy.
gnu/local.mk | 1 +
gnu/packages/crates-check.scm | 81 +++++++++++
gnu/packages/crates-io.scm | 223 +++++++++++++++++++++++-------
gnu/packages/rust-apps.scm | 73 +++++++++-
guix/build-system/cargo.scm | 9 ++
guix/build/cargo-build-system.scm | 42 ++++--
6 files changed, 365 insertions(+), 64 deletions(-)
create mode 100644 gnu/packages/crates-check.scm
base-commit: 44b044d5f22c2d7683bd6201aa6620a8ba51061a
--
2.46.0
^ permalink raw reply [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 01/23] build/cargo: Delete trailing #t in phases.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments Maxim Cournoyer
` (22 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* guix/build/cargo-build-system.scm (unpack-rust-crates): Delete trailing #t.
(configure, patch-cargo-checksums, package, install): Likewise.
Change-Id: I510a46b3d35cd292d71d5646d4a0436f7d77f98e
---
guix/build/cargo-build-system.scm | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
index 132a811f49..84897393d9 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -105,8 +105,7 @@ (define* (unpack-rust-crates #:key inputs vendor-dir #:allow-other-keys)
(for-each (lambda (crate)
(invoke "tar" "xzf" crate "-C" vendor-dir))
- (find-files "target/package" "\\.crate$"))))
- #t)
+ (find-files "target/package" "\\.crate$")))))
(define (rust-package? name)
(string-prefix? "rust-" name))
@@ -220,8 +219,7 @@ (define* (configure #:key inputs
;; during building, and in any case if one is not present it is created
;; during the 'build phase by cargo.
(when (file-exists? "Cargo.lock")
- (delete-file "Cargo.lock"))
- #t)
+ (delete-file "Cargo.lock")))
;; After the 'patch-generated-file-shebangs phase any vendored crates who have
;; their shebangs patched will have a mismatch on their checksum.
@@ -229,10 +227,10 @@ (define* (patch-cargo-checksums #:key
(vendor-dir "guix-vendor")
#:allow-other-keys)
"Patch the checksums of the vendored crates after patching their shebangs."
- (generate-all-checksums vendor-dir)
- #t)
+ (generate-all-checksums vendor-dir))
(define* (build #:key
+ parallel-build?
skip-build?
(features '())
(cargo-build-flags '("--release"))
@@ -311,8 +309,7 @@ (define* (package #:key
(find-files dir #:directories? #t))
(delete-file-recursively dir)))
(find-files "." "\\.crate$")))))
- (format #t "Not installing cargo sources, skipping `cargo package`.~%"))
- #t)
+ (format #t "Not installing cargo sources, skipping `cargo package`.~%")))
(define* (install #:key
inputs
@@ -348,9 +345,7 @@ (define* (install #:key
(for-each (lambda (crate)
(invoke "tar" "xzf" crate "-C" sources))
- (find-files registry "\\.crate$")))
-
- #t))
+ (find-files registry "\\.crate$")))))
(define %standard-phases
(modify-phases gnu:%standard-phases
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 01/23] build/cargo: Delete trailing #t in phases Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 15:37 ` Efraim Flashner
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 03/23] build/cargo: Resolve byte compilation warning Maxim Cournoyer
` (21 subsequent siblings)
23 siblings, 1 reply; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* guix/build-system/cargo.scm (cargo-build): Add #:parallel-build? and
#:parallel-tests? arguments.
(cargo-cross-build): Likewise.
* guix/build/cargo-build-system.scm (build): Honor them.
(check): Likewise.
Change-Id: Idbee7aa3a6a7cd0fc222082837390b83cc8e8c07
---
guix/build-system/cargo.scm | 9 +++++++++
guix/build/cargo-build-system.scm | 23 ++++++++++++++++++++---
2 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm
index f24ff6195e..ea841a34eb 100644
--- a/guix/build-system/cargo.scm
+++ b/guix/build-system/cargo.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2021, 2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -95,6 +96,8 @@ (define* (cargo-build name inputs
(cargo-package-flags ''("--no-metadata" "--no-verify"))
(features ''())
(skip-build? #f)
+ (parallel-build? #t)
+ (parallel-tests? #t)
(install-source? #t)
(phases '%standard-phases)
(outputs '("out"))
@@ -122,6 +125,8 @@ (define* (cargo-build name inputs
#:cargo-target #$(cargo-triplet system)
#:features #$(sexp->gexp features)
#:skip-build? #$skip-build?
+ #:parallel-build? #$parallel-build?
+ #:parallel-tests? #$parallel-tests?
#:install-source? #$install-source?
#:tests? #$(and tests? (not skip-build?))
#:phases #$(if (pair? phases)
@@ -152,6 +157,8 @@ (define* (cargo-cross-build name
(cargo-target (cargo-triplet (or target system)))
(features ''())
(skip-build? #f)
+ (parallel-build? #t)
+ (parallel-tests? #t)
(install-source? (not (target-mingw? target)))
(phases '%standard-phases)
(outputs '("out"))
@@ -181,6 +188,8 @@ (define* (cargo-cross-build name
#:cargo-target #$(cargo-triplet (or target system))
#:features #$(sexp->gexp features)
#:skip-build? #$skip-build?
+ #:parallel-build? #$parallel-build?
+ #:parallel-tests? #$parallel-tests?
#:install-source? #$install-source?
#:tests? #$(and tests? (not skip-build?))
#:phases #$(if (pair? phases)
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
index 84897393d9..d125ff20ca 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -239,19 +240,35 @@ (define* (build #:key
(or skip-build?
(apply invoke
`("cargo" "build"
+ ,@(if parallel-build?
+ (list "-j" (number->string (parallel-job-count)))
+ '())
,@(if (null? features)
'()
`("--features" ,(string-join features)))
,@cargo-build-flags))))
(define* (check #:key
+ parallel-build?
+ parallel-tests?
tests?
(cargo-test-flags '("--release"))
#:allow-other-keys)
"Run tests for a given Cargo package."
- (if tests?
- (apply invoke "cargo" "test" cargo-test-flags)
- #t))
+ (when tests?
+ (apply invoke
+ `("cargo" "test"
+ ,@(if parallel-build?
+ (list "-j" (number->string (parallel-job-count)))
+ '())
+ ,@cargo-test-flags
+ ,@(if parallel-tests?
+ (append (if (member "--" cargo-test-flags)
+ '()
+ '("--"))
+ (list "--test-threads"
+ (number->string (parallel-job-count))))
+ '())))))
(define* (package #:key
source
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 03/23] build/cargo: Resolve byte compilation warning.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 01/23] build/cargo: Delete trailing #t in phases Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 04/23] gnu: Add rust-read-process-memory-0.1 Maxim Cournoyer
` (20 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* guix/build/cargo-build-system.scm: Hide `delete' symbol from (guix build
utils) import.
Change-Id: I75f0109a1a0984deb9888ec1c2b71cea4de22c76
---
guix/build/cargo-build-system.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
index d125ff20ca..397d86cf8e 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -25,7 +25,7 @@
(define-module (guix build cargo-build-system)
#:use-module ((guix build gnu-build-system) #:prefix gnu:)
#:use-module (guix build json)
- #:use-module (guix build utils)
+ #:use-module ((guix build utils) #:hide (delete))
#:use-module (guix build cargo-utils)
#:use-module (ice-9 popen)
#:use-module (ice-9 rdelim)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 04/23] gnu: Add rust-read-process-memory-0.1.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (2 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 03/23] build/cargo: Resolve byte compilation warning Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 05/23] gnu: Update ust-wasmparser to 0.218 Maxim Cournoyer
` (19 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-read-process-memory-0.1): New variable.
Change-Id: Iee6386d28ea10a83ac769251a7341a6d0caccdc6
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 81667a660a..e02212980d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -86154,6 +86154,29 @@ (define-public rust-thread-priority-0.10
"Library for managing threads priority and schedule policies.")
(license license:expat)))
+(define-public rust-read-process-memory-0.1
+ (package
+ (name "rust-read-process-memory")
+ (version "0.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "read-process-memory" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c1vmw8a2ywf7v96xfwbsyrnpk3fy8cc2a0rdxw8fs0b5wxni5w4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/rbspy/read-process-memory")
+ (synopsis "Read memory from another process")
+ (description "This package provides a crate that allows reading memory
+from another process.")
+ (license license:expat)))
+
(define-public rust-thread-tree-0.3
(package
(name "rust-thread-tree")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 05/23] gnu: Update ust-wasmparser to 0.218.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (3 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 04/23] gnu: Add rust-read-process-memory-0.1 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 06/23] gnu: rust-ruzstd-0.7: Update to 0.7.3 Maxim Cournoyer
` (18 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-wasmparser-0.216): Replace with...
(rust-wasmparser-0.218): ... this. Add comment w.r.t. disabling tests.
(rust-wasmparser-0.118): Inherit from it, removing now duplicate fields.
(rust-object-0.36): Adjust accordingly.
Change-Id: I712c36a92d751447560c9c5ca9770c450cfc5030
---
gnu/packages/crates-io.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e02212980d..7461fba144 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52174,7 +52174,7 @@ (define-public rust-object-0.36
("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.7)
- ("rust-wasmparser" ,rust-wasmparser-0.216))))
+ ("rust-wasmparser" ,rust-wasmparser-0.218))))
(home-page "https://github.com/gimli-rs/object")
(synopsis "Unified interface for reading and writing object file formats")
(description
@@ -95732,20 +95732,23 @@ (define-public rust-wasm-sync-0.1
and native running processes.")
(license (list license:expat license:asl2.0))))
-(define-public rust-wasmparser-0.216
+(define-public rust-wasmparser-0.218
(package
(name "rust-wasmparser")
- (version "0.216.0")
+ (version "0.218.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "wasmparser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1qr8j1c15r208d9nsjw01x3w71m9i4g756djnhgk37b1lfzfdpmw"))))
+ (base32 "1p65jvj1i6bh180hd656z8yzkn3zx8vs3a6i5lmsgspczk3ld7mh"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; failed to resolve: use of undeclared crate or module `wat`
+ ;; The test suite fails with error "failed to resolve: use of undeclared
+ ;; crate or module `wat`" (see:
+ ;; https://github.com/bytecodealliance/wasm-tools/issues/1947).
+ `(#:tests? #f
#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8)
("rust-bitflags" ,rust-bitflags-2)
("rust-hashbrown" ,rust-hashbrown-0.14)
@@ -95768,7 +95771,7 @@ (define-public rust-wasmparser-0.216
(define-public rust-wasmparser-0.118
(package
- (inherit rust-wasmparser-0.216)
+ (inherit rust-wasmparser-0.218)
(name "rust-wasmparser")
(version "0.118.2")
(source
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 06/23] gnu: rust-ruzstd-0.7: Update to 0.7.3.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (4 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 05/23] gnu: Update ust-wasmparser to 0.218 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 07/23] gnu: rust-libc-0.2: Update to 0.2.168 Maxim Cournoyer
` (17 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-ruzstd-0.7): Update to 0.7.3.
Change-Id: I5db86546237a2af5b619a14380a6298b956b8c8c
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7461fba144..b9f35a9255 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71253,17 +71253,17 @@ (define-public rust-rustyline-derive-0.3
(define-public rust-ruzstd-0.7
(package
(name "rust-ruzstd")
- (version "0.7.2")
+ (version "0.7.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "ruzstd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08ffshmfmmcgijcg4w517clpsxwknga89inxjw4hgb1s2f797hwr"))))
+ (base32 "17z83lw00pd3190yvdk2lksdi7my6wc0psgg07is6gf7pyb2kl7s"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Not all files included.
+ `(#:tests? #f ;missing data files
#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 07/23] gnu: rust-libc-0.2: Update to 0.2.168.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (5 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 06/23] gnu: rust-ruzstd-0.7: Update to 0.7.3 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 08/23] gnu: rust-proc-macro2-1: Update to 1.0.92 Maxim Cournoyer
` (16 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-libc-0.2): Update to 0.2.168.
Change-Id: If07c0bd242b012465728c7a44c2eb34fd81e75fb
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b9f35a9255..9fdfc582af 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40157,14 +40157,14 @@ (define-public rust-lexopt-0.3
(define-public rust-libc-0.2
(package
(name "rust-libc")
- (version "0.2.162")
+ (version "0.2.168")
(source
(origin
(method url-fetch)
(uri (crate-uri "libc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1633a00yyx45kzx9r54fndvr8njsjqyr7zl12mzgsmgyczg8glhq"))))
+ (base32 "0vab4inpw0dz78nii02hsxp1skqn06xzh64psw8wl1h63scb5bjs"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 08/23] gnu: rust-proc-macro2-1: Update to 1.0.92.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (6 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 07/23] gnu: rust-libc-0.2: Update to 0.2.168 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 09/23] gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test Maxim Cournoyer
` (15 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-proc-macro2-1): Update to 1.0.92.
Change-Id: Ib126bce83336075dca0aea7165c6ee084b7180f9
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9fdfc582af..8718871f41 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60396,14 +60396,14 @@ (define-public rust-proc-macro-nested-0.1
(define-public rust-proc-macro2-1
(package
(name "rust-proc-macro2")
- (version "1.0.89")
+ (version "1.0.92")
(source
(origin
(method url-fetch)
(uri (crate-uri "proc-macro2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0vlq56v41dsj69pnk7lil7fxvbfid50jnzdn3xnr31g05mkb0fgi"))))
+ (base32 "1c1vjy5wg8iy7kxsxda564qf4ljp0asysmbn2i7caj177x5m9lrp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--lib")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 09/23] gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (7 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 08/23] gnu: rust-proc-macro2-1: Update to 1.0.92 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 10/23] gnu: rust-syn-2: Update to 2.0.90 Maxim Cournoyer
` (14 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-syn-test-suite-0.0.0): Update to 0.0.0+test.
Change-Id: I30618df59eb75f033991155df86256c7a3aa1419
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8718871f41..9a6aa1e261 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82119,14 +82119,14 @@ (define-public rust-syn-derive-0.1
(define-public rust-syn-test-suite-0.0.0
(package
(name "rust-syn-test-suite")
- (version "0.0.0")
+ (version "0.0.0+test")
(source (origin
(method url-fetch)
(uri (crate-uri "syn-test-suite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "15yz9q7rgxaplv0zbnanzyv1la4gmg47yq5wlkcwv3cck4qlncdm"))))
+ "1d9ffrbgci1qjdcpvgrsg3sh24qdsdh66zcsvn5prrk05ycn3mm0"))))
(build-system cargo-build-system)
(arguments (list #:skip-build? #t))
(home-page "https://github.com/dtolnay/syn")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 10/23] gnu: rust-syn-2: Update to 2.0.90.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (8 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 09/23] gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 11/23] gnu: Add rust-zerocopy-derive-0.8 Maxim Cournoyer
` (13 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-syn-2): Update to 2.0.90.
[arguments]: Update comment above #:tests? argument.
Change-Id: Ic37eef85baebb3e45610fcaad57e0ae622b221e9
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9a6aa1e261..ff615677cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81886,18 +81886,18 @@ (define-public rust-symphonia-utils-xiph-0.4
(define-public rust-syn-2
(package
(name "rust-syn")
- (version "2.0.87")
+ (version "2.0.90")
(source (origin
(method url-fetch)
(uri (crate-uri "syn" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0bd3mfcswvn4jkrp7ich5kk58kmpph8412yxd36nsfnh8vilrai5"))))
+ (base32 "0cfg5dsr1x0hl6b9hz08jp1197mx0rq3xydqmqaws36xlms3p7ci"))))
(build-system cargo-build-system)
(arguments
;; Tests fail to compile
- ;; error[E0432]: unresolved imports `syn::Item`, `syn::Pat`
- `(#:tests? #false
+ ;; error[E0463]: can't find crate for `rustc_ast` (among other errors).
+ `(#:tests? #f
#:phases
(modify-phases %standard-phases
;; The syn-test-suite crate is empty.
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 11/23] gnu: Add rust-zerocopy-derive-0.8.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (9 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 10/23] gnu: rust-syn-2: Update to 2.0.90 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 12/23] gnu: rust-object-0.36: Update to 0.36.5 Maxim Cournoyer
` (12 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.8): New variable.
(rust-zerocopy-derive-0.7): Inherit from it.
Change-Id: Ia23684a67a84d656036c15d25d7634e6e49f05ab
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff615677cf..3c94381ffe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -98378,22 +98378,22 @@ (define-public rust-zerocopy-0.3
(define-public rust-zerocopy-derive-0.8
(package
(name "rust-zerocopy-derive")
- (version "0.8.9")
+ (version "0.8.13")
(source
(origin
(method url-fetch)
(uri (crate-uri "zerocopy-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1cd712qs5ccn6diy53ymk8vkprgcmnx1gvg3x3xsdxqxi362ywzs"))
+ (base32 "0pgjqk2w5wrw752wfsxgf7rwqjlk1r4vq5iky2fjijh38cxdg23r"))
(modules '((guix build utils)))
- (snippet
+ (snippet ;relax requirements
'(begin (substitute* "Cargo.toml"
(("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; unresolved import `zerocopy`
+ `(#:tests? #f ;error[E0432]: unresolved import `zerocopy`
#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 12/23] gnu: rust-object-0.36: Update to 0.36.5.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (10 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 11/23] gnu: Add rust-zerocopy-derive-0.8 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 13/23] gnu: rust-gimli-0.31: Update to 0.31.1 Maxim Cournoyer
` (11 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-object-0.36): Update to 0.36.5.
[arguments]: Simply #:cargo-test-flags.
{#:cargo-inputs}: Update rust-hashbrown to 0.15.
Change-Id: I06b78b73115c4078acb0604c3ac6d45566d42d96
---
gnu/packages/crates-io.scm | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c94381ffe..110b9b15ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52147,28 +52147,25 @@ (define-public rust-obj-0.9
(define-public rust-object-0.36
(package
(name "rust-object")
- (version "0.36.4")
+ (version "0.36.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "object" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "02h7k38dwi8rndc3y81n6yjxijbss99p2jm9c0b6ak5c45c1lkq8"))))
+ (base32 "0gk8lhbs229c68lapq6w6qmnm4jkj48hrcw5ilfyswy514nhmpxf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
- '("--release" "--"
- ;; Not all files are included
- "--skip=read::coff::coff_extended_relocations"
- "--skip=read::elf::get_buildid_bad_elf"
- "--skip=read::elf::get_buildid_less_bad_elf"
- "--skip=read::macho::test_go_macho")
+ ;; The parse_self test correspond to the unit tests; the integration
+ ;; tests have some failures for unknown reasons.
+ '("--release" "parse_self" "--")
#: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-hashbrown" ,rust-hashbrown-0.15)
("rust-indexmap" ,rust-indexmap-2)
("rust-memchr" ,rust-memchr-2)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 13/23] gnu: rust-gimli-0.31: Update to 0.31.1.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (11 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 12/23] gnu: rust-object-0.36: Update to 0.36.5 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 14/23] gnu: Add rust-goblin-0.9 Maxim Cournoyer
` (10 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-gimli-0.31): Update to 0.31.1.
Change-Id: I47dd49c9ad00da7a1dc079c138c9eea5cc2e4600
---
gnu/packages/crates-io.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 110b9b15ca..7b9caa3903 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31792,14 +31792,14 @@ (define-public rust-ghost-0.1
(define-public rust-gimli-0.31
(package
(name "rust-gimli")
- (version "0.31.0")
+ (version "0.31.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gimli" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0r1d55xdi1k2l5ah9p0n23i93pm47cl8apjm8rwgqd1j7yi5w21j"))))
+ (base32 "0gvqc0ramx8szv76jhfd4dms0zyamvlg4whhiz11j34hh3dqxqh7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -31809,9 +31809,10 @@ (define-public rust-gimli-0.31
("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))
- #:cargo-development-inputs (("rust-test-assembler" ,rust-test-assembler-0.1))))
+ #:cargo-development-inputs
+ (("rust-test-assembler" ,rust-test-assembler-0.1))))
(home-page "https://github.com/gimli-rs/gimli")
- (synopsis "Library for reading and writing the DWARF debugging format")
+ (synopsis "Library for reading and writing the DWARF debugging format.")
(description
"This package provides a library for reading and writing the DWARF
debugging format.")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 14/23] gnu: Add rust-goblin-0.9.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (12 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 13/23] gnu: rust-gimli-0.31: Update to 0.31.1 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 15/23] gnu: Add rust-proc-maps-0.4 Maxim Cournoyer
` (9 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-goblin-0.9): New variable.
(rust-goblin-0.8): Inherit from it.
Change-Id: I8b856eff3d79a76afde1c985e6424949d44e6f2a
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b9caa3903..62494dd453 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32487,20 +32487,20 @@ (define-public rust-gmp-mpfr-sys-1
libraries GMP, MPFR, and MPC.")
(license license:lgpl3+)))
-(define-public rust-goblin-0.8
+(define-public rust-goblin-0.9
(package
(name "rust-goblin")
- (version "0.8.0")
+ (version "0.9.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "goblin" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "11wqipqx0dbimxy5612nxpx79qja43sxic95llcb34r0xpzs81xv"))))
+ (base32 "08yrnjj5j4nddh6y1r8kf35ys7p3iwg6npga3nc4cwfps4r3zask"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Not all files included.
+ `(#:tests? #f ;there are missing data files
#:cargo-inputs (("rust-log" ,rust-log-0.4)
("rust-plain" ,rust-plain-0.2)
("rust-scroll" ,rust-scroll-0.12))
@@ -32511,6 +32511,25 @@ (define-public rust-goblin-0.8
and loading crate.")
(license license:expat)))
+(define-public rust-goblin-0.8
+ (package
+ (inherit rust-goblin-0.9)
+ (name "rust-goblin")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "goblin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11wqipqx0dbimxy5612nxpx79qja43sxic95llcb34r0xpzs81xv"))))
+ (arguments
+ `(#:tests? #f ; Not all files included.
+ #:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-plain" ,rust-plain-0.2)
+ ("rust-scroll" ,rust-scroll-0.12))
+ #:cargo-development-inputs (("rust-stderrlog" ,rust-stderrlog-0.5))))))
+
(define-public rust-goblin-0.7
(package
(inherit rust-goblin-0.8)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 15/23] gnu: Add rust-proc-maps-0.4.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (13 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 14/23] gnu: Add rust-goblin-0.9 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 16/23] gnu: Add rust-mark-flaky-tests-macro-1 Maxim Cournoyer
` (8 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-proc-maps-0.4): New variable.
Change-Id: I4fc7d6b5369181d839083d40b87b21373b8b95ba
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62494dd453..010a5ce78a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60532,6 +60532,31 @@ (define-public rust-proc-macro2-diagnostics-0.9
("rust-yansi" ,rust-yansi-0.5))
#:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))))
+(define-public rust-proc-maps-0.4
+ (package
+ (name "rust-proc-maps")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "proc-maps" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ys4dj9wzqj6z5k7i28qy7l2ff224znvjfyrzhjkl68flrd4rd1x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bindgen" ,rust-bindgen-0.70)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libproc" ,rust-libproc-0.14)
+ ("rust-mach2" ,rust-mach2-0.4)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/rbspy/proc-maps")
+ (synopsis "Helper crate for getting virtual memory maps from processes")
+ (description "This package provides a helper crate for getting virtual
+memory maps from processes.")
+ (license license:expat)))
+
(define-public rust-proc-mounts-0.3
(package
(name "rust-proc-mounts")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 16/23] gnu: Add rust-mark-flaky-tests-macro-1.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (14 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 15/23] gnu: Add rust-proc-maps-0.4 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 17/23] gnu: Add rust-mark-flaky-tests-1 Maxim Cournoyer
` (7 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-check.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
---
gnu/local.mk | 1 +
gnu/packages/crates-check.scm | 58 +++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
create mode 100644 gnu/packages/crates-check.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index a7bd32453b..654d5fdaaa 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -210,6 +210,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/cppi.scm \
%D%/packages/cran.scm \
%D%/packages/crates-apple.scm \
+ %D%/packages/crates-check.scm \
%D%/packages/crates-crypto.scm \
%D%/packages/crates-io.scm \
%D%/packages/crates-graphics.scm \
diff --git a/gnu/packages/crates-check.scm b/gnu/packages/crates-check.scm
new file mode 100644
index 0000000000..663a25ccc3
--- /dev/null
+++ b/gnu/packages/crates-check.scm
@@ -0,0 +1,58 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+;;;
+;;; Please: Try to add new module packages in alphabetic order.
+;;;
+
+(define-module (gnu packages crates-check)
+ #:use-module (guix build-system cargo)
+ #:use-module (guix download)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (gnu packages crates-io))
+
+(define-public rust-mark-flaky-tests-macro-1
+ (package
+ (name "rust-mark-flaky-tests-macro")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mark-flaky-tests-macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "115bb0pb4vb8pwm6lblcnc6zxxlk6w654njiphp696dj2vyiz2q7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/GoldsteinE/mark-flaky-tests/")
+ (synopsis "Mark, debug and auto-retry your flaky tests (proc-macro crate)")
+ (description
+ "This package provides Mark, debug and auto-retry your flaky tests (proc-macro crate).")
+ (license (list license:expat license:asl2.0))))
+
+;;;
+;;; Avoid adding new packages to the end of this file. To reduce the chances
+;;; of a merge conflict, place them above by existing packages with similar
+;;; functionality or similar names.
+;;;
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 17/23] gnu: Add rust-mark-flaky-tests-1.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (15 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 16/23] gnu: Add rust-mark-flaky-tests-macro-1 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 18/23] gnu: Add rust-remoteprocess-0.5 Maxim Cournoyer
` (6 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-check.scm (rust-mark-flaky-tests-1): New variable.
Change-Id: I85a28276548bacff3ccfdabe2b1bc62b47566f2e
---
gnu/packages/crates-check.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-check.scm b/gnu/packages/crates-check.scm
index 663a25ccc3..d59760fc2f 100644
--- a/gnu/packages/crates-check.scm
+++ b/gnu/packages/crates-check.scm
@@ -51,6 +51,29 @@ (define-public rust-mark-flaky-tests-macro-1
"This package provides Mark, debug and auto-retry your flaky tests (proc-macro crate).")
(license (list license:expat license:asl2.0))))
+(define-public rust-mark-flaky-tests-1
+ (package
+ (name "rust-mark-flaky-tests")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mark-flaky-tests" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0c29bflpb5aawl5vzcai2rhvphskvh7gdr5v9sq52lx0jmy4lv2q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures" ,rust-futures-0.3)
+ ("rust-mark-flaky-tests-macro" ,rust-mark-flaky-tests-macro-1))
+ #:cargo-development-inputs (("rust-paste" ,rust-paste-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/GoldsteinE/mark-flaky-tests/")
+ (synopsis "Mark, debug and auto-retry your flaky tests")
+ (description
+ "This package provides Mark, debug and auto-retry your flaky tests.")
+ (license (list license:expat license:asl2.0))))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 18/23] gnu: Add rust-remoteprocess-0.5.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (16 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 17/23] gnu: Add rust-mark-flaky-tests-1 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 19/23] gnu: Add rust-lru-0.10 Maxim Cournoyer
` (5 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-remoteprocess-0.5): New variable.
Change-Id: I0accd08b4eee79fcd2fc226c223f7486b0132824
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 010a5ce78a..f438ed12af 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83,6 +83,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
#:use-module (gnu packages crates-apple)
+ #:use-module (gnu packages crates-check)
#:use-module (gnu packages crates-crypto)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crates-gtk)
@@ -66827,6 +66828,44 @@ (define-public rust-relative-path-1
(description "This package provides portable, relative paths for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-remoteprocess-0.5
+ (package
+ (name "rust-remoteprocess")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "remoteprocess" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "087z016qvypalbqjgdxmri97vsrqg4k1kpmc8b5d5hdgqxq4f6g6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-addr2line" ,rust-addr2line-0.24)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-goblin" ,rust-goblin-0.9)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libproc" ,rust-libproc-0.14)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-mach-o-sys" ,rust-mach-o-sys-0.1)
+ ("rust-memmap2" ,rust-memmap2-0.9)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-object" ,rust-object-0.36)
+ ("rust-proc-maps" ,rust-proc-maps-0.4)
+ ("rust-read-process-memory" ,rust-read-process-memory-0.1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-mark-flaky-tests" ,rust-mark-flaky-tests-1))))
+ (home-page "https://github.com/benfred/remoteprocess")
+ (synopsis "Library for getting information on running processes")
+ (description "This package provides an API for getting information on
+running processes.")
+ (license license:expat)))
+
(define-public rust-rend-0.3
(package
(name "rust-rend")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 19/23] gnu: Add rust-lru-0.10.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (17 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 18/23] gnu: Add rust-remoteprocess-0.5 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 20/23] gnu: rust-rle-decode-fast-1: Update to 1.0.3 Maxim Cournoyer
` (4 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-lru-0.10): New variable.
(rust-lru-0.9): Inherit from it.
Change-Id: I74de3fb4266a851e8c025c3ef8e0a667971ed237
---
gnu/packages/crates-io.scm | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f438ed12af..93c346086a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43183,10 +43183,28 @@ (define-public rust-lru-0.12
(description "This package provides a LRU cache implementation.")
(license license:expat)))
-(define-public rust-lru-0.9
+(define-public rust-lru-0.10
(package
(inherit rust-lru-0.12)
(name "rust-lru")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lru" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w5n2sgh66ac8ihqv6688mlm7zb3ks18jlbzpbhwgw3x8jp8z3ki"))))
+ (arguments
+ `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13))
+ #:cargo-development-inputs
+ (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
+ ("rust-stats-alloc" ,rust-stats-alloc-0.1))))))
+
+(define-public rust-lru-0.9
+ (package
+ (inherit rust-lru-0.10)
+ (name "rust-lru")
(version "0.9.0")
(source
(origin
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 20/23] gnu: rust-rle-decode-fast-1: Update to 1.0.3.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (18 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 19/23] gnu: Add rust-lru-0.10 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 21/23] gnu: rust-inferno-0.11: Update to 0.11.21 Maxim Cournoyer
` (3 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-rle-decode-fast-1): Update to 1.0.3.
Change-Id: I274deddb0cef0218c99a869c4513b6e6aab14a22
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 93c346086a..5a75c0b8ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67280,14 +67280,14 @@ (define-public rust-ringbuf-0.2
(define-public rust-rle-decode-fast-1
(package
(name "rust-rle-decode-fast")
- (version "1.0.1")
+ (version "1.0.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "rle-decode-fast" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1b4h7qs4mssc5dnlhs3f91ya8pb40bv72zzshl18gify2jllzgna"))))
+ (base32 "08kljzl29rpm12fiz0qj5pask49aiswdvcjigdcq73s224rgd0im"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 21/23] gnu: rust-inferno-0.11: Update to 0.11.21.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (19 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 20/23] gnu: rust-rle-decode-fast-1: Update to 1.0.3 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 22/23] gnu: Add rust-py-spy-testdata-0.1 Maxim Cournoyer
` (2 subsequent siblings)
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-inferno-0.11): Update to 0.11.21.
Change-Id: I4ab157a33263c7d1b6a6671295196c8d1c2c9ba2
---
gnu/packages/crates-io.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5a75c0b8ef..6ddd081e65 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36385,14 +36385,14 @@ (define-public rust-infer-0.2
(define-public rust-inferno-0.11
(package
(name "rust-inferno")
- (version "0.11.19")
+ (version "0.11.21")
(source
(origin
(method url-fetch)
(uri (crate-uri "inferno" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ndqcz0p6n4gqrqlq53j42v516nnnii0ljshx634cjnlkj1hy7rj"))))
+ (base32 "126v1njhhx1shw0ammn3ngxxp20dmlb78p1xd9brks2zszhjja93"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
@@ -36407,8 +36407,8 @@ (define-public rust-inferno-0.11
("rust-clap" ,rust-clap-4)
("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
- ("rust-dashmap" ,rust-dashmap-5)
- ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-dashmap" ,rust-dashmap-6)
+ ("rust-env-logger" ,rust-env-logger-0.11)
("rust-indexmap" ,rust-indexmap-2)
("rust-is-terminal" ,rust-is-terminal-0.4)
("rust-itoa" ,rust-itoa-1)
@@ -36416,11 +36416,13 @@ (define-public rust-inferno-0.11
("rust-num-format" ,rust-num-format-0.4)
("rust-once-cell" ,rust-once-cell-1)
("rust-quick-xml" ,rust-quick-xml-0.26)
+ ("rust-regex" ,rust-regex-1)
("rust-rgb" ,rust-rgb-0.8)
+ ("rust-rle-decode-fast" ,rust-rle-decode-fast-1)
("rust-str-stack" ,rust-str-stack-0.1))
#:cargo-development-inputs
(("rust-assert-cmd" ,rust-assert-cmd-2)
- ("rust-criterion" ,rust-criterion-0.4)
+ ("rust-criterion" ,rust-criterion-0.5)
("rust-libflate" ,rust-libflate-2)
("rust-maplit" ,rust-maplit-1)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 22/23] gnu: Add rust-py-spy-testdata-0.1.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (20 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 21/23] gnu: rust-inferno-0.11: Update to 0.11.21 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 23/23] gnu: Add py-spy Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/rust-apps.scm (rust-py-spy-testdata-0.1): New variable.
Change-Id: Ic7aff58e69e84c28f967d935c409e2981fdf6f1e
---
gnu/packages/rust-apps.scm | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 297111d867..eb43ca8d23 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.ccom>
;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
-;;; Copyright © 2021, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr>
@@ -2124,6 +2124,26 @@ (define-public ouch
decompressing files and directories.")
(license license:expat)))
+(define-public rust-py-spy-testdata-0.1
+ (hidden-package ;uninteresting for users
+ (package
+ (name "rust-py-spy-testdata")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "py-spy-testdata" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18d880f2rjdd42828srh97vpvlrs9pg23j28gphw9qd2w3bp128q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/benfred/py-spy-testdata")
+ (synopsis "Python coredumps for testing py-spy")
+ (description "This package provides Python coredumps for testing py-spy.")
+ (license license:expat))))
+
(define-public ripgrep
(package
(name "ripgrep")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 23/23] gnu: Add py-spy.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (21 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 22/23] gnu: Add rust-py-spy-testdata-0.1 Maxim Cournoyer
@ 2024-12-10 14:21 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
23 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-10 14:21 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/rust-apps.scm (py-spy): New variable.
Change-Id: I41876fd3c83da27cece7c0fe4812248c3c4467df
Series-postfix: PATCH rust-team
---
gnu/packages/rust-apps.scm | 51 ++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index eb43ca8d23..2bd8db2565 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -91,6 +91,7 @@ (define-module (gnu packages rust-apps)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages kde)
#:use-module (gnu packages libusb)
+ #:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
#:use-module (gnu packages networking)
@@ -2144,6 +2145,56 @@ (define-public rust-py-spy-testdata-0.1
(description "This package provides Python coredumps for testing py-spy.")
(license license:expat))))
+(define-public py-spy
+ (package
+ (name "py-spy")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "py-spy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fvdmrqp4qand1zb9cwks8hpkysdqajrdh9y7ks15c78985k1x64"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-clap-complete" ,rust-clap-complete-3)
+ ("rust-console" ,rust-console-0.15)
+ ("rust-cpp-demangle" ,rust-cpp-demangle-0.4)
+ ("rust-ctrlc" ,rust-ctrlc-3)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-goblin" ,rust-goblin-0.9)
+ ("rust-indicatif" ,rust-indicatif-0.17)
+ ("rust-inferno" ,rust-inferno-0.11)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-lru" ,rust-lru-0.10)
+ ("rust-memmap2" ,rust-memmap2-0.9)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-proc-maps" ,rust-proc-maps-0.4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-distr" ,rust-rand-distr-0.4)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-remoteprocess" ,rust-remoteprocess-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-termios" ,rust-termios-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs (("rust-py-spy-testdata" ,rust-py-spy-testdata-0.1))))
+ (native-inputs (list python-minimal-wrapper))
+ (inputs (list libunwind))
+ (home-page "https://github.com/benfred/py-spy")
+ (synopsis "Sampling profiler for Python programs")
+ (description
+ "This package provides Sampling profiler for Python programs.")
+ (license license:expat)))
+
(define-public ripgrep
(package
(name "ripgrep")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments.
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments Maxim Cournoyer
@ 2024-12-10 15:37 ` Efraim Flashner
2024-12-11 1:11 ` Maxim Cournoyer
0 siblings, 1 reply; 52+ messages in thread
From: Efraim Flashner @ 2024-12-10 15:37 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 74767
[-- Attachment #1: Type: text/plain, Size: 5683 bytes --]
Should probably have cargo test not honor both parallel-build and
parallel-tests at the same time.
Also, currently the builds and tests try to use all the cores available,
so if parallel-{build,tests} is false it should go down to 1.
On Tue, Dec 10, 2024 at 11:21:05PM +0900, Maxim Cournoyer wrote:
> * guix/build-system/cargo.scm (cargo-build): Add #:parallel-build? and
> #:parallel-tests? arguments.
> (cargo-cross-build): Likewise.
> * guix/build/cargo-build-system.scm (build): Honor them.
> (check): Likewise.
>
> Change-Id: Idbee7aa3a6a7cd0fc222082837390b83cc8e8c07
> ---
> guix/build-system/cargo.scm | 9 +++++++++
> guix/build/cargo-build-system.scm | 23 ++++++++++++++++++++---
> 2 files changed, 29 insertions(+), 3 deletions(-)
>
> diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm
> index f24ff6195e..ea841a34eb 100644
> --- a/guix/build-system/cargo.scm
> +++ b/guix/build-system/cargo.scm
> @@ -6,6 +6,7 @@
> ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
> ;;; Copyright © 2021, 2024 Efraim Flashner <efraim@flashner.co.il>
> +;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -95,6 +96,8 @@ (define* (cargo-build name inputs
> (cargo-package-flags ''("--no-metadata" "--no-verify"))
> (features ''())
> (skip-build? #f)
> + (parallel-build? #t)
> + (parallel-tests? #t)
> (install-source? #t)
> (phases '%standard-phases)
> (outputs '("out"))
> @@ -122,6 +125,8 @@ (define* (cargo-build name inputs
> #:cargo-target #$(cargo-triplet system)
> #:features #$(sexp->gexp features)
> #:skip-build? #$skip-build?
> + #:parallel-build? #$parallel-build?
> + #:parallel-tests? #$parallel-tests?
> #:install-source? #$install-source?
> #:tests? #$(and tests? (not skip-build?))
> #:phases #$(if (pair? phases)
> @@ -152,6 +157,8 @@ (define* (cargo-cross-build name
> (cargo-target (cargo-triplet (or target system)))
> (features ''())
> (skip-build? #f)
> + (parallel-build? #t)
> + (parallel-tests? #t)
> (install-source? (not (target-mingw? target)))
> (phases '%standard-phases)
> (outputs '("out"))
> @@ -181,6 +188,8 @@ (define* (cargo-cross-build name
> #:cargo-target #$(cargo-triplet (or target system))
> #:features #$(sexp->gexp features)
> #:skip-build? #$skip-build?
> + #:parallel-build? #$parallel-build?
> + #:parallel-tests? #$parallel-tests?
> #:install-source? #$install-source?
> #:tests? #$(and tests? (not skip-build?))
> #:phases #$(if (pair? phases)
> diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
> index 84897393d9..d125ff20ca 100644
> --- a/guix/build/cargo-build-system.scm
> +++ b/guix/build/cargo-build-system.scm
> @@ -5,6 +5,7 @@
> ;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il>
> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
> ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
> +;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -239,19 +240,35 @@ (define* (build #:key
> (or skip-build?
> (apply invoke
> `("cargo" "build"
> + ,@(if parallel-build?
> + (list "-j" (number->string (parallel-job-count)))
> + '())
> ,@(if (null? features)
> '()
> `("--features" ,(string-join features)))
> ,@cargo-build-flags))))
>
> (define* (check #:key
> + parallel-build?
> + parallel-tests?
> tests?
> (cargo-test-flags '("--release"))
> #:allow-other-keys)
> "Run tests for a given Cargo package."
> - (if tests?
> - (apply invoke "cargo" "test" cargo-test-flags)
> - #t))
> + (when tests?
> + (apply invoke
> + `("cargo" "test"
> + ,@(if parallel-build?
> + (list "-j" (number->string (parallel-job-count)))
> + '())
> + ,@cargo-test-flags
> + ,@(if parallel-tests?
> + (append (if (member "--" cargo-test-flags)
> + '()
> + '("--"))
> + (list "--test-threads"
> + (number->string (parallel-job-count))))
> + '())))))
>
> (define* (package #:key
> source
> --
> 2.46.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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments.
2024-12-10 15:37 ` Efraim Flashner
@ 2024-12-11 1:11 ` Maxim Cournoyer
0 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:11 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 74767
Hi Efraim,
Efraim Flashner <efraim@flashner.co.il> writes:
> Should probably have cargo test not honor both parallel-build and
> parallel-tests at the same time.
According to the doc [0], these switches are different; -j will cause the
test binaries or other assets to be built in parallel, while
--test-threads will cause the parallelization of tests. I believe
that's the same we currently do for gnu-build-system.
[0] https://doc.rust-lang.org/cargo/commands/cargo-test.html#miscellaneous-options
> Also, currently the builds and tests try to use all the cores available,
> so if parallel-{build,tests} is false it should go down to 1.
Good point. I'll fix that.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper.
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
` (22 preceding siblings ...)
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 23/23] gnu: Add py-spy Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 02/24] build/cargo: Delete trailing #t in phases Maxim Cournoyer
` (22 more replies)
23 siblings, 23 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
This should help reduce the number of times rebuilding the rust bootstrap
chain from scratch is needed when updating packages.
* gnu/packages/rust.scm (rust-1.55) [native-inputs]: Replace python-wrapper
with python-minimal-wrapper.
Change-Id: I92c88192c75353b22f374d5c301776d2bcc6b1db
---
Changes in v2:
- New
gnu/packages/rust.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index e6efd094e9..3ce8dd9d94 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -537,7 +537,7 @@ (define-public rust-1.55
suffix (,(string-append libc "/lib"))))))))))
(native-inputs
`(("pkg-config" ,pkg-config)
- ("python" ,python-wrapper)
+ ("python" ,python-minimal-wrapper)
("rustc-bootstrap" ,rust-bootstrap)
("cargo-bootstrap" ,rust-bootstrap "cargo")))
(inputs
base-commit: 44b044d5f22c2d7683bd6201aa6620a8ba51061a
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 02/24] build/cargo: Delete trailing #t in phases.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 03/24] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments Maxim Cournoyer
` (21 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* guix/build/cargo-build-system.scm (unpack-rust-crates): Delete trailing #t.
(configure, patch-cargo-checksums, package, install): Likewise.
Change-Id: I510a46b3d35cd292d71d5646d4a0436f7d77f98e
---
(no changes since v1)
guix/build/cargo-build-system.scm | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
index 132a811f49..84897393d9 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -105,8 +105,7 @@ (define* (unpack-rust-crates #:key inputs vendor-dir #:allow-other-keys)
(for-each (lambda (crate)
(invoke "tar" "xzf" crate "-C" vendor-dir))
- (find-files "target/package" "\\.crate$"))))
- #t)
+ (find-files "target/package" "\\.crate$")))))
(define (rust-package? name)
(string-prefix? "rust-" name))
@@ -220,8 +219,7 @@ (define* (configure #:key inputs
;; during building, and in any case if one is not present it is created
;; during the 'build phase by cargo.
(when (file-exists? "Cargo.lock")
- (delete-file "Cargo.lock"))
- #t)
+ (delete-file "Cargo.lock")))
;; After the 'patch-generated-file-shebangs phase any vendored crates who have
;; their shebangs patched will have a mismatch on their checksum.
@@ -229,10 +227,10 @@ (define* (patch-cargo-checksums #:key
(vendor-dir "guix-vendor")
#:allow-other-keys)
"Patch the checksums of the vendored crates after patching their shebangs."
- (generate-all-checksums vendor-dir)
- #t)
+ (generate-all-checksums vendor-dir))
(define* (build #:key
+ parallel-build?
skip-build?
(features '())
(cargo-build-flags '("--release"))
@@ -311,8 +309,7 @@ (define* (package #:key
(find-files dir #:directories? #t))
(delete-file-recursively dir)))
(find-files "." "\\.crate$")))))
- (format #t "Not installing cargo sources, skipping `cargo package`.~%"))
- #t)
+ (format #t "Not installing cargo sources, skipping `cargo package`.~%")))
(define* (install #:key
inputs
@@ -348,9 +345,7 @@ (define* (install #:key
(for-each (lambda (crate)
(invoke "tar" "xzf" crate "-C" sources))
- (find-files registry "\\.crate$")))
-
- #t))
+ (find-files registry "\\.crate$")))))
(define %standard-phases
(modify-phases gnu:%standard-phases
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 03/24] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 02/24] build/cargo: Delete trailing #t in phases Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 04/24] build/cargo: Resolve byte compilation warning Maxim Cournoyer
` (20 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* guix/build-system/cargo.scm (cargo-build): Add #:parallel-build? and
#:parallel-tests? arguments.
(cargo-cross-build): Likewise.
* guix/build/cargo-build-system.scm (build): Honor them.
(check): Likewise.
Change-Id: Idbee7aa3a6a7cd0fc222082837390b83cc8e8c07
---
Changes in v2:
- Set build number/threads to 1 when parallel build/test is disabled.
guix/build-system/cargo.scm | 9 +++++++++
guix/build/cargo-build-system.scm | 23 ++++++++++++++++++++---
2 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm
index f24ff6195e..ea841a34eb 100644
--- a/guix/build-system/cargo.scm
+++ b/guix/build-system/cargo.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2021, 2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -95,6 +96,8 @@ (define* (cargo-build name inputs
(cargo-package-flags ''("--no-metadata" "--no-verify"))
(features ''())
(skip-build? #f)
+ (parallel-build? #t)
+ (parallel-tests? #t)
(install-source? #t)
(phases '%standard-phases)
(outputs '("out"))
@@ -122,6 +125,8 @@ (define* (cargo-build name inputs
#:cargo-target #$(cargo-triplet system)
#:features #$(sexp->gexp features)
#:skip-build? #$skip-build?
+ #:parallel-build? #$parallel-build?
+ #:parallel-tests? #$parallel-tests?
#:install-source? #$install-source?
#:tests? #$(and tests? (not skip-build?))
#:phases #$(if (pair? phases)
@@ -152,6 +157,8 @@ (define* (cargo-cross-build name
(cargo-target (cargo-triplet (or target system)))
(features ''())
(skip-build? #f)
+ (parallel-build? #t)
+ (parallel-tests? #t)
(install-source? (not (target-mingw? target)))
(phases '%standard-phases)
(outputs '("out"))
@@ -181,6 +188,8 @@ (define* (cargo-cross-build name
#:cargo-target #$(cargo-triplet (or target system))
#:features #$(sexp->gexp features)
#:skip-build? #$skip-build?
+ #:parallel-build? #$parallel-build?
+ #:parallel-tests? #$parallel-tests?
#:install-source? #$install-source?
#:tests? #$(and tests? (not skip-build?))
#:phases #$(if (pair? phases)
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
index 84897393d9..37a64b07e8 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -239,19 +240,35 @@ (define* (build #:key
(or skip-build?
(apply invoke
`("cargo" "build"
+ ,@(if parallel-build?
+ (list "-j" (number->string (parallel-job-count)))
+ (list "-j" "1"))
,@(if (null? features)
'()
`("--features" ,(string-join features)))
,@cargo-build-flags))))
(define* (check #:key
+ parallel-build?
+ parallel-tests?
tests?
(cargo-test-flags '("--release"))
#:allow-other-keys)
"Run tests for a given Cargo package."
- (if tests?
- (apply invoke "cargo" "test" cargo-test-flags)
- #t))
+ (when tests?
+ (apply invoke
+ `("cargo" "test"
+ ,@(if parallel-build?
+ (list "-j" (number->string (parallel-job-count)))
+ (list "-j" "1"))
+ ,@cargo-test-flags
+ ,@(if (member "--" cargo-test-flags)
+ '()
+ '("--"))
+ ,@(if parallel-tests?
+ (list "--test-threads"
+ (number->string (parallel-job-count)))
+ (list "--test-threads" "1"))))))
(define* (package #:key
source
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 04/24] build/cargo: Resolve byte compilation warning.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 02/24] build/cargo: Delete trailing #t in phases Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 03/24] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 05/24] gnu: Add rust-read-process-memory-0.1 Maxim Cournoyer
` (19 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* guix/build/cargo-build-system.scm: Hide `delete' symbol from (guix build
utils) import.
Change-Id: I75f0109a1a0984deb9888ec1c2b71cea4de22c76
---
Is this really OK? 'delete' is used in the modify-phases. I also read https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26805#16, which explains what exporting it became useful then. Not sure!
guix/build/cargo-build-system.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
index 37a64b07e8..453d759470 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -25,7 +25,7 @@
(define-module (guix build cargo-build-system)
#:use-module ((guix build gnu-build-system) #:prefix gnu:)
#:use-module (guix build json)
- #:use-module (guix build utils)
+ #:use-module ((guix build utils) #:hide (delete))
#:use-module (guix build cargo-utils)
#:use-module (ice-9 popen)
#:use-module (ice-9 rdelim)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 05/24] gnu: Add rust-read-process-memory-0.1.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (2 preceding siblings ...)
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 04/24] build/cargo: Resolve byte compilation warning Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 06/24] gnu: Update rust-wasmparser to 0.218 Maxim Cournoyer
` (18 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-read-process-memory-0.1): New variable.
Change-Id: Iee6386d28ea10a83ac769251a7341a6d0caccdc6
---
(no changes since v1)
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 81667a660a..e02212980d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -86154,6 +86154,29 @@ (define-public rust-thread-priority-0.10
"Library for managing threads priority and schedule policies.")
(license license:expat)))
+(define-public rust-read-process-memory-0.1
+ (package
+ (name "rust-read-process-memory")
+ (version "0.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "read-process-memory" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c1vmw8a2ywf7v96xfwbsyrnpk3fy8cc2a0rdxw8fs0b5wxni5w4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/rbspy/read-process-memory")
+ (synopsis "Read memory from another process")
+ (description "This package provides a crate that allows reading memory
+from another process.")
+ (license license:expat)))
+
(define-public rust-thread-tree-0.3
(package
(name "rust-thread-tree")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 06/24] gnu: Update rust-wasmparser to 0.218.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (3 preceding siblings ...)
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 05/24] gnu: Add rust-read-process-memory-0.1 Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 07/24] gnu: rust-ruzstd-0.7: Update to 0.7.3 Maxim Cournoyer
` (17 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-wasmparser-0.216): Replace with...
(rust-wasmparser-0.218): ... this. Add comment w.r.t. disabling tests.
(rust-wasmparser-0.118): Inherit from it, removing now duplicate fields.
(rust-object-0.36): Adjust accordingly.
Change-Id: I712c36a92d751447560c9c5ca9770c450cfc5030
---
(no changes since v1)
gnu/packages/crates-io.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e02212980d..7461fba144 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52174,7 +52174,7 @@ (define-public rust-object-0.36
("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.7)
- ("rust-wasmparser" ,rust-wasmparser-0.216))))
+ ("rust-wasmparser" ,rust-wasmparser-0.218))))
(home-page "https://github.com/gimli-rs/object")
(synopsis "Unified interface for reading and writing object file formats")
(description
@@ -95732,20 +95732,23 @@ (define-public rust-wasm-sync-0.1
and native running processes.")
(license (list license:expat license:asl2.0))))
-(define-public rust-wasmparser-0.216
+(define-public rust-wasmparser-0.218
(package
(name "rust-wasmparser")
- (version "0.216.0")
+ (version "0.218.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "wasmparser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1qr8j1c15r208d9nsjw01x3w71m9i4g756djnhgk37b1lfzfdpmw"))))
+ (base32 "1p65jvj1i6bh180hd656z8yzkn3zx8vs3a6i5lmsgspczk3ld7mh"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; failed to resolve: use of undeclared crate or module `wat`
+ ;; The test suite fails with error "failed to resolve: use of undeclared
+ ;; crate or module `wat`" (see:
+ ;; https://github.com/bytecodealliance/wasm-tools/issues/1947).
+ `(#:tests? #f
#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8)
("rust-bitflags" ,rust-bitflags-2)
("rust-hashbrown" ,rust-hashbrown-0.14)
@@ -95768,7 +95771,7 @@ (define-public rust-wasmparser-0.216
(define-public rust-wasmparser-0.118
(package
- (inherit rust-wasmparser-0.216)
+ (inherit rust-wasmparser-0.218)
(name "rust-wasmparser")
(version "0.118.2")
(source
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 07/24] gnu: rust-ruzstd-0.7: Update to 0.7.3.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (4 preceding siblings ...)
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 06/24] gnu: Update rust-wasmparser to 0.218 Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 08/24] gnu: rust-libc-0.2: Update to 0.2.168 Maxim Cournoyer
` (16 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-ruzstd-0.7): Update to 0.7.3.
Change-Id: I5db86546237a2af5b619a14380a6298b956b8c8c
---
(no changes since v1)
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7461fba144..b9f35a9255 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71253,17 +71253,17 @@ (define-public rust-rustyline-derive-0.3
(define-public rust-ruzstd-0.7
(package
(name "rust-ruzstd")
- (version "0.7.2")
+ (version "0.7.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "ruzstd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08ffshmfmmcgijcg4w517clpsxwknga89inxjw4hgb1s2f797hwr"))))
+ (base32 "17z83lw00pd3190yvdk2lksdi7my6wc0psgg07is6gf7pyb2kl7s"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Not all files included.
+ `(#:tests? #f ;missing data files
#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 08/24] gnu: rust-libc-0.2: Update to 0.2.168.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (5 preceding siblings ...)
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 07/24] gnu: rust-ruzstd-0.7: Update to 0.7.3 Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 09/24] gnu: rust-proc-macro2-1: Update to 1.0.92 Maxim Cournoyer
` (15 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-libc-0.2): Update to 0.2.168.
Change-Id: If07c0bd242b012465728c7a44c2eb34fd81e75fb
---
(no changes since v1)
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b9f35a9255..9fdfc582af 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40157,14 +40157,14 @@ (define-public rust-lexopt-0.3
(define-public rust-libc-0.2
(package
(name "rust-libc")
- (version "0.2.162")
+ (version "0.2.168")
(source
(origin
(method url-fetch)
(uri (crate-uri "libc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1633a00yyx45kzx9r54fndvr8njsjqyr7zl12mzgsmgyczg8glhq"))))
+ (base32 "0vab4inpw0dz78nii02hsxp1skqn06xzh64psw8wl1h63scb5bjs"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 09/24] gnu: rust-proc-macro2-1: Update to 1.0.92.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (6 preceding siblings ...)
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 08/24] gnu: rust-libc-0.2: Update to 0.2.168 Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 10/24] gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test Maxim Cournoyer
` (14 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-proc-macro2-1): Update to 1.0.92.
Change-Id: Ib126bce83336075dca0aea7165c6ee084b7180f9
---
(no changes since v1)
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9fdfc582af..8718871f41 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60396,14 +60396,14 @@ (define-public rust-proc-macro-nested-0.1
(define-public rust-proc-macro2-1
(package
(name "rust-proc-macro2")
- (version "1.0.89")
+ (version "1.0.92")
(source
(origin
(method url-fetch)
(uri (crate-uri "proc-macro2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0vlq56v41dsj69pnk7lil7fxvbfid50jnzdn3xnr31g05mkb0fgi"))))
+ (base32 "1c1vjy5wg8iy7kxsxda564qf4ljp0asysmbn2i7caj177x5m9lrp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--lib")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 10/24] gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (7 preceding siblings ...)
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 09/24] gnu: rust-proc-macro2-1: Update to 1.0.92 Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 11/24] gnu: rust-syn-2: Update to 2.0.90 Maxim Cournoyer
` (13 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-syn-test-suite-0.0.0): Update to 0.0.0+test.
Change-Id: I30618df59eb75f033991155df86256c7a3aa1419
---
(no changes since v1)
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8718871f41..9a6aa1e261 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82119,14 +82119,14 @@ (define-public rust-syn-derive-0.1
(define-public rust-syn-test-suite-0.0.0
(package
(name "rust-syn-test-suite")
- (version "0.0.0")
+ (version "0.0.0+test")
(source (origin
(method url-fetch)
(uri (crate-uri "syn-test-suite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "15yz9q7rgxaplv0zbnanzyv1la4gmg47yq5wlkcwv3cck4qlncdm"))))
+ "1d9ffrbgci1qjdcpvgrsg3sh24qdsdh66zcsvn5prrk05ycn3mm0"))))
(build-system cargo-build-system)
(arguments (list #:skip-build? #t))
(home-page "https://github.com/dtolnay/syn")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 11/24] gnu: rust-syn-2: Update to 2.0.90.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (8 preceding siblings ...)
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 10/24] gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 12/24] gnu: Add rust-zerocopy-derive-0.8 Maxim Cournoyer
` (12 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-syn-2): Update to 2.0.90.
[arguments]: Update comment above #:tests? argument.
Change-Id: Ic37eef85baebb3e45610fcaad57e0ae622b221e9
---
(no changes since v1)
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9a6aa1e261..ff615677cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81886,18 +81886,18 @@ (define-public rust-symphonia-utils-xiph-0.4
(define-public rust-syn-2
(package
(name "rust-syn")
- (version "2.0.87")
+ (version "2.0.90")
(source (origin
(method url-fetch)
(uri (crate-uri "syn" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0bd3mfcswvn4jkrp7ich5kk58kmpph8412yxd36nsfnh8vilrai5"))))
+ (base32 "0cfg5dsr1x0hl6b9hz08jp1197mx0rq3xydqmqaws36xlms3p7ci"))))
(build-system cargo-build-system)
(arguments
;; Tests fail to compile
- ;; error[E0432]: unresolved imports `syn::Item`, `syn::Pat`
- `(#:tests? #false
+ ;; error[E0463]: can't find crate for `rustc_ast` (among other errors).
+ `(#:tests? #f
#:phases
(modify-phases %standard-phases
;; The syn-test-suite crate is empty.
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 12/24] gnu: Add rust-zerocopy-derive-0.8.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (9 preceding siblings ...)
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 11/24] gnu: rust-syn-2: Update to 2.0.90 Maxim Cournoyer
@ 2024-12-11 1:48 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 13/24] gnu: rust-object-0.36: Update to 0.36.5 Maxim Cournoyer
` (11 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:48 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.8): New variable.
(rust-zerocopy-derive-0.7): Inherit from it.
Change-Id: Ia23684a67a84d656036c15d25d7634e6e49f05ab
---
(no changes since v1)
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff615677cf..3c94381ffe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -98378,22 +98378,22 @@ (define-public rust-zerocopy-0.3
(define-public rust-zerocopy-derive-0.8
(package
(name "rust-zerocopy-derive")
- (version "0.8.9")
+ (version "0.8.13")
(source
(origin
(method url-fetch)
(uri (crate-uri "zerocopy-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1cd712qs5ccn6diy53ymk8vkprgcmnx1gvg3x3xsdxqxi362ywzs"))
+ (base32 "0pgjqk2w5wrw752wfsxgf7rwqjlk1r4vq5iky2fjijh38cxdg23r"))
(modules '((guix build utils)))
- (snippet
+ (snippet ;relax requirements
'(begin (substitute* "Cargo.toml"
(("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; unresolved import `zerocopy`
+ `(#:tests? #f ;error[E0432]: unresolved import `zerocopy`
#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 13/24] gnu: rust-object-0.36: Update to 0.36.5.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (10 preceding siblings ...)
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 12/24] gnu: Add rust-zerocopy-derive-0.8 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 14/24] gnu: rust-gimli-0.31: Update to 0.31.1 Maxim Cournoyer
` (10 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-object-0.36): Update to 0.36.5.
[arguments]: Simply #:cargo-test-flags.
{#:cargo-inputs}: Update rust-hashbrown to 0.15.
Change-Id: I06b78b73115c4078acb0604c3ac6d45566d42d96
---
(no changes since v1)
gnu/packages/crates-io.scm | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c94381ffe..110b9b15ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52147,28 +52147,25 @@ (define-public rust-obj-0.9
(define-public rust-object-0.36
(package
(name "rust-object")
- (version "0.36.4")
+ (version "0.36.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "object" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "02h7k38dwi8rndc3y81n6yjxijbss99p2jm9c0b6ak5c45c1lkq8"))))
+ (base32 "0gk8lhbs229c68lapq6w6qmnm4jkj48hrcw5ilfyswy514nhmpxf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
- '("--release" "--"
- ;; Not all files are included
- "--skip=read::coff::coff_extended_relocations"
- "--skip=read::elf::get_buildid_bad_elf"
- "--skip=read::elf::get_buildid_less_bad_elf"
- "--skip=read::macho::test_go_macho")
+ ;; The parse_self test correspond to the unit tests; the integration
+ ;; tests have some failures for unknown reasons.
+ '("--release" "parse_self" "--")
#: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-hashbrown" ,rust-hashbrown-0.15)
("rust-indexmap" ,rust-indexmap-2)
("rust-memchr" ,rust-memchr-2)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 14/24] gnu: rust-gimli-0.31: Update to 0.31.1.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (11 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 13/24] gnu: rust-object-0.36: Update to 0.36.5 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 15/24] gnu: Add rust-goblin-0.9 Maxim Cournoyer
` (9 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-gimli-0.31): Update to 0.31.1.
Change-Id: I47dd49c9ad00da7a1dc079c138c9eea5cc2e4600
---
(no changes since v1)
gnu/packages/crates-io.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 110b9b15ca..7b9caa3903 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31792,14 +31792,14 @@ (define-public rust-ghost-0.1
(define-public rust-gimli-0.31
(package
(name "rust-gimli")
- (version "0.31.0")
+ (version "0.31.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gimli" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0r1d55xdi1k2l5ah9p0n23i93pm47cl8apjm8rwgqd1j7yi5w21j"))))
+ (base32 "0gvqc0ramx8szv76jhfd4dms0zyamvlg4whhiz11j34hh3dqxqh7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -31809,9 +31809,10 @@ (define-public rust-gimli-0.31
("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))
- #:cargo-development-inputs (("rust-test-assembler" ,rust-test-assembler-0.1))))
+ #:cargo-development-inputs
+ (("rust-test-assembler" ,rust-test-assembler-0.1))))
(home-page "https://github.com/gimli-rs/gimli")
- (synopsis "Library for reading and writing the DWARF debugging format")
+ (synopsis "Library for reading and writing the DWARF debugging format.")
(description
"This package provides a library for reading and writing the DWARF
debugging format.")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 15/24] gnu: Add rust-goblin-0.9.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (12 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 14/24] gnu: rust-gimli-0.31: Update to 0.31.1 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 16/24] gnu: Add rust-proc-maps-0.4 Maxim Cournoyer
` (8 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-goblin-0.9): New variable.
(rust-goblin-0.8): Inherit from it.
Change-Id: I8b856eff3d79a76afde1c985e6424949d44e6f2a
---
(no changes since v1)
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b9caa3903..62494dd453 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32487,20 +32487,20 @@ (define-public rust-gmp-mpfr-sys-1
libraries GMP, MPFR, and MPC.")
(license license:lgpl3+)))
-(define-public rust-goblin-0.8
+(define-public rust-goblin-0.9
(package
(name "rust-goblin")
- (version "0.8.0")
+ (version "0.9.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "goblin" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "11wqipqx0dbimxy5612nxpx79qja43sxic95llcb34r0xpzs81xv"))))
+ (base32 "08yrnjj5j4nddh6y1r8kf35ys7p3iwg6npga3nc4cwfps4r3zask"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Not all files included.
+ `(#:tests? #f ;there are missing data files
#:cargo-inputs (("rust-log" ,rust-log-0.4)
("rust-plain" ,rust-plain-0.2)
("rust-scroll" ,rust-scroll-0.12))
@@ -32511,6 +32511,25 @@ (define-public rust-goblin-0.8
and loading crate.")
(license license:expat)))
+(define-public rust-goblin-0.8
+ (package
+ (inherit rust-goblin-0.9)
+ (name "rust-goblin")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "goblin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11wqipqx0dbimxy5612nxpx79qja43sxic95llcb34r0xpzs81xv"))))
+ (arguments
+ `(#:tests? #f ; Not all files included.
+ #:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-plain" ,rust-plain-0.2)
+ ("rust-scroll" ,rust-scroll-0.12))
+ #:cargo-development-inputs (("rust-stderrlog" ,rust-stderrlog-0.5))))))
+
(define-public rust-goblin-0.7
(package
(inherit rust-goblin-0.8)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 16/24] gnu: Add rust-proc-maps-0.4.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (13 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 15/24] gnu: Add rust-goblin-0.9 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 17/24] gnu: Add rust-mark-flaky-tests-macro-1 Maxim Cournoyer
` (7 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-proc-maps-0.4): New variable.
Change-Id: I4fc7d6b5369181d839083d40b87b21373b8b95ba
---
(no changes since v1)
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62494dd453..010a5ce78a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60532,6 +60532,31 @@ (define-public rust-proc-macro2-diagnostics-0.9
("rust-yansi" ,rust-yansi-0.5))
#:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))))
+(define-public rust-proc-maps-0.4
+ (package
+ (name "rust-proc-maps")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "proc-maps" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ys4dj9wzqj6z5k7i28qy7l2ff224znvjfyrzhjkl68flrd4rd1x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bindgen" ,rust-bindgen-0.70)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libproc" ,rust-libproc-0.14)
+ ("rust-mach2" ,rust-mach2-0.4)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/rbspy/proc-maps")
+ (synopsis "Helper crate for getting virtual memory maps from processes")
+ (description "This package provides a helper crate for getting virtual
+memory maps from processes.")
+ (license license:expat)))
+
(define-public rust-proc-mounts-0.3
(package
(name "rust-proc-mounts")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 17/24] gnu: Add rust-mark-flaky-tests-macro-1.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (14 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 16/24] gnu: Add rust-proc-maps-0.4 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 18/24] gnu: Add rust-mark-flaky-tests-1 Maxim Cournoyer
` (6 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-check.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
---
(no changes since v1)
gnu/local.mk | 1 +
gnu/packages/crates-check.scm | 58 +++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
create mode 100644 gnu/packages/crates-check.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index a7bd32453b..654d5fdaaa 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -210,6 +210,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/cppi.scm \
%D%/packages/cran.scm \
%D%/packages/crates-apple.scm \
+ %D%/packages/crates-check.scm \
%D%/packages/crates-crypto.scm \
%D%/packages/crates-io.scm \
%D%/packages/crates-graphics.scm \
diff --git a/gnu/packages/crates-check.scm b/gnu/packages/crates-check.scm
new file mode 100644
index 0000000000..663a25ccc3
--- /dev/null
+++ b/gnu/packages/crates-check.scm
@@ -0,0 +1,58 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+;;;
+;;; Please: Try to add new module packages in alphabetic order.
+;;;
+
+(define-module (gnu packages crates-check)
+ #:use-module (guix build-system cargo)
+ #:use-module (guix download)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (gnu packages crates-io))
+
+(define-public rust-mark-flaky-tests-macro-1
+ (package
+ (name "rust-mark-flaky-tests-macro")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mark-flaky-tests-macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "115bb0pb4vb8pwm6lblcnc6zxxlk6w654njiphp696dj2vyiz2q7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/GoldsteinE/mark-flaky-tests/")
+ (synopsis "Mark, debug and auto-retry your flaky tests (proc-macro crate)")
+ (description
+ "This package provides Mark, debug and auto-retry your flaky tests (proc-macro crate).")
+ (license (list license:expat license:asl2.0))))
+
+;;;
+;;; Avoid adding new packages to the end of this file. To reduce the chances
+;;; of a merge conflict, place them above by existing packages with similar
+;;; functionality or similar names.
+;;;
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 18/24] gnu: Add rust-mark-flaky-tests-1.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (15 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 17/24] gnu: Add rust-mark-flaky-tests-macro-1 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 19/24] gnu: Add rust-remoteprocess-0.5 Maxim Cournoyer
` (5 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-check.scm (rust-mark-flaky-tests-1): New variable.
Change-Id: I85a28276548bacff3ccfdabe2b1bc62b47566f2e
---
(no changes since v1)
gnu/packages/crates-check.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-check.scm b/gnu/packages/crates-check.scm
index 663a25ccc3..d59760fc2f 100644
--- a/gnu/packages/crates-check.scm
+++ b/gnu/packages/crates-check.scm
@@ -51,6 +51,29 @@ (define-public rust-mark-flaky-tests-macro-1
"This package provides Mark, debug and auto-retry your flaky tests (proc-macro crate).")
(license (list license:expat license:asl2.0))))
+(define-public rust-mark-flaky-tests-1
+ (package
+ (name "rust-mark-flaky-tests")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mark-flaky-tests" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0c29bflpb5aawl5vzcai2rhvphskvh7gdr5v9sq52lx0jmy4lv2q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures" ,rust-futures-0.3)
+ ("rust-mark-flaky-tests-macro" ,rust-mark-flaky-tests-macro-1))
+ #:cargo-development-inputs (("rust-paste" ,rust-paste-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/GoldsteinE/mark-flaky-tests/")
+ (synopsis "Mark, debug and auto-retry your flaky tests")
+ (description
+ "This package provides Mark, debug and auto-retry your flaky tests.")
+ (license (list license:expat license:asl2.0))))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 19/24] gnu: Add rust-remoteprocess-0.5.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (16 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 18/24] gnu: Add rust-mark-flaky-tests-1 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 20/24] gnu: Add rust-lru-0.10 Maxim Cournoyer
` (4 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-remoteprocess-0.5): New variable.
Change-Id: I0accd08b4eee79fcd2fc226c223f7486b0132824
---
(no changes since v1)
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 010a5ce78a..f438ed12af 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83,6 +83,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
#:use-module (gnu packages crates-apple)
+ #:use-module (gnu packages crates-check)
#:use-module (gnu packages crates-crypto)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crates-gtk)
@@ -66827,6 +66828,44 @@ (define-public rust-relative-path-1
(description "This package provides portable, relative paths for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-remoteprocess-0.5
+ (package
+ (name "rust-remoteprocess")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "remoteprocess" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "087z016qvypalbqjgdxmri97vsrqg4k1kpmc8b5d5hdgqxq4f6g6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-addr2line" ,rust-addr2line-0.24)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-goblin" ,rust-goblin-0.9)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libproc" ,rust-libproc-0.14)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-mach-o-sys" ,rust-mach-o-sys-0.1)
+ ("rust-memmap2" ,rust-memmap2-0.9)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-object" ,rust-object-0.36)
+ ("rust-proc-maps" ,rust-proc-maps-0.4)
+ ("rust-read-process-memory" ,rust-read-process-memory-0.1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-mark-flaky-tests" ,rust-mark-flaky-tests-1))))
+ (home-page "https://github.com/benfred/remoteprocess")
+ (synopsis "Library for getting information on running processes")
+ (description "This package provides an API for getting information on
+running processes.")
+ (license license:expat)))
+
(define-public rust-rend-0.3
(package
(name "rust-rend")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 20/24] gnu: Add rust-lru-0.10.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (17 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 19/24] gnu: Add rust-remoteprocess-0.5 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 21/24] gnu: rust-rle-decode-fast-1: Update to 1.0.3 Maxim Cournoyer
` (3 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-lru-0.10): New variable.
(rust-lru-0.9): Inherit from it.
Change-Id: I74de3fb4266a851e8c025c3ef8e0a667971ed237
---
(no changes since v1)
gnu/packages/crates-io.scm | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f438ed12af..93c346086a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43183,10 +43183,28 @@ (define-public rust-lru-0.12
(description "This package provides a LRU cache implementation.")
(license license:expat)))
-(define-public rust-lru-0.9
+(define-public rust-lru-0.10
(package
(inherit rust-lru-0.12)
(name "rust-lru")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lru" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w5n2sgh66ac8ihqv6688mlm7zb3ks18jlbzpbhwgw3x8jp8z3ki"))))
+ (arguments
+ `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13))
+ #:cargo-development-inputs
+ (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
+ ("rust-stats-alloc" ,rust-stats-alloc-0.1))))))
+
+(define-public rust-lru-0.9
+ (package
+ (inherit rust-lru-0.10)
+ (name "rust-lru")
(version "0.9.0")
(source
(origin
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 21/24] gnu: rust-rle-decode-fast-1: Update to 1.0.3.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (18 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 20/24] gnu: Add rust-lru-0.10 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 22/24] gnu: rust-inferno-0.11: Update to 0.11.21 Maxim Cournoyer
` (2 subsequent siblings)
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-rle-decode-fast-1): Update to 1.0.3.
Change-Id: I274deddb0cef0218c99a869c4513b6e6aab14a22
---
(no changes since v1)
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 93c346086a..5a75c0b8ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67280,14 +67280,14 @@ (define-public rust-ringbuf-0.2
(define-public rust-rle-decode-fast-1
(package
(name "rust-rle-decode-fast")
- (version "1.0.1")
+ (version "1.0.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "rle-decode-fast" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1b4h7qs4mssc5dnlhs3f91ya8pb40bv72zzshl18gify2jllzgna"))))
+ (base32 "08kljzl29rpm12fiz0qj5pask49aiswdvcjigdcq73s224rgd0im"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 22/24] gnu: rust-inferno-0.11: Update to 0.11.21.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (19 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 21/24] gnu: rust-rle-decode-fast-1: Update to 1.0.3 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 23/24] gnu: Add rust-py-spy-testdata-0.1 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 24/24] gnu: Add py-spy Maxim Cournoyer
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/crates-io.scm (rust-inferno-0.11): Update to 0.11.21.
Change-Id: I4ab157a33263c7d1b6a6671295196c8d1c2c9ba2
---
(no changes since v1)
gnu/packages/crates-io.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5a75c0b8ef..6ddd081e65 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36385,14 +36385,14 @@ (define-public rust-infer-0.2
(define-public rust-inferno-0.11
(package
(name "rust-inferno")
- (version "0.11.19")
+ (version "0.11.21")
(source
(origin
(method url-fetch)
(uri (crate-uri "inferno" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ndqcz0p6n4gqrqlq53j42v516nnnii0ljshx634cjnlkj1hy7rj"))))
+ (base32 "126v1njhhx1shw0ammn3ngxxp20dmlb78p1xd9brks2zszhjja93"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
@@ -36407,8 +36407,8 @@ (define-public rust-inferno-0.11
("rust-clap" ,rust-clap-4)
("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
- ("rust-dashmap" ,rust-dashmap-5)
- ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-dashmap" ,rust-dashmap-6)
+ ("rust-env-logger" ,rust-env-logger-0.11)
("rust-indexmap" ,rust-indexmap-2)
("rust-is-terminal" ,rust-is-terminal-0.4)
("rust-itoa" ,rust-itoa-1)
@@ -36416,11 +36416,13 @@ (define-public rust-inferno-0.11
("rust-num-format" ,rust-num-format-0.4)
("rust-once-cell" ,rust-once-cell-1)
("rust-quick-xml" ,rust-quick-xml-0.26)
+ ("rust-regex" ,rust-regex-1)
("rust-rgb" ,rust-rgb-0.8)
+ ("rust-rle-decode-fast" ,rust-rle-decode-fast-1)
("rust-str-stack" ,rust-str-stack-0.1))
#:cargo-development-inputs
(("rust-assert-cmd" ,rust-assert-cmd-2)
- ("rust-criterion" ,rust-criterion-0.4)
+ ("rust-criterion" ,rust-criterion-0.5)
("rust-libflate" ,rust-libflate-2)
("rust-maplit" ,rust-maplit-1)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 23/24] gnu: Add rust-py-spy-testdata-0.1.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (20 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 22/24] gnu: rust-inferno-0.11: Update to 0.11.21 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 24/24] gnu: Add py-spy Maxim Cournoyer
22 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/rust-apps.scm (rust-py-spy-testdata-0.1): New variable.
Change-Id: Ic7aff58e69e84c28f967d935c409e2981fdf6f1e
---
(no changes since v1)
gnu/packages/rust-apps.scm | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 297111d867..eb43ca8d23 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.ccom>
;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
-;;; Copyright © 2021, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr>
@@ -2124,6 +2124,26 @@ (define-public ouch
decompressing files and directories.")
(license license:expat)))
+(define-public rust-py-spy-testdata-0.1
+ (hidden-package ;uninteresting for users
+ (package
+ (name "rust-py-spy-testdata")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "py-spy-testdata" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18d880f2rjdd42828srh97vpvlrs9pg23j28gphw9qd2w3bp128q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/benfred/py-spy-testdata")
+ (synopsis "Python coredumps for testing py-spy")
+ (description "This package provides Python coredumps for testing py-spy.")
+ (license license:expat))))
+
(define-public ripgrep
(package
(name "ripgrep")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 24/24] gnu: Add py-spy.
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
` (21 preceding siblings ...)
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 23/24] gnu: Add rust-py-spy-testdata-0.1 Maxim Cournoyer
@ 2024-12-11 1:49 ` Maxim Cournoyer
2024-12-18 18:52 ` bug#74767: " Efraim Flashner
22 siblings, 1 reply; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-11 1:49 UTC (permalink / raw)
To: 74767; +Cc: Maxim Cournoyer, Efraim Flashner
* gnu/packages/rust-apps.scm (py-spy): New variable.
Change-Id: I41876fd3c83da27cece7c0fe4812248c3c4467df
---
(no changes since v1)
gnu/packages/rust-apps.scm | 51 ++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index eb43ca8d23..2bd8db2565 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -91,6 +91,7 @@ (define-module (gnu packages rust-apps)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages kde)
#:use-module (gnu packages libusb)
+ #:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
#:use-module (gnu packages networking)
@@ -2144,6 +2145,56 @@ (define-public rust-py-spy-testdata-0.1
(description "This package provides Python coredumps for testing py-spy.")
(license license:expat))))
+(define-public py-spy
+ (package
+ (name "py-spy")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "py-spy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fvdmrqp4qand1zb9cwks8hpkysdqajrdh9y7ks15c78985k1x64"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-clap-complete" ,rust-clap-complete-3)
+ ("rust-console" ,rust-console-0.15)
+ ("rust-cpp-demangle" ,rust-cpp-demangle-0.4)
+ ("rust-ctrlc" ,rust-ctrlc-3)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-goblin" ,rust-goblin-0.9)
+ ("rust-indicatif" ,rust-indicatif-0.17)
+ ("rust-inferno" ,rust-inferno-0.11)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-lru" ,rust-lru-0.10)
+ ("rust-memmap2" ,rust-memmap2-0.9)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-proc-maps" ,rust-proc-maps-0.4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-distr" ,rust-rand-distr-0.4)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-remoteprocess" ,rust-remoteprocess-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-termios" ,rust-termios-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs (("rust-py-spy-testdata" ,rust-py-spy-testdata-0.1))))
+ (native-inputs (list python-minimal-wrapper))
+ (inputs (list libunwind))
+ (home-page "https://github.com/benfred/py-spy")
+ (synopsis "Sampling profiler for Python programs")
+ (description
+ "This package provides Sampling profiler for Python programs.")
+ (license license:expat)))
+
(define-public ripgrep
(package
(name "ripgrep")
--
2.46.0
^ permalink raw reply related [flat|nested] 52+ messages in thread
* bug#74767: [PATCH PATCH rust-team v2 24/24] gnu: Add py-spy.
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 24/24] gnu: Add py-spy Maxim Cournoyer
@ 2024-12-18 18:52 ` Efraim Flashner
2024-12-19 1:52 ` [bug#74767] " Maxim Cournoyer
0 siblings, 1 reply; 52+ messages in thread
From: Efraim Flashner @ 2024-12-18 18:52 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 74767-done
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
Thanks. Patches pushed to the rust-team branch.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 52+ messages in thread
* [bug#74767] [PATCH PATCH rust-team v2 24/24] gnu: Add py-spy.
2024-12-18 18:52 ` bug#74767: " Efraim Flashner
@ 2024-12-19 1:52 ` Maxim Cournoyer
0 siblings, 0 replies; 52+ messages in thread
From: Maxim Cournoyer @ 2024-12-19 1:52 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 74767-done
Hello,
Efraim Flashner <efraim@flashner.co.il> writes:
> Thanks. Patches pushed to the rust-team branch.
Thank you, rust team (ha!) :-)
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 52+ messages in thread
end of thread, other threads:[~2024-12-19 1:54 UTC | newest]
Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-10 14:15 [bug#74767] [PATCH rust-team 00/23] Add py-spy Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 01/23] build/cargo: Delete trailing #t in phases Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments Maxim Cournoyer
2024-12-10 15:37 ` Efraim Flashner
2024-12-11 1:11 ` Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 03/23] build/cargo: Resolve byte compilation warning Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 04/23] gnu: Add rust-read-process-memory-0.1 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 05/23] gnu: Update ust-wasmparser to 0.218 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 06/23] gnu: rust-ruzstd-0.7: Update to 0.7.3 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 07/23] gnu: rust-libc-0.2: Update to 0.2.168 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 08/23] gnu: rust-proc-macro2-1: Update to 1.0.92 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 09/23] gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 10/23] gnu: rust-syn-2: Update to 2.0.90 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 11/23] gnu: Add rust-zerocopy-derive-0.8 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 12/23] gnu: rust-object-0.36: Update to 0.36.5 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 13/23] gnu: rust-gimli-0.31: Update to 0.31.1 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 14/23] gnu: Add rust-goblin-0.9 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 15/23] gnu: Add rust-proc-maps-0.4 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 16/23] gnu: Add rust-mark-flaky-tests-macro-1 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 17/23] gnu: Add rust-mark-flaky-tests-1 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 18/23] gnu: Add rust-remoteprocess-0.5 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 19/23] gnu: Add rust-lru-0.10 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 20/23] gnu: rust-rle-decode-fast-1: Update to 1.0.3 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 21/23] gnu: rust-inferno-0.11: Update to 0.11.21 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 22/23] gnu: Add rust-py-spy-testdata-0.1 Maxim Cournoyer
2024-12-10 14:21 ` [bug#74767] [PATCH rust-team 23/23] gnu: Add py-spy Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 01/24] gnu: rust-1.55: Use minimal variant of python-wrapper Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 02/24] build/cargo: Delete trailing #t in phases Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 03/24] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 04/24] build/cargo: Resolve byte compilation warning Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 05/24] gnu: Add rust-read-process-memory-0.1 Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 06/24] gnu: Update rust-wasmparser to 0.218 Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 07/24] gnu: rust-ruzstd-0.7: Update to 0.7.3 Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 08/24] gnu: rust-libc-0.2: Update to 0.2.168 Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 09/24] gnu: rust-proc-macro2-1: Update to 1.0.92 Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 10/24] gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 11/24] gnu: rust-syn-2: Update to 2.0.90 Maxim Cournoyer
2024-12-11 1:48 ` [bug#74767] [PATCH PATCH rust-team v2 12/24] gnu: Add rust-zerocopy-derive-0.8 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 13/24] gnu: rust-object-0.36: Update to 0.36.5 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 14/24] gnu: rust-gimli-0.31: Update to 0.31.1 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 15/24] gnu: Add rust-goblin-0.9 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 16/24] gnu: Add rust-proc-maps-0.4 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 17/24] gnu: Add rust-mark-flaky-tests-macro-1 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 18/24] gnu: Add rust-mark-flaky-tests-1 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 19/24] gnu: Add rust-remoteprocess-0.5 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 20/24] gnu: Add rust-lru-0.10 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 21/24] gnu: rust-rle-decode-fast-1: Update to 1.0.3 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 22/24] gnu: rust-inferno-0.11: Update to 0.11.21 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 23/24] gnu: Add rust-py-spy-testdata-0.1 Maxim Cournoyer
2024-12-11 1:49 ` [bug#74767] [PATCH PATCH rust-team v2 24/24] gnu: Add py-spy Maxim Cournoyer
2024-12-18 18:52 ` bug#74767: " Efraim Flashner
2024-12-19 1:52 ` [bug#74767] " Maxim Cournoyer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.