diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 16:59:16 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:37:54 +0300 |
commit | 99bc23bc6620fdfb2273e3633f7473056ec29b89 (patch) | |
tree | 5eb14029f37794a772d969ec5993798161e43b97 | |
parent | f4e1cd5af59803f4fb3b21e4e63e62d10b42a364 (diff) |
gnu: Add rust-humansize-2.
* gnu/packages/crates-io.scm (rust-humansize-2): New variable.
(rust-humansize-1): Inherit from rust-humansize-2.
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files 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 |