gnu: Add rust-hex-literal-0.3.
* gnu/packages/crates-io.scm (rust-hex-literal-0.3): New variable. (rust-hex-literal-0.2): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
7350ac0307
commit
2c8c3e2856
1 changed files with 24 additions and 9 deletions
|
@ -20617,8 +20617,31 @@ hexadecimal representation.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1ajkw40qzn2ygnqjj9w584f6l31wi318258n84pn2hax8la2i8nn"))))))
|
(base32 "1ajkw40qzn2ygnqjj9w584f6l31wi318258n84pn2hax8la2i8nn"))))))
|
||||||
|
|
||||||
|
(define-public rust-hex-literal-0.3
|
||||||
|
(package
|
||||||
|
(name "rust-hex-literal")
|
||||||
|
(version "0.3.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "hex-literal" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0nzljsyz9rwhh4vi0xs9ya4l5g0ka754wgpy97r1j3v42c75kr11"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(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-hex-literal-0.2
|
(define-public rust-hex-literal-0.2
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-hex-literal-0.3)
|
||||||
(name "rust-hex-literal")
|
(name "rust-hex-literal")
|
||||||
(version "0.2.1")
|
(version "0.2.1")
|
||||||
(source
|
(source
|
||||||
|
@ -20630,18 +20653,10 @@ hexadecimal representation.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1q36f0qq31ggh4ipcwb7a5g6jmci2010vn2v3qpaz4csxhhf47cn"))))
|
"1q36f0qq31ggh4ipcwb7a5g6jmci2010vn2v3qpaz4csxhhf47cn"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-hex-literal-impl" ,rust-hex-literal-impl-0.2)
|
(("rust-hex-literal-impl" ,rust-hex-literal-impl-0.2)
|
||||||
("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
|
("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-hex-literal-0.1
|
(define-public rust-hex-literal-0.1
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue