gnu: Add rust-hex-literal-0.4.

* gnu/packages/crates-io.scm (rust-hex-literal-0.4): New variable.
(rust-hex-literal-0.3): Inherit from rust-hex-literal-0.4.
This commit is contained in:
Efraim Flashner 2023-05-11 16:53:33 +03:00
parent 06252c3977
commit d65858640f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -27432,8 +27432,29 @@ (define-public rust-hex-0.2
(sha256
(base32 "1ajkw40qzn2ygnqjj9w584f6l31wi318258n84pn2hax8la2i8nn"))))))
(define-public rust-hex-literal-0.4
(package
(name "rust-hex-literal")
(version "0.4.1")
(source (origin
(method url-fetch)
(uri (crate-uri "hex-literal" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0iny5inkixsdr41pm2vkqh3fl66752z5j5c0cdxw16yl9ryjdqkg"))))
(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:expat license:asl2.0))))
(define-public rust-hex-literal-0.3
(package
(inherit rust-hex-literal-0.4)
(name "rust-hex-literal")
(version "0.3.3")
(source
@ -27444,15 +27465,7 @@ (define-public rust-hex-literal-0.3
(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))))
"0nzljsyz9rwhh4vi0xs9ya4l5g0ka754wgpy97r1j3v42c75kr11"))))))
(define-public rust-hex-literal-0.2
(package