guix-commits
[Top][All Lists]
Advanced

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

35/37: gnu: Add rust-hexf-parse-0.2.


From: guix-commits
Subject: 35/37: gnu: Add rust-hexf-parse-0.2.
Date: Thu, 18 Jan 2024 13:27:07 -0500 (EST)

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

commit 1c3b1b1a3247e0faf3e31592f7a4e0e4541be345
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Mon Jan 8 17:19:56 2024 +0100

    gnu: Add rust-hexf-parse-0.2.
    
    * gnu/packages/crates-io.scm (rust-hexf-parse-0.2): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2afbaa514f..25a867dc0f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31175,6 +31175,25 @@ compile time.")
      `(#:cargo-inputs
        (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4))))))
 
+(define-public rust-hexf-parse-0.2
+  (package
+    (name "rust-hexf-parse")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hexf-parse" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pr3a3sk66ddxdyxdxac7q6qaqjcn28v0njy22ghdpfn78l8d9nz"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/lifthrasiir/hexf";)
+    (synopsis "Hexadecimal float support for Rust")
+    (description "This library provides parsing functionality for hexadecimal
+float literals.  Two functions @code{parse_hexf32} and @code{parse_hexf64} are
+provided for each type.")
+    (license license:cc0)))
+
 (define-public rust-hkdf-0.12
   (package
     (name "rust-hkdf")



reply via email to

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