Subject: [bug#54335] [PATCH 12/14] gnu: Add go-github-com-matttproud-golang-protobuf-extensions.

From: Dominic Martinez <[email-masked]>
Date: Thu, 10 Mar 2022 22:47:39 -0500

* gnu/packages/golang.scm
(go-github-com-matttproud-golang-protobuf-extensions): New variable
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bac9dda1f7..7e316a2552 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10056,3 +10056,30 @@ (define-public go-google-golang-org-protobuf
 @url{https://developers.google.com/protocol-buffers/docs/overview,protocol
 buffer developer guide} for more information about protocol buffers themselves.")
     (license license:bsd-3)))
+
+(define-public go-github-com-matttproud-golang-protobuf-extensions
+  (package
+    (name "go-github-com-matttproud-golang-protobuf-extensions")
+    (version "1.0.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/matttproud/golang_protobuf_extensions")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32 "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/matttproud/golang_protobuf_extensions/pbutil"
+       #:unpack-path "github.com/matttproud/golang_protobuf_extensions"))
+    (propagated-inputs
+     (list go-github-com-golang-protobuf-proto))
+    (home-page "https://github.com/matttproud/golang_protobuf_extensions")
+    (synopsis "Go support for streaming Protocol Buffer messages")
+    (description
+      "@code{go-github-com-matttproud-golang-protobuf-extensions} provides
+various Protocol Buffer extensions for the Go language, namely support for
+record length-delimited message streaming.")
+    (license license:asl2.0)))
-- 
2.34.0