gnu: rust-block-cipher-trait-0.6: Mark package as deprecated.

* gnu/packages/crates-crypto.scm (rust-block-cipher-trait-0.6): Rename
to rust-block-cipher-trait-0.6.2-yanked.
[source]: Add 'yanked' to the source file-name.
(rust-block-cipher-trait-0.6): New deprecated package pointing to
rust-block-cipher-trait-0.6.2-yanked.

Change-Id: Ia1f8c55d14b3fcb77e4de723587d2f409a925fdb
This commit is contained in:
Efraim Flashner 2024-12-04 10:35:10 +02:00
parent 882e9dfa10
commit b26a07b1d4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -875,15 +875,15 @@ based on Blake2s.")
ciphers.") ciphers.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-block-cipher-trait-0.6 (define-public rust-block-cipher-trait-0.6.2-yanked
(package (package
(name "rust-block-cipher-trait") (name "rust-block-cipher-trait")
(version "0.6.2") (version "0.6.2") ; This version was yanked!
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "block-cipher-trait" version)) (uri (crate-uri "block-cipher-trait" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version "-yanked.tar.gz"))
(sha256 (sha256
(base32 "0x273w6fwka0i48nrv428birdrs2jz6jdnmc0dhc1rq9pm4lv4hw")))) (base32 "0x273w6fwka0i48nrv428birdrs2jz6jdnmc0dhc1rq9pm4lv4hw"))))
(build-system cargo-build-system) (build-system cargo-build-system)
@ -896,7 +896,13 @@ ciphers.")
(synopsis "Block cipher algorithms") (synopsis "Block cipher algorithms")
(description "This package provides a collection of block cipher (description "This package provides a collection of block cipher
algorithms. This package is deprecated. Please use block-cipher instead.") algorithms. This package is deprecated. Please use block-cipher instead.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))
(properties '((crate-version-yanked? . #t)))))
(define-public rust-block-cipher-trait-0.6
;; There are no non-yanked versions of this semver.
(deprecated-package "rust-block-cipher-trait"
rust-block-cipher-trait-0.6.2-yanked))
(define-public rust-block-cipher-trait-0.4.2-yanked (define-public rust-block-cipher-trait-0.4.2-yanked
(package (package