guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: Add rust-thousands.


From: guix-commits
Subject: 04/05: gnu: Add rust-thousands.
Date: Thu, 8 Dec 2022 16:07:59 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit f06bd657bd708c19415e8e6748432a45cf6ca4ba
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Wed Dec 7 19:58:16 2022 +0100

    gnu: Add rust-thousands.
    
    * gnu/packages/crates-io.scm (rust-thousands-0.2): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]