guix-commits
[Top][All Lists]
Advanced

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

25/31: gnu: Add go-github-com-prometheus-common-model.


From: guix-commits
Subject: 25/31: gnu: Add go-github-com-prometheus-common-model.
Date: Thu, 14 Mar 2019 03:06:56 -0400 (EDT)

lfam pushed a commit to branch wip-go-build-system
in repository guix.

commit d336cb88dc4f063bdf82af01eeba8a5b2f6f144e
Author: Leo Famulari <address@hidden>
Date:   Wed Mar 13 17:31:24 2019 -0400

    gnu: Add go-github-com-prometheus-common-model.
    
    * gnu/packages/syncthing.scm (go-github-com-prometheus-common-model):
    New variable.
---
 gnu/packages/syncthing.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 20933b3..708eae9 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1000,6 +1000,31 @@ Prometheus metrics.")
       (home-page "https://github.com/prometheus/common";)
       (license asl2.0))))
 
+(define-public go-github-com-prometheus-common-model
+  (let ((commit "2e54d0b93cba2fd133edc32211dcc32c06ef72ca")
+        (revision "0"))
+    (package
+      (name "go-github-com-prometheus-common-model")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/prometheus/common.git";)
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "14kn5w7imcxxlfdqxl21fsnlf1ms7200g3ldy29hwamldv8qlm7j"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/prometheus/common/model"
+         #:unpack-path "github.com/prometheus/common"))
+      (synopsis "Prometheus component")
+      (description "This package provides a component of the Go Prometheus
+implementation.")
+      (home-page "https://github.com/prometheus/common";)
+      (license asl2.0))))
+
 (define-public go-github-com-prometheus-procfs
   (let ((commit "b15cd069a83443be3154b719d0cc9fe8117f09fb")
         (revision "0"))



reply via email to

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