summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 30 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 67cef6bec1..1a7d5f914d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38112,8 +38112,37 @@ system for OpenSSL.")
PartialOrd types, like floats.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ordered-float-3
+ (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"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rkyv" ,rust-rkyv-0.7)
+ ("rust-schemars" ,rust-schemars-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-speedy" ,rust-speedy-0.8))))
+ (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-2
(package
+ (inherit rust-ordered-float-3)
(name "rust-ordered-float")
(version "2.1.1")
(source
@@ -38125,7 +38154,6 @@ PartialOrd types, like floats.")
(sha256
(base32
"0632g8bacvras6nig1bb1ihgc560476jkrb3is6n542ll86q8vvn"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build?
#t
@@ -38133,12 +38161,7 @@ PartialOrd types, like floats.")
(("rust-num-traits" ,rust-num-traits-0.2)
("rust-serde" ,rust-serde-1))
#: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)))
+ (("rust-serde-test" ,rust-serde-test-1))))))
(define-public rust-ordered-float-1
(package