diff mbox series

[bug#58614,v2,191/192] gnu: rust-swc: Rename from rust-swc-1.

Message ID 03e67f49d5cf41ab90a9160e7060a993420b905a.1666519347.git.efraim@flashner.co.il
State New
Headers show
Series Remove unused crates | expand

Commit Message

Efraim Flashner Oct. 23, 2022, 10:04 a.m. UTC
* gnu/packages/rust-apps.scm (rust-swc-1): Rename to ...
(rust-swc): ... this.
(rust-swc-1): Add as deprecated package.
---
 gnu/packages/rust-apps.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 85fc9e8192..482e44ebe3 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -41,6 +41,7 @@  (define-module (gnu packages rust-apps)
   #:use-module (guix build-system cargo)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix deprecation)
   #:use-module (guix packages)
   #:use-module (guix utils)
   #:use-module (gnu packages)
@@ -790,7 +791,7 @@  (define-public rot8
 touchscreen devices.")
     (license license:expat)))
 
-(define-public rust-swc-1
+(define-public rust-swc
   (package
     (name "rust-swc")
     (version "1.2.24")
@@ -885,6 +886,8 @@  (define-public rust-swc-1
     (license (list license:expat
                    license:asl2.0))))
 
+(define-deprecated rust-swc-1 rust-swc)
+
 (define-public git-interactive-rebase-tool
   (package
     (name "git-interactive-rebase-tool")