aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilkey Mouse <milkeymouse@meme.institute>2021-08-31 20:54:10 -0700
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-07 22:01:12 +0200
commit2c8c3e285642a1d1ac488a91dc62d93533e323c5 (patch)
tree522aa4bb76fe99e577b55778b40eee7400196a30
parent7350ac03077da22302388f93a3f6dccb4e4ac892 (diff)
downloadguix-2c8c3e285642a1d1ac488a91dc62d93533e323c5.tar.gz
guix-2c8c3e285642a1d1ac488a91dc62d93533e323c5.zip
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>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 22 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eaa3c45dd8..316cc42a91 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20617,10 +20617,10 @@ hexadecimal representation.")
(sha256
(base32 "1ajkw40qzn2ygnqjj9w584f6l31wi318258n84pn2hax8la2i8nn"))))))
-(define-public rust-hex-literal-0.2
+(define-public rust-hex-literal-0.3
(package
(name "rust-hex-literal")
- (version "0.2.1")
+ (version "0.3.3")
(source
(origin
(method url-fetch)
@@ -20629,12 +20629,8 @@ hexadecimal representation.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1q36f0qq31ggh4ipcwb7a5g6jmci2010vn2v3qpaz4csxhhf47cn"))))
+ "0nzljsyz9rwhh4vi0xs9ya4l5g0ka754wgpy97r1j3v42c75kr11"))))
(build-system cargo-build-system)
- (arguments
- `(#: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")
@@ -20643,6 +20639,25 @@ hexadecimal representation.")
compile time.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-hex-literal-0.2
+ (package
+ (inherit rust-hex-literal-0.3)
+ (name "rust-hex-literal")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hex-literal" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q36f0qq31ggh4ipcwb7a5g6jmci2010vn2v3qpaz4csxhhf47cn"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-hex-literal-impl" ,rust-hex-literal-impl-0.2)
+ ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))))
+
(define-public rust-hex-literal-0.1
(package
(inherit rust-hex-literal-0.2)