From 166aca480e1bdc0932a3d0427d00fcb138bcf907 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:36:59 -0800 Subject: gnu: Add rust-hex-0.4. * gnu/packages/crates-io.scm (rust-hex-0.4): New variable. (rust-hex-0.3): Inherit from rust-hex-0.4. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dc358877f2..7fb93494c2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4303,18 +4303,19 @@ heap.") total runtime size of an object on the heap") (license license:mpl2.0))) -(define-public rust-hex-0.3 +(define-public rust-hex-0.4 (package (name "rust-hex") - (version "0.3.2") + (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "hex" version)) - (file-name (string-append name "-" version ".crate")) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40")))) + "0glsfrx2pxfsf6ivxj7vfrvd7g78j4z47ssgm5idm8p376z3jfq2")))) (build-system cargo-build-system) (arguments '(#:skip-build? #t)) (home-page "https://github.com/KokaKiwi/rust-hex") @@ -4324,6 +4325,20 @@ hexadecimal representation.") (license (list license:asl2.0 license:expat)))) +(define-public rust-hex-0.3 + (package + (inherit rust-hex-0.4) + (name "rust-hex") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hex" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40")))))) + (define-public rust-hex-literal-0.2 (package (name "rust-hex-literal") -- cgit 1.4.1