From 93928679cd9c7564fe15345bae796f79623d6f69 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 4 Dec 2024 10:21:48 +0200 Subject: [PATCH] gnu: rust-aes-soft-0.3: Mark as deprecated. * gnu/packages/crates-crypto.scm (rust-aes-soft-0.3): Rename to rust-aes-soft-0.3.3-yanked. [source]: Add 'yanked' to the source file-name. (rust-aes-soft-0.3): New deprecated package pointing to rust-aes-soft-0.3.3-yanked. Change-Id: I53e31084a1094237a98ba7fc94472e235d3af568 --- gnu/packages/crates-crypto.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 8bf4947d18..6fd556fa55 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -478,16 +478,16 @@ (define-public rust-aes-soft-0.4 #:cargo-development-inputs (("rust-block-cipher" ,rust-block-cipher-0.7)))))) -(define-public rust-aes-soft-0.3 +(define-public rust-aes-soft-0.3.3-yanked (package (inherit rust-aes-soft-0.4) (name "rust-aes-soft") - (version "0.3.3") + (version "0.3.3") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "aes-soft" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "039si7yjp0wcd750sgq52c60sh2ikaxwd7rq7g0ba7ws7ypfgmyg")))) (arguments @@ -496,7 +496,12 @@ (define-public rust-aes-soft-0.3 ("rust-byteorder" ,rust-byteorder-1) ("rust-opaque-debug" ,rust-opaque-debug-0.2)) #:cargo-development-inputs - (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)))))) + (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-aes-soft-0.3 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-aes-soft" rust-aes-soft-0.3.3-yanked)) (define-public rust-aesni-0.10 (package