unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: 70955@debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Subject: [bug#70955] [PATCH 6/6] gnu: Add go-github-com-pion-stun-v2.
Date: Wed, 15 May 2024 09:17:15 +0300	[thread overview]
Message-ID: <f018b66ff1f5397b1aabae1b4df652df021f9c24.1715753200.git.poptsov.artyom@gmail.com> (raw)
In-Reply-To: <cover.1715753200.git.poptsov.artyom@gmail.com>

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

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

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index b91a28c436..5f4c7c5b95 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3114,6 +3114,41 @@ (define-public go-github-com-pion-dtls-v2
 implementation in the Go programming language.")
     (license license:expat)))
 
+(define-public go-github-com-pion-stun-v2
+  (package
+    (name "go-github-com-pion-stun")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pion/stun/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zli55ls5izpr6cw0wj0gy44872xn9rk20i8ay9cfk7j2rb60y60"))))
+    (build-system go-build-system)
+    (native-inputs (list go-github-com-stretchr-testify))
+    (propagated-inputs (list go-github-com-pion-dtls-v2
+                             go-github-com-pion-logging
+                             go-github-com-pion-transport-v3
+                             go-golang-org-x-crypto
+                             go-golang-org-x-net))
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/pion/stun/v2"))
+    (home-page "https://github.com/pion/stun/")
+    (synopsis "Go implementation of STUN")
+    (description
+     "Package @code{stun} implements Session Traversal Utilities for
+NAT (STUN) (@url{https://tools.ietf.org/html/rfc5389, RFC 5389}) protocol and
+@url{https://pkg.go.dev/github.com/pion/stun#Client, client} with no external
+dependencies and zero allocations in hot paths.  Client
+@url{https://pkg.go.dev/github.com/pion/stun#WithRTO, supports} automatic
+request retransmissions.")
+    (license license:expat)))
+
 (define-public go-github-com-prometheus-client-model
   (package
     (name "go-github-com-prometheus-client-model")
-- 
2.41.0





  parent reply	other threads:[~2024-05-15  6:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15  6:13 [bug#70955] [PATCH 0/6] gnu: Add go-github-com-pion-stun-v2 and go-github-com-pion-mdns Artyom V. Poptsov
2024-05-15  6:17 ` [bug#70955] [PATCH 1/6] gnu: Add go-github-com-pion-logging Artyom V. Poptsov
2024-05-15  6:17 ` [bug#70955] [PATCH 2/6] gnu: Add go-github-com-pion-transport-v3 Artyom V. Poptsov
2024-05-15  6:17 ` [bug#70955] [PATCH 3/6] gnu: Add go-github-com-pion-transport-v2 Artyom V. Poptsov
2024-05-15  6:17 ` [bug#70955] [PATCH 4/6] gnu: Add go-github-com-pion-mdns Artyom V. Poptsov
2024-05-15  6:17 ` [bug#70955] [PATCH 5/6] gnu: Add go-github-com-pion-dtls-v2 Artyom V. Poptsov
2024-05-15  6:17 ` Artyom V. Poptsov [this message]
2024-05-16 22:31 ` bug#70955: [PATCH 0/6] gnu: Add go-github-com-pion-stun-v2 and go-github-com-pion-mdns Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f018b66ff1f5397b1aabae1b4df652df021f9c24.1715753200.git.poptsov.artyom@gmail.com \
    --to=poptsov.artyom@gmail.com \
    --cc=70955@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).