aboutsummaryrefslogtreecommitdiff
path: root/battering
diff options
context:
space:
mode:
Diffstat (limited to 'battering')
-rw-r--r--battering/packages/golang-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/battering/packages/golang-xyz.scm b/battering/packages/golang-xyz.scm
index 171dbf5..246a4a8 100644
--- a/battering/packages/golang-xyz.scm
+++ b/battering/packages/golang-xyz.scm
@@ -285,3 +285,29 @@ APIs.")
implements the discovery service APIs defined in
@@url{https://github.com/envoyproxy/data-plane-api,data-plane-api}.")
(license license:asl2.0)))
+
+(define-public go-cloud-google-com-go-compute-metadata
+ (package
+ (name "go-cloud-google-com-go-compute-metadata")
+ (version "0.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/google-cloud-go")
+ (commit (go-version->git-ref version
+ #:subdir "compute/metadata"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05zw592nl4z5xbyl5pa1z0j7vkllni0ailij2vfmi6kmnb8j22fc"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "cloud.google.com/go/compute/metadata"
+ #:unpack-path "cloud.google.com/go"))
+ (propagated-inputs (list go-golang-org-x-sys go-github-com-google-go-cmp))
+ (home-page "https://cloud.google.com/go")
+ (synopsis "Google Compute API")
+ (description "This is a utility library for communicating with the Google
+Compute Engine metadata service on Google Cloud.")
+ (license license:asl2.0)))