gnu: Add rust-hex.

* gnu/packages/crates-io.scm (rust-hex): New variable.
This commit is contained in:
Efraim Flashner 2019-08-04 13:49:50 +03:00
parent 1956ba239c
commit 1d5c422c4a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -253,6 +253,26 @@ (define-public rust-futures
(license (list license:asl2.0
license:expat))))
(define-public rust-hex
(package
(name "rust-hex")
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "hex" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
(build-system cargo-build-system)
(home-page "https://github.com/KokaKiwi/rust-hex")
(synopsis "Encode and decode data to/from hexadecimals")
(description "This crate allows for encoding and decoding data into/from
hexadecimal representation.")
(license (list license:asl2.0
license:expat))))
(define-public rust-proc-macro2
(package
(name "rust-proc-macro2")