guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/29: gnu: Add rust-float-cmp-0.8.


From: guix-commits
Subject: 02/29: gnu: Add rust-float-cmp-0.8.
Date: Mon, 5 Oct 2020 06:43:35 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 61fc7932b9b43ae8a213553be8bb2b47cb490504
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 4 23:06:11 2020 +0300

    gnu: Add rust-float-cmp-0.8.
    
    * gnu/packages/crates-io.scm (rust-float-cmp-0.8): New variable.
    (rust-float-cmp-0.6): Inherit from rust-float-cmp-0.8.
---
 gnu/packages/crates-io.scm | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index add1e83..06a7c27 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7607,10 +7607,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.6
+(define-public rust-float-cmp-0.8
   (package
     (name "rust-float-cmp")
-    (version "0.6.0")
+    (version "0.8.0")
     (source
       (origin
         (method url-fetch)
@@ -7619,7 +7619,7 @@ streams.")
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0zb1lv3ga18vsnpjjdg87yazbzvmfwwllj3aiid8660rp3qw8qns"))))
+          "1i56hnzjn5pmrcm47fwkmfxiihk7wz5vvcgpb0kpfhzkqi57y9p1"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))))
@@ -7629,6 +7629,21 @@ streams.")
      "Floating point approximate comparison traits in Rust.")
     (license license:expat)))
 
+(define-public rust-float-cmp-0.6
+  (package
+    (inherit rust-float-cmp-0.8)
+    (name "rust-float-cmp")
+    (version "0.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "float-cmp" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0zb1lv3ga18vsnpjjdg87yazbzvmfwwllj3aiid8660rp3qw8qns"))))))
+
 (define-public rust-float-cmp-0.5
   (package
     (inherit rust-float-cmp-0.6)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]