Subject: [bug#70317] [PATCH 12/13] gnu: packages: Add go-github-com-matttproud-golang-protobuf-extensions-pbutil-v2

From: Jesse Eisses <[email-masked]>
Date: Wed, 10 Apr 2024 10:10:07 +0200

Change-Id: I5d4611e34924b4784c51c85ac8c6b97c41a18c5f
---
 gnu/packages/syncthing.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 4d2f7ef9f0..b60031538f 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -689,6 +689,27 @@ (define-public go-github-com-matttproud-golang-protobuf-extensions-pbutil
       (home-page "https://github.com/matttproud/golang_protobuf_extensions")
       (license asl2.0))))
 
+(define-public go-github-com-matttproud-golang-protobuf-extensions-pbutil-v2
+  (package
+    (inherit go-github-com-matttproud-golang-protobuf-extensions-pbutil)
+    (name "go-github-com-matttproud-golang-protobuf-extensions-pbutil-v2")
+    (version "2.0.0")
+    (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 "0jw4vjycwx0a82yvixmp25805krdyqd960y8lnyggllb6br0vh41"))))
+    (arguments
+     '(#:import-path
+       "github.com/matttproud/golang_protobuf_extensions/v2/pbutil"
+       #:unpack-path "github.com/matttproud/golang_protobuf_extensions/v2"))
+    (propagated-inputs (list go-github-com-golang-protobuf-proto
+                             go-google-golang-org-protobuf))))
+
 (define-public go-github-com-go-asn1-ber-asn1-ber
   (package
     (name "go-github-com-go-asn1-ber-asn1-ber")
-- 
2.41.0