gnu: Add rust-byte-unit-4.

* gnu/packages/crates-io.scm (rust-byte-unit-4): New variable.
This commit is contained in:
Nicolas Goaziou 2020-12-09 15:26:39 +01:00
parent 92d03ec863
commit b129046d42
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -2961,6 +2961,28 @@ (define-public rust-byte-tools-0.3
(description "Bytes related utility functions.")
(license (list license:asl2.0 license:expat))))
(define-public rust-byte-unit-4
(package
(name "rust-byte-unit")
(version "4.0.9")
(source
(origin
(method url-fetch)
(uri (crate-uri "byte-unit" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-serde" ,rust-serde-1)
("rust-utf8-width" ,rust-utf8-width-0.1))))
(home-page "https://magiclen.org/byte-unit")
(synopsis "Library for interaction with units of bytes.")
(description
"This package provides a library for interaction with units of bytes.")
(license license:expat)))
(define-public rust-bytecount-0.6
(package
(name "rust-bytecount")