gnu: go-cloud-google-com-go-compute-metadata: Move to (gnu packages golang-web).

* gnu/packages/golang.scm (go-cloud-google-com-go-compute-metadata): Move from
here...
* gnu/packages/golang-web.scm: ...to here.

*  gnu/packages/mail.scm: Add (gnu packages golang-web) module.

Change-Id: Ic97e5f4afd26376d37860fbb4758e8037e758f58
This commit is contained in:
Sharlatan Hellseher 2023-11-29 22:35:41 +00:00 committed by Maxim Cournoyer
parent bd0898a9cc
commit 972c1245c6
No known key found for this signature in database
GPG key ID: 1260E46482E63562
3 changed files with 28 additions and 27 deletions

View file

@ -9,6 +9,7 @@
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
@ -55,6 +56,32 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
(define-public go-cloud-google-com-go-compute-metadata
(package
(name "go-cloud-google-com-go-compute-metadata")
(version "0.81.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googleapis/google-cloud-go")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "15jgynqb5pbxqbj3a7ii970yn4srsw1dbxzxnhpkfkmplalpgyh3"))))
(build-system go-build-system)
(arguments
'(#:unpack-path "cloud.google.com/go"
#:import-path "cloud.google.com/go/compute/metadata"))
(home-page
"https://pkg.go.dev/cloud.google.com/go/compute/metadata")
(synopsis
"Go wrapper for Google Compute Engine metadata service")
(description
"This package provides access to Google Compute Engine (GCE) metadata and
API service accounts for Go.")
(license license:asl2.0)))
(define-public go-github-com-andybalholm-cascadia
(package
(name "go-github-com-andybalholm-cascadia")

View file

@ -4437,33 +4437,6 @@ (define-public go-github-com-blang-semver
(description "Semver is a library for Semantic versioning written in Go.")
(license license:expat))))
(define-public go-cloud-google-com-go-compute-metadata
(package
(name "go-cloud-google-com-go-compute-metadata")
(version "0.81.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googleapis/google-cloud-go")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"15jgynqb5pbxqbj3a7ii970yn4srsw1dbxzxnhpkfkmplalpgyh3"))))
(build-system go-build-system)
(arguments
'(#:unpack-path "cloud.google.com/go"
#:import-path "cloud.google.com/go/compute/metadata"))
(home-page
"https://pkg.go.dev/cloud.google.com/go/compute/metadata")
(synopsis
"Go wrapper for Google Compute Engine metadata service")
(description
"This package provides access to Google Compute Engine (GCE) metadata and
API service accounts for Go.")
(license license:asl2.0)))
(define-public go-github-com-google-cadvisor
(let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
(revision "0"))

View file

@ -109,6 +109,7 @@ (define-module (gnu packages mail)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages groff)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages gtk)