Subject: [bug#69015] [PATCH 2/2] gnu: Deprecate the go-etcd-io-bbolt variable.

From: Troy Figiel <[email-masked]>
Date: Sat, 10 Feb 2024 17:56:02 +0100

* gnu/packages/golang.scm (go-etcd-io-bbolt): Rename to "go-go-etcd-io-bbolt".
(go-etcd-io-bbolt): Define as deprecated by "go-go-etcd-io-bbolt".
* gnu/packages/configuration-management.scm (chezmoi)[native-inputs]: Add
"go-go-etcd-io-bbolt". Remove "go-etcd-io-bbolt".
---
 gnu/packages/configuration-management.scm |  2 +-
 gnu/packages/golang.scm                   | 22 +---------------------
 2 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/configuration-management.scm b/gnu/packages/configuration-management.scm
index 296f48dcd5..52c85dddeb 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -93,7 +93,7 @@ (define-public chezmoi
            go-github-com-yuin-goldmark
            go-github-com-zalando-go-keyring
            go-github-com-godbus-dbus
-           go-etcd-io-bbolt
+           go-go-etcd-io-bbolt
            go-golang-org-x-crypto
            go-golang-org-x-net
            go-golang-org-x-oauth2
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2b5a447c5d..019bf4dad2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9357,27 +9357,7 @@ (define-public go-go-etcd-io-bbolt
     (license license:expat)))
 
 (define-public go-etcd-io-bbolt
-  (package
-    (name "go-etcd-io-bbolt")
-    (version "1.3.6")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/etcd-io/bbolt")
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0pj5245d417za41j6p09fmkbv05797vykr1bi9a6rnwddh1dbs8d"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "go.etcd.io/bbolt"))
-    (propagated-inputs
-     (list go-golang-org-x-sys))
-    (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
-    (synopsis "Low-level key/value store in Go")
-    (description "This package implements a low-level key/value store in Go.")
-    (license license:expat)))
+  (deprecated-package "go-etcd-io-bbolt" go-go-etcd-io-bbolt))
 
 (define-public go-github-com-bwesterb-go-ristretto
   (package
-- 
2.42.0