guix-commits
[Top][All Lists]
Advanced

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

149/350: gnu: rust-aes-soft-0.3: Mark as deprecated.


From: guix-commits
Subject: 149/350: gnu: rust-aes-soft-0.3: Mark as deprecated.
Date: Sun, 15 Dec 2024 02:14:24 -0500 (EST)

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

commit 7e631f13791b0dd22e092fcc1fbae4fded988626
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 4 10:21:48 2024 +0200

    gnu: rust-aes-soft-0.3: Mark as deprecated.
    
    * gnu/packages/crates-crypto.scm (rust-aes-soft-0.3): Rename to
    rust-aes-soft-0.3.3-yanked.
    [source]: Add 'yanked' to the source file-name.
    (rust-aes-soft-0.3): New deprecated package pointing to
    rust-aes-soft-0.3.3-yanked.
    
    Change-Id: I53e31084a1094237a98ba7fc94472e235d3af568
---
 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 8bf4947d18..6fd556fa55 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -478,16 +478,16 @@ This package is deprecated and was replaced by the 
@code{aes} crate.")
        #:cargo-development-inputs
        (("rust-block-cipher" ,rust-block-cipher-0.7))))))
 
-(define-public rust-aes-soft-0.3
+(define-public rust-aes-soft-0.3.3-yanked
   (package
     (inherit rust-aes-soft-0.4)
     (name "rust-aes-soft")
-    (version "0.3.3")
+    (version "0.3.3") ; 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 "039si7yjp0wcd750sgq52c60sh2ikaxwd7rq7g0ba7ws7ypfgmyg"))))
     (arguments
@@ -496,7 +496,12 @@ This package is deprecated and was replaced by the 
@code{aes} crate.")
         ("rust-byteorder" ,rust-byteorder-1)
         ("rust-opaque-debug" ,rust-opaque-debug-0.2))
        #: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-soft-0.3
+  ;; There are no non-yanked versions of this semver.
+  (deprecated-package "rust-aes-soft" rust-aes-soft-0.3.3-yanked))
 
 (define-public rust-aesni-0.10
   (package



reply via email to

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