gnu: rust-aes-0.3: Mark as deprecated.

* gnu/packages/crates-crypto.scm (rust-aes-0.3): Rename to
rust-aes-0.3.2-yanked.
[source]: Add 'yanked' to the source file-name.
(rust-aes-0.3): New deprecated package pointing to
rust-aes-0.3.2-yanked.

Change-Id: I7be9ae6673af70975d929babdb5f8f0e46fd3903
This commit is contained in:
Efraim Flashner 2024-12-04 10:16:45 +02:00
parent daa7e378e3
commit f506b35f41
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -243,16 +243,16 @@ ciphers implementations.")
#:cargo-development-inputs #:cargo-development-inputs
(("rust-block-cipher" ,rust-block-cipher-0.7)))))) (("rust-block-cipher" ,rust-block-cipher-0.7))))))
(define-public rust-aes-0.3 (define-public rust-aes-0.3.2-yanked
(package (package
(inherit rust-aes-0.4) (inherit rust-aes-0.4)
(name "rust-aes") (name "rust-aes")
(version "0.3.2") (version "0.3.2") ; This version was yanked!
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "aes" version)) (uri (crate-uri "aes" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version "-yanked.tar.gz"))
(sha256 (sha256
(base32 "1j90iwpax0y1dqq14i8y9xgpcnnlgnljwkxg3mhzrralwf7ivssl")))) (base32 "1j90iwpax0y1dqq14i8y9xgpcnnlgnljwkxg3mhzrralwf7ivssl"))))
(arguments (arguments
@ -261,7 +261,12 @@ ciphers implementations.")
("rust-aesni" ,rust-aesni-0.6) ("rust-aesni" ,rust-aesni-0.6)
("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)) ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6))
#:cargo-development-inputs #: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-0.3
;; There are no non-yanked versions of this semver.
(deprecated-package "rust-aes" rust-aes-0.3.2-yanked))
(define-public rust-aes-ctr-0.6 (define-public rust-aes-ctr-0.6
(package (package