guix-commits
[Top][All Lists]
Advanced

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

77/100: gnu: rust-atomic-polyfill-0.1: Mark as deprecated.


From: guix-commits
Subject: 77/100: gnu: rust-atomic-polyfill-0.1: Mark as deprecated.
Date: Thu, 19 Dec 2024 15:50:22 -0500 (EST)

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

commit 2b2b993124e0ba0c5415e930fba11d4e33856fdd
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Dec 19 20:47:37 2024 +0200

    gnu: rust-atomic-polyfill-0.1: Mark as deprecated.
    
    There are no non-yanked versions of this crate at this semver.
    
    * gnu/packages/crates-io.scm (rust-atomic-polyfill-0.1): Rename to
    rust-atomic-polyfill-0.1.11-yanked.  Inherit from
    rust-atomic-polyfill-1.
    [source]: Add 'yanked' to the source file-name.
    (rust-atomic-polyfill-0.1): New deprecated package pointing to
    rust-atomic-polyfill-0.1.11-yanked.
    
    Change-Id: I0d47bd7f950ae393fee65f9e6a061ff81ff51260
---
 gnu/packages/crates-io.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 15642abc9c..165586aed9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6322,26 +6322,27 @@ fixed atomic types.")
 they're not available.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-atomic-polyfill-0.1
+(define-public rust-atomic-polyfill-0.1.11-yanked
   (package
+    (inherit rust-atomic-polyfill-1)
     (name "rust-atomic-polyfill")
-    (version "0.1.11")
+    (version "0.1.11") ; This version was yanked!
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "atomic-polyfill" version))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version "-yanked.tar.gz"))
        (sha256
         (base32 "0a4vd4zq75xmwbi33flf35qmm2nf99kx3hx2m21lslqnyfrpxzz3"))))
-    (build-system cargo-build-system)
+    (properties '((crate-version-yanked? . #t)))
     (arguments
      `(#:cargo-inputs
-       (("rust-critical-section" ,rust-critical-section-1))))
-    (home-page "https://github.com/embassy-rs/atomic-polyfill";)
-    (synopsis "Atomic polyfills, for targets where they're not available")
-    (description "This package provides atomic polyfills, for targets where
-they're not available.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-critical-section" ,rust-critical-section-1))))))
+
+(define-public rust-atomic-polyfill-0.1
+  ;; There are no non-yanked versions of this semver.
+  (deprecated-package "rust-atomic-polyfill"
+                      rust-atomic-polyfill-0.1.11-yanked))
 
 (define-public rust-atomic-refcell-0.1
   (package



reply via email to

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