sharlatan pushed a commit to branch go-team
in repository guix.

commit 685d7ecf6ba123b17a9612b60e52f396cf8d61b4
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 29 00:13:15 2024 +0000

    gnu: Deprecate go-github-com-prometheus-node-exporter.
    
    * gnu/packages/monitoring.scm (prometheus-node-exporter): New variable.
    (go-github-com-prometheus-node-exporter): Deprecate variable.
    
    Change-Id: Ife482a546906a1150f68391b58fa8ab1b1497a94
---
 gnu/packages/monitoring.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 2198eb9d53..a1b74f1585 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -525,13 +525,13 @@ Metrics can be exposed through a standalone web server, 
or through Twisted,
 WSGI and the node exporter textfile collector.")
     (license license:asl2.0)))
 
-(define-public go-github-com-prometheus-node-exporter
+(define-public prometheus-node-exporter
   ;; The latest release is failing to build, use the latest commit from the
   ;; master branch.
   (let ((commit "b8aac7c92e2d7f3dea56b2d4802d4ef3ee29c3cc")
         (revision "0"))
     (package
-      (name "go-github-com-prometheus-node-exporter")
+      (name "prometheus-node-exporter")
       (version (git-version "1.8.2" revision commit))
       (source (origin
                 (method git-fetch)
@@ -608,6 +608,10 @@ WSGI and the node exporter textfile collector.")
 written in Go with pluggable metric collectors.")
       (license license:asl2.0))))
 
+(define-public go-github-com-prometheus-node-exporter
+  (deprecated-package "go-github-com-prometheus-node-exporter"
+                      prometheus-node-exporter))
+
 (define-public temper-exporter
   (let ((commit "a87bbab19c05609d62d9e4c7941178700c1ef84d")
         (revision "0"))

Reply via email to