Subject: [PATCH v3 37/53] gnu: emacs-cargo-el: Rename package to emacs-cargo.

From: Nicolas Graves <[email-masked]>
Date: Sun, 18 May 2025 10:16:36 +0200

* gnu/packages/emacs-xyz.scm (emacs-cargo-el): Define in terms of
'deprecated-package'.
(emacs-cargo): New variable, formerly known as "emacs-cargo-el".
---
 gnu/packages/emacs-xyz.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b07ef762ef..b359a00fd0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31634,12 +31634,12 @@ (define-public emacs-rustic
     (license (list license:expat
                    license:asl2.0))))
 
-(define-public emacs-cargo-el
+(define-public emacs-cargo
   ;; No tags since 2017, use latest commit.
   (let ((commit "7f8466063381eed05d4e222ce822b1dd44e3bf17")
         (revision "0"))
     (package
-      (name "emacs-cargo-el")
+      (name "emacs-cargo")
       (version (git-version "0.4.1" revision commit))
       (source
        (origin
@@ -31668,6 +31668,9 @@ (define-public emacs-cargo-el
 combinations to perform Cargo tasks within Rust projects.")
       (license license:gpl3+))))
 
+(define-deprecated/public emacs-cargo-el emacs-cargo
+  (deprecated-package "emacs-cargo-el" emacs-cargo))
+
 (define-public emacs-ztree
   ;; Upstream provides no tag, but the commit below matches latest release.
   (let ((commit "c9ad9136d52ca5a81475693864e255d29448f43f"))
-- 
2.49.0