GNU bug report logs - #70955
[PATCH 0/6] gnu: Add go-github-com-pion-stun-v2 and go-github-com-pion-mdns.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Wed, 15 May 2024 06:16:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

To reply to this bug, email your comments to 70955 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#70955; Package guix-patches. (Wed, 15 May 2024 06:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 15 May 2024 06:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 0/6] gnu: Add go-github-com-pion-stun-v2 and
 go-github-com-pion-mdns.
Date: Wed, 15 May 2024 09:13:19 +0300
This patchset adds STUN and mDNS implementation from Pion[1] project.  The
patchset is related to [2] but can be applied independently.

References:
1. https://github.com/pion
2. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70825

Artyom V. Poptsov (6):
  gnu: Add go-github-com-pion-logging.
  gnu: Add go-github-com-pion-transport-v3.
  gnu: Add go-github-com-pion-transport-v2.
  gnu: Add go-github-com-pion-mdns.
  gnu: Add go-github-com-pion-dtls-v2.
  gnu: Add go-github-com-pion-stun-v2.

 gnu/packages/golang-xyz.scm | 167 ++++++++++++++++++++++++++++++++++++
 1 file changed, 167 insertions(+)


base-commit: 898b5f30f3d485d48275c920da172863da9524c6
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#70955; Package guix-patches. (Wed, 15 May 2024 06:19:02 GMT) Full text and rfc822 format available.

Message #8 received at 70955 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 70955 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 1/6] gnu: Add go-github-com-pion-logging.
Date: Wed, 15 May 2024 09:17:10 +0300
* gnu/packages/golang-xyz.scm (go-github-com-pion-logging): New variable.

Change-Id: I2da53900059251b78cad2bb56cfbc87228c91e23
---
 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 cd023da86c..4ed310e9ef 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2982,6 +2982,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-logging
