guix-commits
[Top][All Lists]
Advanced

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

14/43: gnu: Add rust-itoa.


From: guix-commits
Subject: 14/43: gnu: Add rust-itoa.
Date: Mon, 12 Aug 2019 05:02:11 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 81749732dd2f79ef0cddc498c70f732137c873ff
Author: Efraim Flashner <address@hidden>
Date:   Sun Aug 4 13:50:35 2019 +0300

    gnu: Add rust-itoa.
    
    * gnu/packages/creates-io.scm (rust-itoa): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index da4c517..73f7b51 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -273,6 +273,26 @@ hexadecimal representation.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-itoa
+  (package
+    (name "rust-itoa")
+    (version "0.4.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "itoa" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
+    (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:asl2.0
+                   license:expat))))
+
 (define-public rust-proc-macro2
   (package
     (name "rust-proc-macro2")



reply via email to

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