diff mbox series

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

Message ID 20220311034741.14377-3-dom@dominicm.dev
State New
Headers show
Series [bug#54335,v2,01/14] gnu: Add go-github-com-anmitsu-go-shlex. | expand

Commit Message

Dominic Martinez March 11, 2022, 3:47 a.m. UTC
* gnu/packages/golang.scm
(go-github-com-matttproud-golang-protobuf-extensions): New variable
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff mbox series

Patch

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)))