guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

151/308: gnu: rust-aesni-0.6: Mark package as deprecated.


From: guix-commits
Subject: 151/308: gnu: rust-aesni-0.6: Mark package as deprecated.
Date: Wed, 4 Dec 2024 16:21:01 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit b2b189d2f42833c00340b07926aa580343ba8b12
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 4 10:28:35 2024 +0200

    gnu: rust-aesni-0.6: Mark package as deprecated.
    
    * gnu/packages/crates-crypto.scm (rust-aesni-0.6): Rename to
    rust-aesni-0.6.0-yanked.
    [source]: Add 'yanked' to the source file-name.
    (rust-aesni-0.6): New deprecated package pointing to
    rust-aesni-0.6.0-yanked.
    
    Change-Id: I623499ea673687be1de3247767ff4e0b373eb340
---
 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 b86e830d03..96e25ddb3e 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -556,16 +556,16 @@ This package is deprecated and was replaced by the 
@code{aes} crate.")
        (("rust-block-cipher" ,rust-block-cipher-0.7)
         ("rust-stream-cipher" ,rust-stream-cipher-0.4))))))
 
-(define-public rust-aesni-0.6
+(define-public rust-aesni-0.6.0-yanked
   (package
     (inherit rust-aesni-0.7)
     (name "rust-aesni")
-    (version "0.6.0")
+    (version "0.6.0") ; This version is yanked!
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "aesni" version))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version "-yanked.tar.gz"))
        (sha256
         (base32 "007imgcfl82nilfpamj5dik83pkcmkzvbkxp384p7r3iz6sscw1g"))))
     (arguments
@@ -573,7 +573,12 @@ This package is deprecated and was replaced by the 
@code{aes} crate.")
        #:cargo-inputs
        (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)
         ("rust-opaque-debug" ,rust-opaque-debug-0.2)
-        ("rust-stream-cipher" ,rust-stream-cipher-0.3))))))
+        ("rust-stream-cipher" ,rust-stream-cipher-0.3))))
+    (properties '((crate-version-yanked? . #t)))))
+
+(define-public rust-aesni-0.6
+  ;; There are no non-yanked versions of this semver.
+  (deprecated-package "rust-aesni" rust-aesni-0.6.0-yanked))
 
 (define-public rust-argon2-0.5
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]