Subject: [bug#70825] [PATCH 2/2] gnu: Add go-github-com-pion-rtp.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Tue, 7 May 2024 22:58:13 +0300

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

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

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3ff115dc2a..ee042a3309 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2768,6 +2768,30 @@ (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-rtp
+  (package
+    (name "go-github-com-pion-rtp")
+    (version "1.8.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pion/rtp")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1vrdvswvvbqq83kbjlyblarbsn5v0sjcwrcv03nncd605cggnbkx"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/pion/rtp"))
+    (propagated-inputs (list go-github-com-pion-randutil))
+    (home-page "https://github.com/pion/rtp")
+    (synopsis "Go implementation of RTP")
+    (description "Go implementation of Real-time Transport Protocol (RTP).")
+    (license license:expat)))
+
 (define-public go-github-com-prometheus-client-model
   (let ((commit "14fe0d1b01d4d5fc031dd4bec1823bd3ebbe8016")
         (revision "2"))
-- 
2.41.0