guix-commits
[Top][All Lists]
Advanced

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

08/18: gnu: Add rust-ieee754-0.2.


From: guix-commits
Subject: 08/18: gnu: Add rust-ieee754-0.2.
Date: Thu, 22 Sep 2022 06:28:07 -0400 (EDT)

rekado pushed a commit to branch rekados-rust-queue
in repository guix.

commit 7d93f2224f690c14219589857662595a5a067847
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Sep 21 12:10:44 2022 +0200

    gnu: Add rust-ieee754-0.2.
    
    * gnu/packages/crates-io.scm (rust-ieee754-0.2): 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 91ba805695..16a6fea01e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28967,6 +28967,27 @@ with hyper.")
        (("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
         ("rust-rustc-test" ,rust-rustc-test-0.3))))))
 
+(define-public rust-ieee754-0.2
+  (package
+    (name "rust-ieee754")
+    (version "0.2.6")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ieee754" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1771d2kvw1wga65yrg9m7maky0fzsaq9hvhkv91n6gmxmjfdl1wh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.2))))
+    (home-page "https://github.com/huonw/ieee754";)
+    (synopsis "Low-level manipulations of IEEE754 floating-point numbers")
+    (description "This is a package for low-level manipulations of IEEE754
+floating-point numbers.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-if-chain-1
   (package
     (name "rust-if-chain")



reply via email to

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