guix-commits
[Top][All Lists]
Advanced

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

164/330: gnu: Add rust-fast-float-0.2.


From: guix-commits
Subject: 164/330: gnu: Add rust-fast-float-0.2.
Date: Mon, 18 Mar 2024 07:15:58 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 889d7f31ee309c95e83c126a9d42577229b02ece
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 22:00:01 2024 +0200

    gnu: Add rust-fast-float-0.2.
    
    * gnu/packages/crates-io.scm (rust-fast-float-0.2): New variable.
    
    Change-Id: Ie08cc39dc3398774d4ac5b620f159f640db9b030
---
 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 0b2de912ea..9d0b74de94 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23343,6 +23343,29 @@ supported in purely NFA-based implementations.")
 is defined in the HTML specification.")
     (license license:mpl2.0)))
 
+(define-public rust-fast-float-0.2
+  (package
+    (name "rust-fast-float")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fast-float" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0g7kfll3xyh99kc7r352lhljnwvgayxxa6saifb6725inikmyxlm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1)
+                                   ("rust-hexf-parse" ,rust-hexf-parse-0.1)
+                                   ("rust-lexical-core" ,rust-lexical-core-0.7)
+                                   ("rust-num-bigint" ,rust-num-bigint-0.3)
+                                   ("rust-ryu" ,rust-ryu-1))))
+    (home-page "https://github.com/aldanor/fast-float-rust";)
+    (synopsis "Fast floating-point number parser")
+    (description "This package provides a fast floating-point number parser.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-faster-hex-0.9
   (package
     (name "rust-faster-hex")



reply via email to

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