From: Dominic Martinez <dom@dominicm.dev>
To: 54335@debbugs.gnu.org
Cc: Dominic Martinez <dom@dominicm.dev>
Subject: [bug#54335] [PATCH v3 08/10] gnu: Add go-google-golang-org-protobuf.
Date: Mon, 4 Apr 2022 15:32:06 -0400 [thread overview]
Message-ID: <20220404193208.27634-9-dom@dominicm.dev> (raw)
In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev>
* gnu/packages/golang.scm (go-google-golang-org-protobuf): New variable.
---
I took this go-google-golang-org-protobuf definition from #54560. I had
disabled builds/tests before because this package has many subpackages and no
top-level files, which the go-build-system doesn't directly support, so this
modifications builds and tests all the subpackages.
gnu/packages/golang.scm | 43 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 23543a0c2b..db1ea44d8c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9954,3 +9954,46 @@ (define-public go-github-com-songgao-water
library for Go that efficiently works with standard packages like io, bufio,
etc.. Use waterutil with it to work with TUN/TAP packets/frames.")
(license license:bsd-3)))
+
+(define-public go-google-golang-org-protobuf
+ (package
+ (name "go-google-golang-org-protobuf")
+ (version "1.28.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://go.googlesource.com/protobuf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1nzcc4qc00afi24nb7nlnwyzvvr6b8s8qdrn1sw085nygh2y2x8r"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "google.golang.org/protobuf"
+ #:phases
+ ;; Build and test all sub-packages
+ (let ((glob-path "google.golang.org/protobuf/..."))
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda args
+ (apply (assoc-ref %standard-phases
+ 'build)
+ `(,@args #:import-path
+ ,glob-path))))
+ (replace 'check
+ (lambda args
+ (apply (assoc-ref %standard-phases
+ 'check)
+ `(,@args #:import-path
+ ,glob-path))))))))
+ (native-inputs (list go-github-com-google-go-cmp-cmp))
+ (synopsis "Go support for Google's protocol buffers")
+ (description
+ "Go implementation for protocol buffers, which is a
+language-neutral, platform-neutral, extensible mechanism for serializing
+structured data. The protocol buffer language is a language for
+specifying the schema for structured data. This schema is compiled into
+language specific bindings.")
+ (home-page "https://go.googlesource.com/protobuf")
+ (license license:bsd-3)))
--
2.34.0
next prev parent reply other threads:[~2022-04-04 19:34 UTC|newest]
Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 3:13 [bug#54335] [PATCH 00/14] gnu: Add nebula Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 01/14] gnu: Add go-github-com-anmitsu-go-shlex Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 02/14] gnu: Add go-github-com-armon-go-radix Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 03/14] gnu: Add go-github-com-cespare-xxhash-v2 Dominic Martinez
2022-03-11 16:20 ` Maxime Devos
2022-03-11 3:18 ` [bug#54335] [PATCH 04/14] gnu: Add go-github-com-cyberdelia-go-metrics-graphite Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 05/14] gnu: Add go-github-com-google-gopacket Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 06/14] gnu: Add go-github-com-miekg-dns Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 07/14] gnu: Add go-github-com-nbrownus-go-metrics-prometheus Dominic Martinez
2022-03-11 7:46 ` Maxime Devos
2022-03-11 20:24 ` Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 08/14] gnu: Add go-github-com-songgao-water Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 09/14] gnu: Add go-github-com-vishvananda-netns Dominic Martinez
2022-03-11 7:47 ` Maxime Devos
2022-03-11 16:06 ` Maxime Devos
2022-03-11 20:26 ` Dominic Martinez
2022-03-11 3:47 ` [bug#54335] [PATCH 10/14] gnu: Add go-github-com-vishvananda-netlink Dominic Martinez
2022-03-11 3:47 ` [bug#54335] [PATCH 11/14] gnu: Add go-google-golang-org-protobuf Dominic Martinez
2022-03-11 13:46 ` Maxime Devos
2022-03-11 20:41 ` Dominic Martinez
2022-03-11 16:14 ` Maxime Devos
2022-03-11 20:38 ` Dominic Martinez
2022-03-11 16:16 ` Maxime Devos
2022-03-11 20:32 ` Dominic Martinez
2022-03-12 22:45 ` Maxime Devos
2022-03-11 16:17 ` Maxime Devos
2022-03-11 3:47 ` [bug#54335] [PATCH 12/14] gnu: Add go-github-com-matttproud-golang-protobuf-extensions Dominic Martinez
2022-03-11 3:47 ` [bug#54335] [PATCH 13/14] gnu: Add go-github-com-skip2-go-qrcode Dominic Martinez
2022-03-11 7:49 ` Maxime Devos
2022-03-11 20:46 ` Dominic Martinez
2022-03-11 7:49 ` Maxime Devos
2022-03-11 20:47 ` Dominic Martinez
2022-03-11 20:49 ` Dominic Martinez
2022-03-12 22:10 ` Maxime Devos
2022-03-11 3:47 ` [bug#54335] [PATCH 14/14] gnu: Add nebula Dominic Martinez
2022-03-11 7:51 ` Maxime Devos
2022-03-11 20:53 ` Dominic Martinez
2022-03-12 22:20 ` Maxime Devos
2022-03-11 13:48 ` Maxime Devos
2022-03-11 21:02 ` Dominic Martinez
2022-03-12 22:33 ` Maxime Devos
2022-03-11 21:10 ` Dominic Martinez
2022-03-11 13:59 ` Maxime Devos
2022-03-11 20:59 ` Dominic Martinez
2022-03-11 7:48 ` [bug#54335] [PATCH 10/14] gnu: Add go-github-com-vishvananda-netlink Maxime Devos
2022-03-11 16:05 ` Maxime Devos
2022-03-11 4:51 ` [bug#54335] [PATCH v2 01/14] gnu: Add go-github-com-anmitsu-go-shlex Dominic Martinez
2022-03-19 17:09 ` [bug#54335] [PATCH 00/14] gnu: Add nebula Ludovic Courtès
2022-03-19 17:27 ` Dominic Martinez
2022-03-11 16:09 ` [bug#54335] [PATCH 01/14] gnu: Add go-github-com-anmitsu-go-shlex Maxime Devos
2022-03-11 20:28 ` Dominic Martinez
2022-04-04 19:31 ` [bug#54335] [PATCH v3 00/10] gnu: Add nebula Dominic Martinez
2022-04-04 19:31 ` [bug#54335] [PATCH v3 01/10] gnu: Add go-github-com-anmitsu-go-shlex Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 02/10] gnu: Add go-github-com-armon-go-radix Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 03/10] gnu: Add go-github-com-cyberdelia-go-metrics-graphite Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 04/10] gnu: Add go-github-com-google-gopacket Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 05/10] gnu: Add go-github-com-miekg-dns Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 06/10] gnu: Add go-github-com-nbrownus-go-metrics-prometheus Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 07/10] gnu: Add go-github-com-songgao-water Dominic Martinez
2022-04-04 19:32 ` Dominic Martinez [this message]
2022-04-04 19:32 ` [bug#54335] [PATCH v3 09/10] gnu: Add go-github-com-skip2-go-qrcode Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 10/10] gnu: Add nebula Dominic Martinez
2022-04-04 22:01 ` Maxime Devos
2022-05-26 1:40 ` [bug#54335] [PATCH v3 00/10] " Dominic Martinez
2022-10-05 18:30 ` [bug#54335] Status check Sharlatan Hellseher
2022-11-03 9:32 ` [bug#54335] [PATCH 00/14] gnu: Add nebula zimoun
2022-11-03 17:55 ` [bug#54335] Status check Dominic Martinez via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 00/12] gnu: Add nebula Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 01/12] gnu: Add go-github-com-anmitsu-go-shlex Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 02/12] gnu: Add go-github-com-armon-go-radix Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 03/12] gnu: Add go-github-com-cyberdelia-go-metrics-graphite Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 04/12] gnu: Add go-github-com-google-gopacket Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 05/12] gnu: Add go-github-com-miekg-dns Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 06/12] gnu: Add go-github-com-nbrownus-go-metrics-prometheus Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 07/12] gnu: Add go-github-com-songgao-water Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 08/12] gnu: Add go-google-golang-org-protobuf Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 09/12] gnu: Add go-github-com-skip2-go-qrcode Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 10/12] gnu: Add nebula Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 11/12] gnu: Add go-dario-cat-mergo Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 12/12] gnu: nebula: Update to 1.8.2 Alexey Abramov via Guix-patches via
2024-02-12 23:51 ` bug#54335: [PATCH 00/14] gnu: Add nebula Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220404193208.27634-9-dom@dominicm.dev \
--to=dom@dominicm.dev \
--cc=54335@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).