diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-04 13:50:35 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-12 11:57:25 +0300 |
commit | 81749732dd2f79ef0cddc498c70f732137c873ff (patch) | |
tree | 803695cd96e24bf7dd1ea7ae7a4be9d09eb99380 /gnu | |
parent | 1d5c422c4aba701c4c2bf533d652b3947cfc05eb (diff) | |
download | guix-patches-81749732dd2f79ef0cddc498c70f732137c873ff.tar guix-patches-81749732dd2f79ef0cddc498c70f732137c873ff.tar.gz |
gnu: Add rust-itoa.
* gnu/packages/creates-io.scm (rust-itoa): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index da4c517174..73f7b51a59 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") |