summary refs log tree commit diff
path: root/gnu/packages/rust-cbindgen.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 09:48:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:31:01 +0300
commitb5a9cb71b0c207a9c73f6a248d2f2e059b5aec08 (patch)
tree7d5bd1995fdf154b6402183d0e7343f2793d01b4 /gnu/packages/rust-cbindgen.scm
parentf38fb019ed9e385ec3270e6394c7a3227aa8f4bb (diff)
downloadguix-b5a9cb71b0c207a9c73f6a248d2f2e059b5aec08.tar.gz
gnu: Add rust-numtoa-0.1.
* gnu/packages/rust-cbindgen.scm (rust-numtoa-0.1): New hidden variable.
Diffstat (limited to 'gnu/packages/rust-cbindgen.scm')
-rw-r--r--gnu/packages/rust-cbindgen.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 42f3a7470b..a0bb7caee8 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -259,3 +259,23 @@ the platform that libc is compiled for.")
      "This package provides a lightweight logging facade for Rust.")
     (properties '((hidden? . #t)))
     (license (list license:expat license:asl2.0))))
+
+(define rust-numtoa-0.1
+  (package
+    (name "rust-numtoa")
+    (version "0.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "numtoa" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "1vs9rhggqbql1p26x8nkha1j06wawwgb2jp5fs88b5gi7prvvy5q"))))
+    (build-system cargo-build-system)
+    (home-page "https://gitlab.com/mmstick/numtoa")
+    (synopsis "Convert numbers into stack-allocated byte arrays")
+    (description
+     "This package can convert numbers into stack-allocated byte arrays.")
+    (properties '((hidden? . #t)))
+    (license (list license:expat license:asl2.0))))