summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-18 23:49:53 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-19 22:33:24 +0200
commitee7ef9cb8c3f340508fbfa1abab78bd07b0865e8 (patch)
tree33fa23d4f475fc7235e30123ee0fc872dc073ce2 /gnu/packages/crates-io.scm
parent6fee63e6d9c58569937e56151d7084ea7ee6e6cd (diff)
downloadguix-ee7ef9cb8c3f340508fbfa1abab78bd07b0865e8.tar.gz
gnu: Add rust-float-cmp-0.3.
* gnu/packages/crates-io.scm (rust-float-cmp-0.3): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5de673475d..258c4ebc62 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5202,6 +5202,28 @@ Reader/Writer streams.  Contains bindings for zlib, deflate, and gzip-based
 streams.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-float-cmp-0.3
+  (package
+    (name "rust-float-cmp")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "float-cmp" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1c0hmj46xma5aysz0qb49padhc26aw875whx6q6rglsj5dqpds1b"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-num" ,rust-num-0.1))))
+    (home-page "https://github.com/mikedilger/float-cmp")
+    (synopsis "Floating point approximate comparison traits")
+    (description
+     "Floating point approximate comparison traits in Rust.")
+    (license license:expat)))
+
 (define-public rust-float-ord-0.2
   (package
     (name "rust-float-ord")