summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-09 14:32:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-09 16:08:54 +0200
commite0d529bacc620a3447998e54141fcc5546b282c9 (patch)
tree049d897af6907077e84b7d5f2a2d594839fcd491 /gnu
parent3230371e06c76be4234be9275cfa8d942fa4e6fd (diff)
downloadpatches-e0d529bacc620a3447998e54141fcc5546b282c9.tar
patches-e0d529bacc620a3447998e54141fcc5546b282c9.tar.gz
gnu: Add rust-float-ord-0.2.
* gnu/packages/crates-io.scm (rust-float-ord-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 71fe65627e..33bff568e6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3705,6 +3705,29 @@ Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based
streams.")
(license (list license:expat license:asl2.0))))
+(define-public rust-float-ord-0.2
+ (package
+ (name "rust-float-ord")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "float-ord" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0kin50365sr3spnbscq43lksymybi99ai9rkqdw90m6vixhlibbv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.3))))
+ (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:asl2.0 license:expat))))
+
(define-public rust-fnv-1.0
(package
(name "rust-fnv")