aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZ572 <873216071@qq.com>2022-01-12 23:27:51 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 00:11:59 +0100
commitb6924ef65a9f51c7e7979737c6fce4b0579acfc7 (patch)
tree10f72192d089589f365c470f1af7ec5065decc8b /gnu/packages
parenta3684cff9bfc05de6ef6c8035e3d00343ccee13e (diff)
downloadguix-b6924ef65a9f51c7e7979737c6fce4b0579acfc7.tar
guix-b6924ef65a9f51c7e7979737c6fce4b0579acfc7.tar.gz
gnu: Add rust-object-0.28.
* gnu/packages/crates-io.scm (rust-object-0.28): New variable. (rust-object-0.24): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-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)