guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

238/244: gnu: go-github-com-prometheus-client-model: Simplify.


From: guix-commits
Subject: 238/244: gnu: go-github-com-prometheus-client-model: Simplify.
Date: Fri, 28 Mar 2025 20:18:30 -0400 (EDT)

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

commit 53fd6254e203f0fbef4792cb6fca5b890b64d999
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Mar 28 22:29:01 2025 +0000

    gnu: go-github-com-prometheus-client-model: Simplify.
    
    * gnu/packages/prometheus.scm (go-github-com-prometheus-client-model)
    [arguments] <skip-build?>: No go files in project's root.
    <tests?>: Enable them.
    <phases>: Do not delete 'build, skip it.
    
    Change-Id: Iee59390189b237977ca3b4b163721ee11caa07aa
---
 gnu/packages/prometheus.scm | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm
index 0a776bb488..ec70d45817 100644
--- a/gnu/packages/prometheus.scm
+++ b/gnu/packages/prometheus.scm
@@ -238,12 +238,8 @@ Prometheus metrics.")
     (build-system go-build-system)
     (arguments
      (list
-      #:import-path "github.com/prometheus/client_model"
-      #:tests? #f
-      #:phases
-      #~(modify-phases %standard-phases
-        ;; Source-only package
-        (delete 'build))))
+      #:skip-build? #t
+      #:import-path "github.com/prometheus/client_model"))
     (propagated-inputs
      (list go-github-com-golang-protobuf))
     (home-page "https://github.com/prometheus/client_model";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]