[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 079/228] gnu: Add rust-ordered-float-4.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 079/228] gnu: Add rust-ordered-float-4. |
Date: |
Sun, 18 Feb 2024 22:03:17 +0100 |
* gnu/packages/crates-web.scm (rust-ordered-float-4): Add variable.
(rust-ordered-float-3): Inherit rust-ordered-float-4.
Change-Id: I0df7deda3c1b17424f15a42acc1679a1c33f672a
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++----------
1 file changed, 26 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9813cc3f4b..002846456f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44461,20 +44461,21 @@ (define-public rust-ord-subset-3
PartialOrd types, like floats.")
(license (list license:expat license:asl2.0))))
-(define-public rust-ordered-float-3
+(define-public rust-ordered-float-4
(package
(name "rust-ordered-float")
- (version "3.4.0")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "ordered-float" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1gr31ksgbqariv6hz3s5bc15a5vh4k65dyn8m7j59lhnji0b2knq"))))
+ (version "4.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ordered-float" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0kjqcvvbcsibbx3hnj7ag06bd9gv2zfi5ja6rgyh2kbxbh3zfvd7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-borsh" ,rust-borsh-1)
("rust-bytemuck" ,rust-bytemuck-1)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-proptest" ,rust-proptest-1)
@@ -44482,13 +44483,28 @@ (define-public rust-ordered-float-3
("rust-rkyv" ,rust-rkyv-0.7)
("rust-schemars" ,rust-schemars-0.8)
("rust-serde" ,rust-serde-1)
- ("rust-speedy" ,rust-speedy-0.8))))
+ ("rust-speedy" ,rust-speedy-0.8))
+ #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://github.com/reem/rust-ordered-float")
(synopsis "Wrappers for total ordering on floats")
(description
"This package provides wrappers for total ordering on floats in Rust.")
(license license:expat)))
+(define-public rust-ordered-float-3
+ (package
+ ;; Does not depend on rust-borsh-1 and rust-serde-test-1.
+ (inherit rust-ordered-float-4)
+ (name "rust-ordered-float")
+ (version "3.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ordered-float" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gr31ksgbqariv6hz3s5bc15a5vh4k65dyn8m7j59lhnji0b2knq"))))))
+
(define-public rust-ordered-float-2
(package
(inherit rust-ordered-float-3)
--
2.41.0
- [bug#69257] [PATCH 039/228] gnu: Add rust-parse-display-0.8., (continued)
- [bug#69257] [PATCH 039/228] gnu: Add rust-parse-display-0.8., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 061/228] gnu: Add rust-tower-http-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 057/228] gnu: Add rust-hyper-1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 094/228] gnu: Add rust-opentelemetry-jaeger-0.20., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 185/228] gnu: Add rust-qrcode-0.13., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 047/228] gnu: Add rust-tun-tap-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 095/228] gnu: Add rust-prost-build-0.11., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 043/228] gnu: Add rust-etherparse-0.13., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 052/228] gnu: Add rust-pnet-sys-0.34., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 070/228] gnu: Add rust-libflate-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 079/228] gnu: Add rust-ordered-float-4.,
Herman Rimm <=
- [bug#69257] [PATCH 040/228] gnu: Add rust-oauth2-types-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 168/228] gnu: Add rust-subslice-0.2., Herman Rimm, 2024/02/18