diff options
author | John Soo <jsoo1@asu.edu> | 2020-01-15 09:36:59 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-20 17:20:10 +0200 |
commit | 166aca480e1bdc0932a3d0427d00fcb138bcf907 (patch) | |
tree | adc7dd6f80e14f91ff50e5294fd02bbd3b1e1cdc | |
parent | 2157f749ec6d52c1287032da383dd1c4d9b9d61d (diff) | |
download | patches-166aca480e1bdc0932a3d0427d00fcb138bcf907.tar patches-166aca480e1bdc0932a3d0427d00fcb138bcf907.tar.gz |
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 <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files 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") |