guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55903] [PATCH 03/41] gnu: Add go-google-golang-org-protobuf-proto.


From: (unmatched-parenthesis
Subject: [bug#55903] [PATCH 03/41] gnu: Add go-google-golang-org-protobuf-proto.
Date: Sat, 11 Jun 2022 20:16:15 +0100

* gnu/packages/golang.scm (go-google-golang-org-protobuf-proto): New
  variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7570ce6c6f..a39b5e5cd2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9883,3 +9883,31 @@ (define-public go-github-com-creack-pty
     (description
      "Package pty provides functions for working with Unix pseudoterminals.")
     (license license:expat)))
+
+(define-public go-google-golang-org-protobuf-proto
+  (package
+    (name "go-google-golang-org-protobuf-proto")
+    (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/proto"
+           #:unpack-path "google.golang.org/protobuf"))
+    (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 support for Protocol Buffers")
+    (description
+     "This project hosts the Go implementation for
+@url{https://developers.google.com/protocol-buffers,protocol buffers}, which
+is a language-neutral, platform-neutral, extensible mechanism for serializing
+structured data.")
+    (license license:bsd-3)))
-- 
2.36.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]