Subject: [PATCH 3/5] gnu: Add go-github-com-pion-ice-v3.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Fri, 17 May 2024 22:27:14 +0300

* gnu/packages/golang-xyz.scm (go-github-com-pion-ice-v3): New variable.

Change-Id: Ia38d816c6ba8754faaf649b298cb43832c30de12
---
 gnu/packages/golang-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index df4b7db15b..a8a6cd69d7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2982,6 +2982,44 @@ (define-public go-github-com-pierrec-cmdflag
 on top of the standard library @code{flag} package.")
     (license license:bsd-3)))
 
+(define-public go-github-com-pion-ice-v3
+  (package
+    (name "go-github-com-pion-ice")
+    (version "3.0.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pion/ice/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0f9jy80law69zb26rkb6kl6w1c66vdghdrmifhwlmzngb644ihdb"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:tests? #f ;Tests require network access.
+      #:unpack-path "github.com/pion/ice/v3"
+      #:import-path "github.com/pion/ice/v3"))
+    (native-inputs (list go-github-com-stretchr-testify-next))
+    (propagated-inputs (list go-github-com-google-uuid
+                             go-github-com-pion-dtls-v2
+                             go-github-com-pion-logging
+                             go-github-com-pion-mdns
+                             go-github-com-pion-randutil
+                             go-github-com-pion-stun-v2
+                             go-github-com-pion-transport-v3
+                             go-github-com-pion-turn-v3
+                             go-golang-org-x-net))
+    (home-page "https://github.com/pion/ice/")
+    (synopsis "Go implementation of ICE")
+    (description
+     "Go implementation of Interactive Connectivity Establishment protocol (ICE,
+@url{https://datatracker.ietf.org/doc/html/rfc8445, RFC8445}.)  The library is used
+as a part of @url{https://github.com/pion, Pion} WebRTC implementation.")
+    (license license:expat)))
+
 (define-public go-github-com-pion-logging
   (package
     (name "go-github-com-pion-logging")
-- 
2.41.0