summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorAleksandr Vityazev <avityazev@posteo.org>2022-01-17 13:14:16 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-22 13:09:29 +0100
commite580039cf84183f1cc98ec39a090d21ab03b29ba (patch)
treee1bdb3702e4e5800c636b28260802fb0dd2a8d5d /gnu
parentda3dd5afa5e18988bf560ee735ca3df6cfa45635 (diff)
downloadguix-e580039cf84183f1cc98ec39a090d21ab03b29ba.tar.gz
gnu: Add rust-itoa-1.
* gnu/packages/crates-io.scm (rust-itoa-1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f84f3beb1d..bb71386e16 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27272,6 +27272,24 @@ functions, and macros.")
 and functions.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-itoa-1
+  (package
+    (name "rust-itoa")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "itoa" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0d8wr2qf5b25a04xf10rz9r0pdbjdgb0zaw3xvf8k2sqcz1qzaqs"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/dtolnay/itoa")
+    (synopsis "Fast functions for printing integer primitives")
+    (description "This crate provides fast functions for printing integer
+primitives to an @code{io::Write}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-itoa-0.4
   (package
     (name "rust-itoa")