3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add rust-hex-literal-0.2.

* gnu/packages/crates-io.scm (rust-hex-literal-impl-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2019-12-14 20:24:56 -08:00 committed by Efraim Flashner
parent 1885a4f1e2
commit 7f57a465f0
Signed by untrusted user: efraim
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3079,6 +3079,33 @@ hexadecimal representation.")
(license (list license:asl2.0
license:expat))))
(define-public rust-hex-literal-0.2
(package
(name "rust-hex-literal")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hex-literal" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0ni2nv3di0jpih2xnmlnr6s96zypkdr8xrw2cvk4f8fx5wb6inn3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-hex-literal-impl" ,rust-hex-literal-impl-0.2)
("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
(home-page "https://github.com/RustCrypto/utils")
(synopsis
"Convert hexadecimal string to byte array at compile time")
(description
"Procedural macro for converting hexadecimal string to byte array at
compile time.")
(license (list license:asl2.0 license:expat))))
(define-public rust-humantime-1.2
(package
(name "rust-humantime")