diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-16 19:57:30 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:41:44 +0530 |
commit | a5005caa9028488b978229eace9b828788b0f6f5 (patch) | |
tree | 75beba4ad4df3f1b19884f3a8e59eb3aee0b9e33 /gnu | |
parent | d45c78ad4c74fbdaac982f29daeff84e49e9dfef (diff) | |
download | guix-a5005caa9028488b978229eace9b828788b0f6f5.tar.gz |
gnu: Add rust-humansize-1.
* gnu/packages/crates-io.scm (rust-humansize-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 00d89e3f9a..a77a280f3f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10245,6 +10245,25 @@ or response body.") "This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.") (license (list license:asl2.0 license:expat)))) +(define-public rust-humansize-1 + (package + (name "rust-humansize") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "humansize" version)) + (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)))) + (define-public rust-humantime-2 (package (name "rust-humantime") |