summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-10-06 21:38:28 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-11-03 23:00:53 +0100
commit8608e1e1b411ebd4f4b1101a6e5da5fcaa279643 (patch)
treeab1b97d33d1a97c80476b569a1d83f4623adbba7
parente18404703ba33a81fa19ee7137fb81eb7a602020 (diff)
downloadguix-8608e1e1b411ebd4f4b1101a6e5da5fcaa279643.tar.gz
gnu: Add rust-lexical-write-float-0.8.
* gnu/packages/crates-io.scm (rust-lexical-write-float-0.8): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f2b4b8558d..ea0e3ee393 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25417,6 +25417,30 @@ sending emails from Rust applications.")
     (description "This package provides shared utilities for lexical crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-lexical-write-float-0.8
+  (package
+    (name "rust-lexical-write-float")
+    (version "0.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lexical-write-float" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0xn5dpdmld2nvj7jvz3xrvjjbrnsh4jhymjimax7labvija8clcb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-lexical-util" ,rust-lexical-util-0.8)
+        ("rust-lexical-write-integer" ,rust-lexical-write-integer-0.8)
+        ("rust-static-assertions" ,rust-static-assertions-1))))
+    (home-page "https://github.com/Alexhuszagh/rust-lexical")
+    (synopsis "Efficient formatting of floats to strings")
+    (description
+     "This crate provides efficient formatting of floats to strings.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-lexical-write-integer-0.8
   (package
     (name "rust-lexical-write-integer")