[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
271/379: gnu: Add rust-humansize-2.
From: |
guix-commits |
Subject: |
271/379: gnu: Add rust-humansize-2. |
Date: |
Mon, 10 Jul 2023 05:29:00 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 46036db9d8cf85071d07e3a06aff166570dc8e79
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 16:59:16 2023 +0300
gnu: Add rust-humansize-2.
* gnu/packages/crates-io.scm (rust-humansize-2): New variable.
(rust-humansize-1): Inherit from rust-humansize-2.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++--------
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3fed85222a..59ea4532c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28944,10 +28944,31 @@ HTTP request or response body.")
"This package provides a Humantime serialization timestamp format.")
(license (list license:expat license:asl2.0))))
+(define-public rust-humansize-2
+ (package
+ (name "rust-humansize")
+ (version "2.1.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "humansize" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1msxd1akb3dydsa8qs461sds9krwnn31szvqgaq93p4x0ad1rdbc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libm" ,rust-libm-0.2))))
+ (home-page "https://github.com/LeopoldArkham/humansize")
+ (synopsis "Represent file sizes in a human-readable format")
+ (description "This package provides a configurable crate to easily
+represent file sizes in a human-readable format.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-humansize-1
(package
+ (inherit rust-humansize-2)
(name "rust-humansize")
- (version "1.1.0")
+ (version "1.1.1")
(source
(origin
(method url-fetch)
@@ -28955,13 +28976,7 @@ HTTP request or response body.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0piadmwjah1jv6q288im4za9szlgalzjyq2811w35i6gg9ib5jmn"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/LeopoldArkham/humansize")
- (synopsis "Represent file sizes in a human-readable format")
- (description "This package provides a configurable crate to easily
-represent file sizes in a human-readable format.")
- (license (list license:expat license:asl2.0))))
+ "09nh6xyssghjajvip9crd79i4a40nw8r4bdwwg3dg5l7rfb6ja82"))))))
(define-public rust-humantime-2
(package
- 245/379: gnu: Add rust-anstyle-query-1., (continued)
- 245/379: gnu: Add rust-anstyle-query-1., guix-commits, 2023/07/10
- 250/379: gnu: Add rust-capnp-0.14., guix-commits, 2023/07/10
- 253/379: gnu: rust-cipher-0.4: Update to 0.4.4., guix-commits, 2023/07/10
- 257/379: gnu: Add rust-color-print-proc-macro-0.3., guix-commits, 2023/07/10
- 258/379: gnu: Add rust-cpp-demangle-0.4., guix-commits, 2023/07/10
- 255/379: gnu: rust-clap-4: Update to 4.3.0., guix-commits, 2023/07/10
- 256/379: gnu: Add rust-clap-lex-0.5., guix-commits, 2023/07/10
- 266/379: gnu: Add rust-hashbrown-0.13., guix-commits, 2023/07/10
- 269/379: gnu: Add rust-html5ever-0.26., guix-commits, 2023/07/10
- 270/379: gnu: rust-html-escape-0.2: Update to 0.2.13., guix-commits, 2023/07/10
- 271/379: gnu: Add rust-humansize-2.,
guix-commits <=
- 272/379: gnu: Add rust-libsqlite3-sys-0.26., guix-commits, 2023/07/10
- 273/379: gnu: Add rust-markup5ever-0.11., guix-commits, 2023/07/10
- 282/379: gnu: rust-pest-meta-2: Update to 2.6.0., guix-commits, 2023/07/10
- 285/379: gnu: Add rust-pulldown-cmark-0.9., guix-commits, 2023/07/10
- 286/379: gnu: Add rust-remove-dir-all-0.8., guix-commits, 2023/07/10
- 291/379: gnu: Add rust-serde-yaml-0.9., guix-commits, 2023/07/10
- 293/379: gnu: Add rust-smart-default-0.7., guix-commits, 2023/07/10
- 294/379: gnu: rust-snapbox-macros-0.3: Update to 0.3.4., guix-commits, 2023/07/10
- 295/379: gnu: rust-snapbox-0.4: Update to 0.4.11., guix-commits, 2023/07/10
- 301/379: gnu: rust-thread-local-1: Update to 1.1.7., guix-commits, 2023/07/10