From 6c1cf7da242d437ebf6d484fc7d840c0d5c18bc8 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 7 Jan 2022 14:55:47 +0100 Subject: [PATCH] gnu: Add rust-rustc-hex-2. * gnu/packages/crates-io.scm (rust-rustc-hex-2): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8f72c54bee..c9aa03236e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -46049,6 +46049,25 @@ (define-public rust-rustc-hash-1 "This package provides a speedy, non-cryptographic hash used in rustc.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-hex-2 + (package + (name "rust-rustc-hex") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mkjy2vbn5kzg67wgngwddlk4snmd8mkjkql2dzrzzfh6ajzcx9y")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/debris/rustc-hex") + (synopsis "Rustc-serialize compatible hex conversion traits") + (description "This package provides rustc-serialize compatible hex +conversion traits.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-rayon-0.3 (package (name "rust-rustc-rayon")