guix-commits
[Top][All Lists]
Advanced

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

07/13: gnu: Add go-github-com-prometheus-procfs.


From: Leo Famulari
Subject: 07/13: gnu: Add go-github-com-prometheus-procfs.
Date: Thu, 8 Feb 2018 15:18:39 -0500 (EST)

lfam pushed a commit to branch master
in repository guix.

commit 13dca4a56e2e568f879d49fc9d83d55656bcff77
Author: Leo Famulari <address@hidden>
Date:   Sun Jan 28 20:01:39 2018 -0500

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

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index e7c6477..a8581ec 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -2081,3 +2081,27 @@ message streaming.")
 Prometheus metrics.")
       (home-page "https://github.com/prometheus/common";)
       (license asl2.0))))
+
+(define-public go-github-com-prometheus-procfs
+  (let ((commit "b15cd069a83443be3154b719d0cc9fe8117f09fb")
+        (revision "0"))
+    (package
+      (name "go-github-com-prometheus-procfs")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/prometheus/procfs.git";)
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1cr45wg2m40bj2za8f32mq09rjlcnk5kfam0h0hr8wcb015k4wxj"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/prometheus/procfs"))
+      (synopsis "Go library for reading @file{/proc}")
+      (description "This Go package @code{procfs} provides functions to 
retrieve
+system, kernel and process metrics from the pseudo-filesystem @file{/proc}.")
+      (home-page "https://github.com/prometheus/procfs";)
+      (license asl2.0))))



reply via email to

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