Subject: [PATCH v3 4/5] gnu: Deprecate go-github-com-shirou-gopsutil.

From: Troy Figiel <[email-masked]>
Date: Sat, 24 Feb 2024 08:59:30 +0100

* gnu/packages/golang-xyz.scm (go-github-com-shirou-gopsutil): Rename to ...
(go-github-com-shirou-gopsutil-v2): ... this.
(go-github-com-shirou-gopsutil): Define as deprecated.
---
 gnu/packages/golang-xyz.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index d09b837fa9..6eb5770c0f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1094,9 +1094,9 @@ (define-public go-github-com-rcrowley-go-metrics
       (home-page "https://github.com/rcrowley/go-metrics")
       (license license:bsd-2))))
 
-(define-public go-github-com-shirou-gopsutil
+(define-public go-github-com-shirou-gopsutil-v2
   (package
-    (name "go-github-com-shirou-gopsutil")
+    (name "go-github-com-shirou-gopsutil-v2")
     (version "2.21.11")
     (source
      (origin
@@ -1138,6 +1138,9 @@ (define-public go-github-com-shirou-gopsutil
     (home-page "https://github.com/shirou/gopsutil")
     (license license:bsd-3)))
 
+(define-public go-github-com-shirou-gopsutil
+  (deprecated-package "go-github-com-shirou-gopsutil" go-github-com-shirou-gopsutil-v2))
+
 (define-public go-github-com-skip2-go-qrcode
   (package
     (name "go-github-com-skip2-go-qrcode")
-- 
2.42.0