+  (package
+    (name "go-github-com-pion-logging")
+    (version "0.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pion/logging/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11ay8c15xk3pv7y9nd80szk3mci480x67yqlgb10vswrz4h4mx3v"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/pion/logging"))
+    (home-page "https://github.com/pion/logging/")
+    (synopsis "Logging library used by @url{https://github.com/pion, Pion}")
+    (description
+     "he library is used as a part of @url{https://github.com/pion, Pion} WebRTC
+implementation.")
+    (license license:expat)))
+
 (define-public go-github-com-prometheus-client-model
   (package
     (name "go-github-com-prometheus-client-model")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#70955; Package guix-patches. (Wed, 15 May 2024 06:19:03 GMT) Full text and rfc822 format available.

Message #11 received at 70955 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 70955 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 2/6] gnu: Add go-github-com-pion-transport-v3.
Date: Wed, 15 May 2024 09:17:11 +0300
* gnu/packages/golang-xyz.scm (go-github-com-pion-transport-v3): New variable.

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

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4ed310e9ef..c70e62d6c7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3006,6 +3006,36 @@ (define-public go-github-com-pion-logging
 implementation.")
     (license license:expat)))
 
+(define-public go-github-com-pion-transport-v3
+  (package
+    (name "go-github-com-pion-transport")
+    (version "3.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pion/transport/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0j7ljkbyf2qd7daxg7d1rd6c92md64agi59b69g6jyqpz5jww998"))))
+    (build-system go-build-system)
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-github-com-pion-logging
+           go-golang-org-x-net
+           go-golang-org-x-sys))
+    (arguments
+     (list
+      #:import-path "github.com/pion/transport/v3"))
+    (home-page "https://github.com/pion/transport/")
+    (synopsis "Logging library used by @url{https://github.com/pion, Pion}")
+    (description
+     "The library is used as a part of @url{https://github.com/pion, Pion} WebRTC
+implementation.")
+    (license license:expat)))
+
 (define-public go-github-com-prometheus-client-model
   (package
     (name "go-github-com-prometheus-client-model")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#70955; Package guix-patches. (Wed, 15 May 2024 06:19:03 GMT) Full text and rfc822 format available.

Message #14 received at 70955 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 70955 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 3/6] gnu: Add go-github-com-pion-transport-v2.
Date: Wed, 15 May 2024 09:17:12 +0300
* gnu/packages/golang-xyz.scm (go-github-com-pion-transport-v2): New variable.

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

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c70e62d6c7..192b4e7cf1 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3036,6 +3036,24 @@ (define-public go-github-com-pion-transport-v3
 implementation.")
     (license license:expat)))
 
+(define-public go-github-com-pion-transport-v2
+  (package
+    (inherit go-github-com-pion-transport-v3)
+    (name "go-github-com-pion-transport")
+    (version "2.2.5")
+    (source
+     (origin
+       (inherit (package-source go-github-com-pion-transport-v3))
+       (uri (git-reference
+             (url "https://github.com/pion/transport/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "00q3v37l56yr1ch25g5w70jy8y923csbvy4krvy4dv3h5f1mdpmf"))))
+    (arguments
+     (list
+      #:import-path "github.com/pion/transport/v2"))))
+
 (define-public go-github-com-prometheus-client-model
   (package
     (name "go-github-com-prometheus-client-model")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#70955; Package guix-patches. (Wed, 15 May 2024 06:19:04 GMT) Full text and rfc822 format available.

Message #17 received at 70955 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 70955 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 4/6] gnu: Add go-github-com-pion-mdns.
Date: Wed, 15 May 2024 09:17:13 +0300
* gnu/packages/golang-xyz.scm (go-github-com-pion-mdns): New variable.

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

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 192b4e7cf1..ca9e88547e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3054,6 +3054,36 @@ (define-public go-github-com-pion-transport-v2
      (list
       #:import-path "github.com/pion/transport/v2"))))
 
+(define-public go-github-com-pion-mdns
+  (package
+    (name "go-github-com-pion-mdns")
+    (version "2.0.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pion/mdns/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "03675hx82lx3c8akkxdbkch1z4dbq54r05jk6jgdyd7mrdh9k4lm"))))
+    (build-system go-build-system)
+    (native-inputs (list go-github-com-stretchr-testify))
+    (propagated-inputs (list go-github-com-pion-logging
+                             go-github-com-pion-transport-v3
+                             go-golang-org-x-net))
+    (arguments
+     (list
+      #:go go-1.21
+      #:tests? #f ;Tests require network access.
+      #:import-path "github.com/pion/mdns"))
+    (home-page "https://github.com/pion/mdns/")
+    (synopsis "Pure Go implementation of Multicast DNS")
+    (description
+     "Pure Go implementation of Multicast DNS for @url{https://github.com/pion, Pion}
+WebRTC.")
+    (license license:expat)))
+
 (define-public go-github-com-prometheus-client-model
   (package
     (name "go-github-com-prometheus-client-model")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#70955; Package guix-patches. (Wed, 15 May 2024 06:19:04 GMT) Full text and rfc822 format available.

Message #20 received at 70955 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 70955 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 6/6] gnu: Add go-github-com-pion-stun-v2.
Date: Wed, 15 May 2024 09:17:15 +0300
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#70955; Package guix-patches. (Wed, 15 May 2024 06:19:04 GMT) Full text and rfc822 format available.

Message #23 received at 70955 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 70955 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 5/6] gnu: Add go-github-com-pion-dtls-v2.
Date: Wed, 15 May 2024 09:17:14 +0300
* gnu/packages/golang-xyz.scm (go-github-com-pion-dtls-v2): New variable.

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

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index ca9e88547e..b91a28c436 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3084,6 +3084,36 @@ (define-public go-github-com-pion-mdns
 WebRTC.")
     (license license:expat)))
 
+(define-public go-github-com-pion-dtls-v2
+  (package
+    (name "go-github-com-pion-dtls")
+    (version "2.2.11")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pion/dtls/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "10nn9349f7snqkzncda5m013fgnzicrcxi6pb6ghc0vb6rhqkf30"))))
+    (build-system go-build-system)
+    (native-inputs (list go-github-com-stretchr-testify))
+    (propagated-inputs (list go-github-com-pion-logging
+                             go-github-com-pion-transport-v3
+                             go-github-com-pion-transport-v2
+                             go-golang-org-x-crypto go-golang-org-x-net))
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/pion/dtls/v2"))
+    (home-page "https://github.com/pion/dtls/")
+    (synopsis "DTLS 1.2 Server/Client implementation for Go")
+    (description
+     "Native @url{https://datatracker.ietf.org/doc/html/rfc6347, DTLS 1.2}
+implementation in the Go programming language.")
+    (license license:expat)))
+
 (define-public go-github-com-prometheus-client-model
   (package
     (name "go-github-com-prometheus-client-model")
-- 
2.41.0





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Thu, 16 May 2024 22:33:01 GMT) Full text and rfc822 format available.

Notification sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
bug acknowledged by developer. (Thu, 16 May 2024 22:33:01 GMT) Full text and rfc822 format available.

Message #28 received at 70955-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 70955-done <at> debbugs.gnu.org
Subject: [PATCH 0/6] gnu: Add go-github-com-pion-stun-v2 and
 go-github-com-pion-mdns.
Date: Thu, 16 May 2024 23:31:26 +0100
[Message part 1 (text/plain, inline)]
Hi,

I've applied some modifications and pushed as 26b324d082..08f391af78 to
master.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.