From d58a8463ff1865a8a9b589b24ebbd367ad2023c5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 5 Feb 2021 22:49:34 +0100 Subject: [PATCH] gnu: Remove rust-lazy-static-1.3 and rust-lazy-static-1.4. * gnu/packages/crates-io.scm (rust-lazy-static-1): Renamed from rust-lazy-static-1.4. (rust-lazy-static-1.3): Remove variable. (rust-lazy-static-0.2): (rust-ring-0.16): Apply removal and renaming. --- gnu/packages/crates-io.scm | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bbd2f965c4..52c00fbc2e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17958,7 +17958,7 @@ (define-public rust-lazy-bytes-cast-5 "This crate provides simple methods to cast from and into byte arrays.") (license license:boost1.0))) -(define-public rust-lazy-static-1.4 +(define-public rust-lazy-static-1 (package (name "rust-lazy-static") (version "1.4.0") @@ -17986,27 +17986,9 @@ (define-public rust-lazy-static-1.4 (license (list license:asl2.0 license:expat)))) -(define-public rust-lazy-static-1 rust-lazy-static-1.4) - -(define-public rust-lazy-static-1.3 - (package - (inherit rust-lazy-static-1.4) - (name "rust-lazy-static") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lazy_static" version)) - (file-name (string-append name "-" version ".crate")) - (sha256 - (base32 - "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw")))) - (arguments - `(#:cargo-inputs (("rust-spin" ,rust-spin-0.5)))))) - (define-public rust-lazy-static-0.2 (package - (inherit rust-lazy-static-1.4) + (inherit rust-lazy-static-1) (name "rust-lazy-static") (version "0.2.11") (source @@ -28814,7 +28796,7 @@ (define-public rust-ring-0.16 (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1.3) + (("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-spin" ,rust-spin-0.5) ("rust-untrusted" ,rust-untrusted-0.7)