[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/13: gnu: Add go-github-com-prometheus-common-expfmt.
From: |
Leo Famulari |
Subject: |
06/13: gnu: Add go-github-com-prometheus-common-expfmt. |
Date: |
Thu, 8 Feb 2018 15:18:39 -0500 (EST) |
lfam pushed a commit to branch master
in repository guix.
commit 270590bd69849c6a85e94d9dfb96657c1aa222c2
Author: Leo Famulari <address@hidden>
Date: Sun Jan 28 19:39:06 2018 -0500
gnu: Add go-github-com-prometheus-common-expfmt.
* gnu/packages/syncthing.scm (go-github-com-prometheus-common-expfmt):
New variable.
---
gnu/packages/syncthing.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index b1bca8e..e7c6477 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -2038,3 +2038,46 @@ extensions for the Go language, namely support for
record length-delimited
message streaming.")
(home-page "https://github.com/matttproud/golang_protobuf_extensions")
(license asl2.0))))
+
+(define-public go-github-com-prometheus-common-expfmt
+ (let ((commit "2e54d0b93cba2fd133edc32211dcc32c06ef72ca")
+ (revision "0"))
+ (package
+ (name "go-github-com-prometheus-common-expfmt")
+ (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/expfmt"
+ #:unpack-path "github.com/prometheus/common"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
+ (lambda* (#:key outputs #:allow-other-keys)
+ (map (lambda (file)
+ (make-file-writable file))
+ (find-files
+ (string-append (assoc-ref outputs "out")
+
"/src/github.com/prometheus/common/expfmt/testdata/")
+ ".*\\.gz$"))
+ #t)))))
+ (propagated-inputs
+ `(("go-github-com-golang-protobuf-proto"
+ ,go-github-com-golang-protobuf-proto)
+ ("go-github-com-matttproud-golang-protobuf-extensions-pbutil"
+ ,go-github-com-matttproud-golang-protobuf-extensions-pbutil)
+ ("go-github-com-prometheus-client-model-go"
+ ,go-github-com-prometheus-client-model-go)))
+ (synopsis "Prometheus metrics")
+ (description "This package provides tools for reading and writing
+Prometheus metrics.")
+ (home-page "https://github.com/prometheus/common")
+ (license asl2.0))))
- branch master updated (6666f4f -> e61da2e), Leo Famulari, 2018/02/08
- 01/13: gnu: Add go-github-com-beorn7-perks-quantile., Leo Famulari, 2018/02/08
- 02/13: gnu: go-github-com-gogo-protobuf: Update to 0.5-2.160de10., Leo Famulari, 2018/02/08
- 05/13: gnu: Add go-github-com-matttproud-golang-protobuf-extensions-pbutil., Leo Famulari, 2018/02/08
- 07/13: gnu: Add go-github-com-prometheus-procfs., Leo Famulari, 2018/02/08
- 03/13: gnu Add go-github-com-golang-protobuf-proto., Leo Famulari, 2018/02/08
- 06/13: gnu: Add go-github-com-prometheus-common-expfmt.,
Leo Famulari <=
- 13/13: gnu: mpv: Fix CVE-2018-6360., Leo Famulari, 2018/02/08
- 11/13: gnu: go-github-com-zillode-notify: Update to 0.0.0-2.a8abcfb., Leo Famulari, 2018/02/08
- 08/13: gnu: Add go-github-com-client-golang-prometheus-promhttp., Leo Famulari, 2018/02/08
- 04/13: gnu: Add go-github-com-prometheus-client-model-go., Leo Famulari, 2018/02/08
- 10/13: gnu: Add go-github-com-prometheus-union., Leo Famulari, 2018/02/08
- 09/13: gnu: Add go-github-com-client-golang-prometheus., Leo Famulari, 2018/02/08
- 12/13: gnu: Update syncthing to 0.14.44., Leo Famulari, 2018/02/08