efraim pushed a commit to branch rust-team
in repository guix.
commit 314e8afb8275eba9768e0dfaeb272be97b40dcab
Author: Efraim Flashner <[email protected]>
AuthorDate: Thu May 11 16:53:33 2023 +0300
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.
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++---------
1 file changed, 22 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c1601fc35..7f2fbf2dd3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27432,8 +27432,29 @@ hexadecimal representation.")
(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 @@ hexadecimal representation.")
(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