summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTroy Figiel <troy@troyfigiel.com>2024-01-08 17:19:56 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:53 +0200
commitcd879dab82b8e5ab25c472d600ba30d59398d436 (patch)
treef86d85664124f46cfd94075f47f8b35363a77689 /gnu
parent4010d5757120d6c689bcb84433c4b836633aa6a2 (diff)
downloadguix-cd879dab82b8e5ab25c472d600ba30d59398d436.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 678bba9de7..62a8ca3aad 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")