aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm49
1 files changed, 45 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0b34a84fc9..1e47e51fc3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35705,10 +35705,10 @@ Foundation framework.")
"This package provides utilities for testing Objective-C interop.")
(license license:expat)))
-(define-public rust-object-0.24
+(define-public rust-object-0.28
(package
(name "rust-object")
- (version "0.24.0")
+ (version "0.28.2")
(source
(origin
(method url-fetch)
@@ -35717,7 +35717,7 @@ Foundation framework.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0w21hp41mixzaavsdpjylbylh44z2b5d2wbnf5ipkvkjq38ksnqs"))))
+ "1wgv6gx69rpn4jjqs24kvafwsic1q06iaafs5mb9hy34hp7c3x89"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -35726,14 +35726,24 @@ Foundation framework.")
,rust-compiler-builtins-0.1)
("rust-crc32fast" ,rust-crc32fast-1)
("rust-flate2" ,rust-flate2-1)
+ ("rust-hashbrown" ,rust-hashbrown-0.11)
("rust-indexmap" ,rust-indexmap-1)
+ ("rust-memchr" ,rust-memchr-2)
("rust-rustc-std-workspace-alloc"
,rust-rustc-std-workspace-alloc-1)
("rust-rustc-std-workspace-core"
,rust-rustc-std-workspace-core-1)
("rust-wasmparser" ,rust-wasmparser-0.57))
#:cargo-development-inputs
- (("rust-memmap" ,rust-memmap-0.7))))
+ (("rust-memmap" ,rust-memmap-0.7))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-requirements
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("1.6.\\*")
+ ,(package-version rust-indexmap-1)))
+ #t)))))
(home-page "https://github.com/gimli-rs/object")
(synopsis "Unified interface for reading and writing object file formats")
(description
@@ -35741,6 +35751,37 @@ Foundation framework.")
file formats.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-object-0.24
+ (package
+ (inherit rust-object-0.28)
+ (name "rust-object")
+ (version "0.24.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "object" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0w21hp41mixzaavsdpjylbylh44z2b5d2wbnf5ipkvkjq38ksnqs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins"
+ ,rust-compiler-builtins-0.1)
+ ("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-rustc-std-workspace-alloc"
+ ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core"
+ ,rust-rustc-std-workspace-core-1)
+ ("rust-wasmparser" ,rust-wasmparser-0.57))
+ #:cargo-development-inputs
+ (("rust-memmap" ,rust-memmap-0.7))))))
+
(define-public rust-object-0.23
(package
(inherit rust-object-0.24)