guix-commits
[Top][All Lists]
Advanced

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

15/69: gnu: Add rust-float-ord-0.3.


From: guix-commits
Subject: 15/69: gnu: Add rust-float-ord-0.3.
Date: Thu, 11 Nov 2021 10:43:20 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit e326a4fbe348d40a4f24e388f19a2f493dc710b8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Nov 10 00:05:44 2021 +0000

    gnu: Add rust-float-ord-0.3.
    
    * gnu/packages/crates-io.scm (rust-float-ord-0.3): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1644cb0..df231ed 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")



reply via email to

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