mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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:
parent
1885a4f1e2
commit
7f57a465f0
1 changed files with 27 additions and 0 deletions
|
@ -3079,6 +3079,33 @@ hexadecimal representation.")
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
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
|
(define-public rust-humantime-1.2
|
||||||
(package
|
(package
|
||||||
(name "rust-humantime")
|
(name "rust-humantime")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue