Subject: [bug#72594] [PATCH 6/7] gnu: Add go-github-com-containerd-typeurl.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Mon, 12 Aug 2024 20:26:28 +0300

* gnu/packages/golang.scm (go-github-com-containerd-typeurl): New variable.

Change-Id: I7e997d73fcc3ec04e17c0067b702c6eb86a29bd3
---
 gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 354c1506d5..dd16e374ff 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7925,6 +7925,36 @@ (define-public go-github-com-containerd-fifo
      "This is Golang package Go package for handling FIFOs in a sane way.")
     (license license:asl2.0)))
 
+(define-public go-github-com-containerd-typeurl
+  (package
+    (name "go-github-com-containerd-typeurl")
+    (version "1.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/containerd/typeurl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0wvfxlxgkln11d9s6rxay965c715bnpk203klbsq8m8qpjqrz620"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/containerd/typeurl"))
+    (propagated-inputs (list go-github-com-gogo-protobuf
+                             go-github-com-pkg-errors))
+    (home-page "https://github.com/containerd/typeurl")
+    (synopsis "Go package for managing marshaled types to @code{protobuf.Any}")
+    (description
+     "A Go package for managing the registration, marshaling, and unmarshaling of
+encoded types.
+
+This package helps when types are sent over a ttrpc/GRPC API and marshaled as a
+protobuf
+@url{https://pkg.go.dev/google.golang.org/protobuf@@v1.27.1/types/known/anypb#Any,
+Any}.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-arceliar-ironwood
   (package
     (name "go-github-com-arceliar-ironwood")
-- 
2.45.2