mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-23 10:47:24 +01:00
gnu: rust-crypto-mac-0.4: Mark package as deprecated.
* gnu/packages/crates-crypto.scm (rust-crypto-mac-0.4): Rename to rust-crypto-mac-0.4.0-yanked. [source]: Add 'yanked' to the source file-name. (rust-crypto-mac-0.4): New deprecated package pointing to rust-crypto-mac-0.4.0-yanked. Change-Id: Iabbb3e7cab1aa3d65534bcc5b7acfad8571227ef
This commit is contained in:
parent
b26a07b1d4
commit
d9589e4482
1 changed files with 10 additions and 4 deletions
|
@ -1739,22 +1739,28 @@ (define-public rust-crypto-mac-0.7
|
|||
("rust-generic-array" ,rust-generic-array-0.12)
|
||||
("rust-subtle" ,rust-subtle-1))))))
|
||||
|
||||
(define-public rust-crypto-mac-0.4
|
||||
(define-public rust-crypto-mac-0.4.0-yanked
|
||||
(package
|
||||
(inherit rust-crypto-mac-0.11)
|
||||
(name "rust-crypto-mac")
|
||||
(version "0.4.0")
|
||||
(version "0.4.0") ; This version was yanked!
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "crypto-mac" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version "-yanked.tar.gz"))
|
||||
(sha256
|
||||
(base32 "160ixpghhz5kz16f38kzcyv6lx8wmi4cgbhlhq4nazf678iib43p"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
|
||||
("rust-generic-array" ,rust-generic-array-0.8))))))
|
||||
("rust-generic-array" ,rust-generic-array-0.8))))
|
||||
(properties '((crate-version-yanked? . #t)))))
|
||||
|
||||
(define-public rust-crypto-mac-0.4
|
||||
;; There are no non-yanked versions of this semver.
|
||||
(deprecated-package "rust-crypto-mac" rust-crypto-mac-0.4.0-yanked))
|
||||
|
||||
|
||||
(define-public rust-crypto-tests-0.5
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue