summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2022-12-07 19:58:16 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2022-12-08 22:07:42 +0100
commitf06bd657bd708c19415e8e6748432a45cf6ca4ba (patch)
tree2d3f804698a4f2d75cb82036926a9dc028bbac8a /gnu/packages/crates-io.scm
parent5a5eb5250fb6348ffe2dc653f89554be097a1816 (diff)
downloadguix-f06bd657bd708c19415e8e6748432a45cf6ca4ba.tar.gz
gnu: Add rust-thousands.
* gnu/packages/crates-io.scm (rust-thousands-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 95e07a52c2..c4c738d094 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32865,6 +32865,25 @@ based on Rustls and Ring.")
     (description "This package provides Rust bindings for Metal.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-thousands-0.2
+  (package
+    (name "rust-thousands")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "thousands" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0848gnkn7ah51lrx15z9zmn701ipn6gc4xbk4kfdlfahkypkpxiv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/tov/thousands-rs")
+    (synopsis "Adds digit separators to numerals, configurably.")
+    (description "This package provides thousand separators for numerals.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-tls-parser-0.10
   (package
     (name "rust-tls-parser")