guix-commits
[Top][All Lists]
Advanced

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

06/11: gnu: Add rust-float-ord-0.2.


From: guix-commits
Subject: 06/11: gnu: Add rust-float-ord-0.2.
Date: Sun, 9 Feb 2020 09:09:18 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit e0d529bacc620a3447998e54141fcc5546b282c9
Author: Efraim Flashner <address@hidden>
AuthorDate: Sun Feb 9 14:32:41 2020 +0200

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 71fe656..33bff56 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")



reply via email to

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