aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:02:30 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:43:59 +0300
commitdf9a615640f99bbcf413ac2f42ae681882d6e1d9 (patch)
tree997316d40444e494ebf912cbbeac4481d7e0af40
parent4b359565de1022577c8c04ebf1517a6cacfe56ec (diff)
downloadguix-df9a615640f99bbcf413ac2f42ae681882d6e1d9.tar
guix-df9a615640f99bbcf413ac2f42ae681882d6e1d9.tar.gz
gnu: Add rust-ryu-1.0.
* gnu/packages/rust-cbindgen.scm (rust-ryu-1.0): New hidden variable.
-rw-r--r--gnu/packages/rust-cbindgen.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 8a507a0587..ecefb7e457 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -608,3 +608,24 @@ for Windows.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
+
+(define rust-ryu-1.0
+ (package
+ (name "rust-ryu")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ryu" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "1j0h74f1xqf9hjkhanp8i20mqc1aw35kr1iq9i79q7713mn51a5z"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/dtolnay/ryu")
+ (synopsis
+ "Fast floating point to string conversion")
+ (description
+ "Fast floating point to string conversion")
+ (properties '((hidden? . #t)))
+ (license (list license:asl2.0 license:boost1.0))))