efraim pushed a commit to branch rust-team
in repository guix.
commit 27cda2f9b905d4f56cbf262b543bf6e22b6da539
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Oct 24 09:10:37 2023 +0300
gnu: Add rust-human-format-1.
* gnu/packages/crates-io.scm (rust-human-format-1): New variable.
Change-Id: If3147d7bc002a789994edbe80b77e1ec5ae9b685
---
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 eb728ec8c8..8d368f352e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32679,6 +32679,27 @@ HTTP request or response body.")
"This crates parses and formats HTTP datetime strings.")
(license (list license:expat license:asl2.0))))
+(define-public rust-human-format-1
+ (package
+ (name "rust-human-format")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "human-format" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c3w2lm41gmnd82acjsi6y50ym2sh5fdb6abghysmaaqsxhf5k46"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t)) ; Wants the galvanic framework for the tests.
+ (home-page "https://github.com/BobGneu/human-format-rs")
+ (synopsis "Rust Port of human-format from node")
+ (description
+ "Rust Port of human-format from node, formatting numbers for us, while the
+machines are still at bay.")
+ (license license:expat)))
+
(define-public rust-humantime-serde-1
(package
(name "rust-humantime-serde")