[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55903] [PATCH v5 03/41] gnu: Add go-google-golang-org-protobuf.
From: |
( |
Subject: |
[bug#55903] [PATCH v5 03/41] gnu: Add go-google-golang-org-protobuf. |
Date: |
Wed, 3 Aug 2022 13:29:28 +0100 |
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-google-golang-org-protobuf): New variable.
---
gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ed6632a20d..4df2e75238 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9987,3 +9987,36 @@ (define-public go-github-com-creack-pty
(description
"The pty package provides functions for working with Unix
pseudoterminals.")
(license license:expat)))
+
+(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
+ (list #:import-path "google.golang.org/protobuf"
+ #:tests? #f ; source-only package
+ #:phases #~(modify-phases %standard-phases
+ ;; source-only package
+ (delete 'build))))
+ (propagated-inputs (list go-github-com-google-go-cmp-cmp
+ go-github-com-golang-protobuf-proto))
+ (home-page "https://google.golang.org/protobuf")
+ (synopsis "Go library for Protocol Buffers")
+ (description
+ "The protobuf package provides a Go implementation of Protocol Buffers, a
+language and platform neutral, extensible mechanism for serializing structured
+data.
+
+This package is a successor to @code{go-github-com-golang-protobuf} with an
+improved and cleaner API.")
+ (license license:bsd-3)))
--
2.37.1
- [bug#55903] [PATCH v5 01/41] gnu: Add go-github-com-zenhack-go-notmuch., (, 2022/08/03
- [bug#55903] [PATCH v5 03/41] gnu: Add go-google-golang-org-protobuf.,
( <=
- [bug#55903] [PATCH v5 05/41] gnu: Add go-github-com-riywo-loginshell., (, 2022/08/03
- [bug#55903] [PATCH v5 04/41] gnu: Add go-github-com-xo-terminfo., (, 2022/08/03
- [bug#55903] [PATCH v5 08/41] gnu: Add go-github-com-go-ini-ini., (, 2022/08/03
- [bug#55903] [PATCH v5 11/41] gnu: Add go-github-com-rivo-tview., (, 2022/08/03
- [bug#55903] [PATCH v5 13/41] gnu: Add go-github-com-gogs-chardet., (, 2022/08/03
- [bug#55903] [PATCH v5 15/41] gnu: Add go-github-com-go-test-deep., (, 2022/08/03
- [bug#55903] [PATCH v5 06/41] gnu: Add go-github-com-miolini-datacounter., (, 2022/08/03
- [bug#55903] [PATCH v5 10/41] gnu: Add go-github-com-rivo-uniseg., (, 2022/08/03
- [bug#55903] [PATCH v5 12/41] gnu: Add go-github-com-ssor-bom., (, 2022/08/03
- [bug#55903] [PATCH v5 07/41] gnu: Add go-github-com-kyoh86-xdg., (, 2022/08/03