From 91616a5f3d99e699a267426bcf393bd311d7f15b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 09:10:37 +0300 Subject: [PATCH] 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 2c3157f213..1c34a76c07 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32694,6 +32694,27 @@ (define-public rust-httpdate-1 "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")