[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
47/74: gnu: Add go-github-com-prometheus-common-sigv4.
From: |
guix-commits |
Subject: |
47/74: gnu: Add go-github-com-prometheus-common-sigv4. |
Date: |
Thu, 25 Jul 2024 18:02:27 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit e654b7f9376689f6316cfe41a036ac3ba93cfd7c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Jul 24 22:07:40 2024 +0100
gnu: Add go-github-com-prometheus-common-sigv4.
* gnu/packages/prometheus.scm (go-github-com-prometheus-common-sigv4): New
variable.
Change-Id: Id023eec48d48f53b70882809fad139362a48803c
---
gnu/packages/prometheus.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm
index 717a5546f1..5ec4fe0b12 100644
--- a/gnu/packages/prometheus.scm
+++ b/gnu/packages/prometheus.scm
@@ -207,6 +207,44 @@ metrics.")
"This package provides Prometheus assets.")
(license license:asl2.0)))
+(define-public go-github-com-prometheus-common-sigv4
+ (package
+ (name "go-github-com-prometheus-common-sigv4")
+ (version "0.55.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/prometheus/common")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0bsbxil7qz8rhckhv0844nmn38g7i7347cjv5m6na47hbdpi0rqh"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/prometheus/common/sigv4"
+ #:unpack-path "github.com/prometheus/common"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'unpack 'override-prometheus-common
+ (lambda _
+ (delete-file-recursively "src/github.com/prometheus/common"))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-aws-aws-sdk-go
+ go-github-com-prometheus-client-golang
+ go-github-com-prometheus-common
+ go-gopkg-in-yaml-v2))
+ (home-page "https://github.com/prometheus/common")
+ (synopsis "HTTP signed requests with Amazon's Signature Verification V4")
+ (description
+ "This package provides a @code{http.RoundTripper} that will sign requests
+using Amazon's Signature Verification V4 signing procedure, using credentials
+from the default AWS credential chain.")
+ (license license:asl2.0)))
+
;;;
;;; Executables:
;;;
- 40/74: gnu: Add go-github-com-go-logfmt-logfmt., (continued)
- 40/74: gnu: Add go-github-com-go-logfmt-logfmt., guix-commits, 2024/07/25
- 45/74: gnu: go-github-com-prometheus-common: Move to prometheus., guix-commits, 2024/07/25
- 52/74: gnu: csvdiff: Adjust inputs, guix-commits, 2024/07/25
- 55/74: gnu: go-github-com-prometheus-client-golang: Enable tests., guix-commits, 2024/07/25
- 56/74: gnu: go-github-com-prometheus-client-golang: Move to prometheus., guix-commits, 2024/07/25
- 59/74: gnu: go-github-com-prometheus-procfs: Move to prometheus., guix-commits, 2024/07/25
- 60/74: gnu: go-github-com-hjson-hjson-go: Update to 4.4.0., guix-commits, 2024/07/25
- 61/74: gnu: go-github-com-hjson-hjson-go: Rename variable., guix-commits, 2024/07/25
- 64/74: gnu: go-netns: Enable tests., guix-commits, 2024/07/25
- 46/74: gnu: Add go-github-com-prometheus-common-assets., guix-commits, 2024/07/25
- 47/74: gnu: Add go-github-com-prometheus-common-sigv4.,
guix-commits <=
- 65/74: gnu: go-netns: Rename varialbe., guix-commits, 2024/07/25
- 67/74: gnu: go-netlink: Refresh package style., guix-commits, 2024/07/25
- 68/74: gnu: go-netlink: Enable tests., guix-commits, 2024/07/25
- 69/74: gnu: go-netlink: Rename variable., guix-commits, 2024/07/25
- 71/74: gnu: go-github-com-bits-and-blooms-bloom: Rename variable., guix-commits, 2024/07/25
- 72/74: gnu: go-github-com-arceliar-ironwood: Enable tests., guix-commits, 2024/07/25
- 09/74: gnu: go-github-com-google-go-cmp: Move to golang-build., guix-commits, 2024/07/25
- 02/74: gnu: go-golang-org-x-oauth2: Improve package style., guix-commits, 2024/07/25
- 05/74: gnu: go-github-com-google-go-cmp-cmp: Update to 0.6.0., guix-commits, 2024/07/25
- 14/74: gnu: go-github-com-stretchr-testify: Update to 1.9.0., guix-commits, 2024/07/25