summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-10 00:05:44 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:10 +0000
commite326a4fbe348d40a4f24e388f19a2f493dc710b8 (patch)
tree5f233110b3fc0985315d4147781fa14df06dfa30 /gnu
parentbb8a0af29204d80e9d6296128202e1def2af2ed0 (diff)
gnu: Add rust-float-ord-0.3.
* gnu/packages/crates-io.scm (rust-float-ord-0.3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1644cb056d..df231eda66 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17976,6 +17976,27 @@ streams.")
(arguments
`(#:cargo-inputs (("rust-num" ,rust-num-0.1))))))
+(define-public rust-float-ord-0.3
+ (package
+ (name "rust-float-ord")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "float-ord" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gbvx6dzz8xvj38bj02cajpqd9p5syxjx9jyqpj8414amr4izs4c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/notriddle/rust-float-ord")
+ (synopsis "Total ordering for floating-point numbers")
+ (description
+ "This package provides a total ordering for floating-point numbers")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-float-ord-0.2
(package
(name "rust-float-ord")