guix-commits
[Top][All Lists]
Advanced

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

261/409: gnu: rust-ravif-0.6: Mark package as deprecated.


From: guix-commits
Subject: 261/409: gnu: rust-ravif-0.6: Mark package as deprecated.
Date: Thu, 19 Dec 2024 02:22:31 -0500 (EST)

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

commit 009d26a68dfafdc1ec53d59236e4c05257ef460c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 4 15:22:06 2024 +0200

    gnu: rust-ravif-0.6: Mark package as deprecated.
    
    * gnu/packages/crates-graphics.scm (rust-ravif-0.6): Rename to
    rust-ravif-0.6.6-yanked.
    [source]: Add 'yanked' to the source file-name.
    (rust-ravif-0.6): New deprecated package pointing to
    rust-ravif-0.6.6-yanked.
    
    Change-Id: Id578fa4175200ec3af227f6958c6104d9a38b006
---
 gnu/packages/crates-graphics.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 7e707b1c41..fc32a29109 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3803,16 +3803,16 @@ in AVIF format (powers the @code{cavif} tool).")
        #:cargo-development-inputs
        (("rust-avif-parse" ,rust-avif-parse-1))))))
 
-(define-public rust-ravif-0.6
+(define-public rust-ravif-0.6.6-yanked
   (package
     (inherit rust-ravif-0.8)
     (name "rust-ravif")
-    (version "0.6.6")
+    (version "0.6.6") ; This version was yanked!
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "ravif" version))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version "-yanked.tar.gz"))
        (sha256
         (base32 "0rfm63bv0q2rjyivmzlk4wma8xff6jralh7dr1bjz2aw4knm7cw1"))))
     (arguments
@@ -3829,7 +3829,12 @@ in AVIF format (powers the @code{cavif} tool).")
        (("rust-avif-parse" ,rust-avif-parse-0.13))))
     (native-inputs
      (list nasm))                 ;for building rav1e
-    (inputs '())))
+    (inputs '())
+    (properties '((crate-version-yanked? . #t)))))
+
+(define-public rust-ravif-0.6
+  ;; There are no non-yanked versions of this semver.
+  (deprecated-package "rust-ravif" rust-ravif-0.6.6-yanked))
 
 (define-public rust-raw-window-handle-0.6
   (package



reply via email to

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