summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-07-06 19:08:51 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-07-06 21:54:03 +0300
commit8ea4fa6247fe7e9f9b8501a52cfe9f78fe3c1afb (patch)
tree0f60a488a18177d05922cae8b5e3171927074f77 /gnu
parent547bab4e5722c8113b5174e3d721ae130d07a5f3 (diff)
downloadguix-8ea4fa6247fe7e9f9b8501a52cfe9f78fe3c1afb.tar.gz
gnu: Add rust-float-cmp-0.6.
* gnu/packages/crates-io.scm (rust-float-cmp-0.6): New variable.
(rust-float-cmp-0.5): Inherit from rust-float-cmp-0.6.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 18 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d60e11f70a..771a87d569 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6812,10 +6812,10 @@ 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.5
+(define-public rust-float-cmp-0.6
   (package
     (name "rust-float-cmp")
-    (version "0.5.3")
+    (version "0.6.0")
     (source
       (origin
         (method url-fetch)
@@ -6824,7 +6824,7 @@ streams.")
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "03hmx3n48hjm0x1ig84n1j87kzp75lzr6cj1sgi6a6pykgn4n8km"))))
+          "0zb1lv3ga18vsnpjjdg87yazbzvmfwwllj3aiid8660rp3qw8qns"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))))
@@ -6834,6 +6834,21 @@ streams.")
      "Floating point approximate comparison traits in Rust.")
     (license license:expat)))
 
+(define-public rust-float-cmp-0.5
+  (package
+    (inherit rust-float-cmp-0.6)
+    (name "rust-float-cmp")
+    (version "0.5.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "float-cmp" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "03hmx3n48hjm0x1ig84n1j87kzp75lzr6cj1sgi6a6pykgn4n8km"))))))
+
 (define-public rust-float-cmp-0.3
   (package
     (inherit rust-float-cmp-0.5)