gnu: Add rust-charset-0.1.

* gnu/packages/crates-io.scm (rust-charset-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
phodina 2021-09-03 22:43:54 +00:00 committed by Nicolas Goaziou
parent b9365e93ae
commit 85ba0cff8a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -7913,6 +7913,33 @@ (define-public rust-chalk-solve-0.68
"This package provides a combines the chalk-engine with chalk-ir.")
(license (list license:asl2.0 license:expat))))
(define-public rust-charset-0.1
(package
(name "rust-charset")
(version "0.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "charset" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0wzwnck82maqa03hvpprpd1zvnzmzxpkqna4pxnf4g8wvxj6whjg"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-base64" ,rust-base64-0.10)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-serde" ,rust-serde-1))))
(home-page "https://docs.rs/charset/")
(synopsis "Thunderbird-compatible character encoding decoding for email")
(description
"charset is a wrapper around @code{encoding_rs} that
provides (non-streaming) decoding for character encodings that occur in email
by providing decoding for UTF-7 in addition to the encodings defined by the
Encoding Standard.")
(license (list license:expat license:asl2.0))))
(define-public rust-chrono-0.4
(package
(name "rust-chrono")