gnu: Add rust-itoa-0.4.
authorEfraim Flashner <efraim@flashner.co.il>
Wed, 23 Oct 2019 06:47:03 +0000 (09:47 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Wed, 23 Oct 2019 07:31:00 +0000 (10:31 +0300)
* gnu/packages/rust-cbindgen.scm (rust-itoa-0.4): New hidden variable.

gnu/packages/rust-cbindgen.scm

index 043889e..2f8fe40 100644 (file)
@@ -189,3 +189,24 @@ Command Line Argument Parser.")
 cryptographically secure pseudorandom number generator.")
     (properties '((hidden? . #t)))
     (license license:bsd-3)))
+
+(define rust-itoa-0.4
+  (package
+    (name "rust-itoa")
+    (version "0.4.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "itoa" version))
+        (file-name (string-append name "-" version ".crate"))
+        (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}.")
+    (properties '((hidden? . #t)))
+    (license (list license:asl2.0
+                   license:expat))))