guix-commits
[Top][All Lists]
Advanced

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

73/156: gnu: Add rust-human-format-1.


From: guix-commits
Subject: 73/156: gnu: Add rust-human-format-1.
Date: Tue, 24 Oct 2023 08:52:32 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 09f3482132788c10025035b86d97a4a5a7ffeb5b
Author: Efraim Flashner <efraim@flashner.co.il>
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")



reply via email to

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