gnu: Add rust-data-encoding.

* gnu/packages/crates-io.scm (rust-data-encoding): New variable.
This commit is contained in:
Efraim Flashner 2019-08-28 15:44:58 +03:00
parent 73645bcb47
commit 0c15f1432c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -220,6 +220,26 @@ (define-public rust-core-foundation-sys
(license (list license:asl2.0
license:expat))))
(define-public rust-data-encoding
(package
(name "rust-data-encoding")
(version "2.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "data-encoding" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l"))))
(build-system cargo-build-system)
(home-page "https://github.com/ia0/data-encoding")
(synopsis "Efficient and customizable data-encoding functions")
(description
"This library provides encodings for many different common cases, including
hexadecimal, bas32, and base64.")
(license license:expat)))
(define-public rust-discard
(package
(name "rust-discard")