aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-31 21:07:37 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-02-06 10:48:14 +0200
commita1add81e635116c580589d0f83a20513868e7dcc (patch)
treee99000b8e74d538ea2b2795dc1ded475cd338e30
parent9ce26f2d492e557c969252413b81ec8d76dd0c0c (diff)
downloadguix-a1add81e635116c580589d0f83a20513868e7dcc.tar.gz
guix-a1add81e635116c580589d0f83a20513868e7dcc.zip
gnu: Add rust-number-prefix-0.3.
* gnu/packages/crates-io.scm (rust-number-prefix-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b10a206fd6..c6e4beec62 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")