guix-commits
[Top][All Lists]
Advanced

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

32/134: gnu: rust-security-framework-sys-0.2: Mark as deprecated.


From: guix-commits
Subject: 32/134: gnu: rust-security-framework-sys-0.2: Mark as deprecated.
Date: Tue, 3 Dec 2024 10:04:14 -0500 (EST)

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

commit eb63309c2502804f75f73f06a86eaf8fe8a3518e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Dec 2 21:49:41 2024 +0200

    gnu: rust-security-framework-sys-0.2: Mark as deprecated.
    
    There are no non-yanked versions of this crate at this semver.
    
    * gnu/packages/crates-apple.scm (rust-security-framework-sys-0.2):
    Rename to rust-security-framework-sys-0.2.4-yanked.
    [source]: Add 'yanked' to the source file-name.
    (rust-security-framework-sys-0.2): New deprecated package pointing to
    rust-security-framework-sys-0.2.4-yanked.
    
    Change-Id: I83e1cb38b6e9b77e4788ecfb0dea3ee74120574a
---
 gnu/packages/crates-apple.scm | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index e312ac24c6..1180b9b875 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -1840,24 +1840,28 @@ macOS and iOS.")
      `(#:cargo-inputs
        (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6))))))
 
-(define-public rust-security-framework-sys-0.2
+(define-public rust-security-framework-sys-0.2.4-yanked
   (package
     (inherit rust-security-framework-sys-0.3)
     (name "rust-security-framework-sys")
-    (version "0.2.4")
+    (version "0.2.4") ;This version was yanked!
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "security-framework-sys" version))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version "-yanked.tar.gz"))
        (sha256
-        (base32
-         "07zv0szz2kfy1hn251h0qsq0q9i1zia768d8vzril1g6xarj7mcj"))))
+        (base32 "07zv0szz2kfy1hn251h0qsq0q9i1zia768d8vzril1g6xarj7mcj"))))
     (arguments
-     `(#:skip-build? #t ; MacOS specific
-       #:cargo-inputs
-       (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
-        ("rust-libc" ,rust-libc-0.2))))))
+     `(#:skip-build? #t ;MacOS specific
+       #:cargo-inputs (("rust-core-foundation-sys" 
,rust-core-foundation-sys-0.6)
+                       ("rust-libc" ,rust-libc-0.2))))
+    (properties '((crate-version-yanked? . #t)))))
+
+(define-public rust-security-framework-sys-0.2
+  ;; There are no non-yanked versions of this semver.
+  (deprecated-package "rust-security-framework-sys"
+                      rust-security-framework-sys-0.2.4-yanked))
 
 (define-public rust-system-configuration-0.5
   (package



reply via email to

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