guix-commits
[Top][All Lists]
Advanced

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

06/23: gnu: Add rust-number-prefix-0.3.


From: guix-commits
Subject: 06/23: gnu: Add rust-number-prefix-0.3.
Date: Thu, 6 Feb 2020 03:56:52 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit a1add81e635116c580589d0f83a20513868e7dcc
Author: John Soo <address@hidden>
AuthorDate: Fri Jan 31 21:07:37 2020 -0800

    gnu: Add rust-number-prefix-0.3.
    
    * gnu/packages/crates-io.scm (rust-number-prefix-0.3): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b10a206..c6e4bee 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7144,6 +7144,27 @@ combinators library.")
      `(#:cargo-inputs
        (("rust-num-traits" , rust-num-traits-0.2))))))
 
+(define-public rust-number-prefix-0.3
+  (package
+    (name "rust-number-prefix")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "number_prefix" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0slm4mqmpgs6hvz22ycny9lvyvl9ivs80a1lncslp7lszz02zc0p"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/ogham/rust-number-prefix";)
+    (synopsis "Format numeric prefixes: kilo, giga, kibi")
+    (description
+     "This package provides a library for formatting numeric prefixes: kilo,
+giga, kibi.")
+    (license license:expat)))
+
 (define-public rust-numtoa-0.1
   (package
     (name "rust-numtoa")



reply via email to

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