gnu: rust-aes-soft-0.4: Mark as deprecated.

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

Change-Id: Iabd3164ddfea091e9fd50e15327e24610e10b145
This commit is contained in:
Efraim Flashner 2024-12-04 10:24:00 +02:00
parent 93928679cd
commit 3f9c4ad90a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -457,16 +457,16 @@ (define-public rust-aes-soft-0.6
This package is deprecated and was replaced by the @code{aes} crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-aes-soft-0.4
(define-public rust-aes-soft-0.4.0-yanked
(package
(inherit rust-aes-soft-0.6)
(name "rust-aes-soft")
(version "0.4.0")
(version "0.4.0") ; 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
"19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9"))))
@ -476,7 +476,12 @@ (define-public rust-aes-soft-0.4
("rust-byteorder" ,rust-byteorder-1)
("rust-opaque-debug" ,rust-opaque-debug-0.2))
#:cargo-development-inputs
(("rust-block-cipher" ,rust-block-cipher-0.7))))))
(("rust-block-cipher" ,rust-block-cipher-0.7))))
(properties '((crate-version-yanked? . #t)))))
(define-public rust-aes-soft-0.4
;; There are no non-yanked versions of this semver.
(deprecated-package "rust-aes-soft" rust-aes-soft-0.4.0-yanked))
(define-public rust-aes-soft-0.3.3-yanked
(package