From fe8364e4f6e275115236ead79d659a67df303e05 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 21 Sep 2022 11:56:18 +0200 Subject: gnu: Add rust-number-prefix-0.4. * gnu/packages/crates-io.scm (rust-number-prefix-0.4): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 376c86f983..6ca47574b3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39570,6 +39570,25 @@ (define-public rust-num-traits-0.1 `(#:cargo-inputs (("rust-num-traits" , rust-num-traits-0.2)))))) +(define-public rust-number-prefix-0.4 + (package + (name "rust-number-prefix") + (version "0.4.0") + (source (origin + (method url-fetch) + (uri (crate-uri "number_prefix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wvh13wvlajqxkb1filsfzbrnq0vrmrw298v2j3sy82z1rm282w3")))) + (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-number-prefix-0.3 (package (name "rust-number-prefix") -- cgit v1.2.3