diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-06-03 21:23:12 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-06-06 02:38:26 -0400 |
commit | 25c4ad2771f27d65db817fb1feb599b391af0097 (patch) | |
tree | 76c973a91c660af428b7ae9e23c0d3ed9e5f1fe5 /gnu | |
parent | c5f0ce224460ba8dc5e3c53af5795efce4f993d5 (diff) | |
download | guix-25c4ad2771f27d65db817fb1feb599b391af0097.tar.gz |
gnu: Add rust-bytesize-1.
* gnu/packages/crates-io.scm (rust-bytesize-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 91acf23752..cb91d76ba1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6253,6 +6253,29 @@ little-endian.") exposed as Reader/Writer streams.") (license (list license:expat license:asl2.0)))) +(define-public rust-bytesize-1 + (package + (name "rust-bytesize") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytesize" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nl2j2bi9nk3q564jhyb77947wdv5ch54r14gjv4c59s563qd8c1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/hyunsik/bytesize/") + (synopsis "Human-readable byte count representation library for Rust") + (description "ByteSize is an utility for human-readable byte count +representation, with support for both SI and binary units.") + (license license:asl2.0))) + (define-public rust-bzip2-0.3 (package (inherit rust-bzip2-0.4) |