From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id ODzFJRKwR2akHwAAe85BDQ:P1 (envelope-from ) for ; Fri, 17 May 2024 21:29:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ODzFJRKwR2akHwAAe85BDQ (envelope-from ) for ; Fri, 17 May 2024 21:29:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=W70kLukc; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715974162; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=26veL6tJHXrJb7ws3T49AzPd+2DC8D7+2QeX29/FpNo=; b=t/1ORwUNFF0mSXzh2Rwyshk6JumMe/0VGfD84B36m8nOdNT6l6SKYeGct0JzwMjljYpixo k8PfsHFqv8abhjR6KO+v6R4mscCrRt1hIfSgRMWiNG9L/3uiVEj25PVPozY0wTbK8TmU1R U4uNYaTExcfvmM8Dh9BEuXf6KWFYh8CpXC0KIrY4lImdecArCkd1NN5s6FRM+WrIBFrxt8 grSRELXErzNBX7kSmGn4WEjpZnQ6A9xY+6+qv4CKKszKHWuOI+RnYH7Hkv15AciZuvbMpg Usv4i86k57o3162BcQIQOpyQI6lYqHwPBSe6W2JCEeMP6TkDmwJUnzj2BQK3jA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=W70kLukc; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715974162; a=rsa-sha256; cv=none; b=qct3iImB50WBzYi5GlNnAA5TZ9WYdCOht25t5HygLUHJPzNKuJB2sND+K6Zb76IOkL7ztT eSzLqXMgasLWYoH7du5u6XSp5YPu4eXQpI/OysTvjuE8rg14k1BKhxhHg5mzbZMVM+fQ3T TcJKtIwaSQ8WOGL5vVaz4Ma/fDKoym5eZrk7zklYrgsBVcRIWSrVDa6Fy9doG3Glg5/Gck DLRP2kRIgOa0M6EtEVqhOYlQ6u8T2tTpqwscf78SuRjKjrxB/GHmBZV+WJH+ihUAlYLd2Q SUKGp98lz5qZjU3kMRTKW+8rQm4iDPoEnG3mnqq/v/UZr2Sl3FcvcAXB+TwqEw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 589DD563E2 for ; Fri, 17 May 2024 21:29:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s83GG-00010K-7s; Fri, 17 May 2024 15:29:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s83GF-0000zv-1Y for guix-patches@gnu.org; Fri, 17 May 2024 15:28:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s83GE-0000Tk-Q5 for guix-patches@gnu.org; Fri, 17 May 2024 15:28:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s83GH-0000BH-Nx for guix-patches@gnu.org; Fri, 17 May 2024 15:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71014] [PATCH 1/5] gnu: Add go-github-com-pion-turn-v3. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 May 2024 19:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71014 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71014@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 71014-submit@debbugs.gnu.org id=B71014.1715974118645 (code B ref 71014); Fri, 17 May 2024 19:29:01 +0000 Received: (at 71014) by debbugs.gnu.org; 17 May 2024 19:28:38 +0000 Received: from localhost ([127.0.0.1]:56862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s83Ft-0000AF-UL for submit@debbugs.gnu.org; Fri, 17 May 2024 15:28:38 -0400 Received: from mail-lf1-f52.google.com ([209.85.167.52]:52480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s83Fq-00009q-R6 for 71014@debbugs.gnu.org; Fri, 17 May 2024 15:28:36 -0400 Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-523b017a5c6so3617011e87.1 for <71014@debbugs.gnu.org>; Fri, 17 May 2024 12:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715974045; x=1716578845; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=26veL6tJHXrJb7ws3T49AzPd+2DC8D7+2QeX29/FpNo=; b=W70kLukc05tu0OOinh6idVvwBLlzr48mnExwl/Lw0YIYHMiMVz6qqglT92mLjjdwtZ zx6e/6Wj/mrfPyMjqEnj2cO7UPfHc0Jpd4r/WHANjOvg1Es+wMQLwm5IN36qofcoZsVz 3susDWMeDnQVEaM8BvxazaerEGkTNJz296kmJ6yCeQ/is3Lnp64hTrb0YY96exb8X9Hx 7X2SsI7k1f6UepGGtKKia2n4Qy/cn9xFFvbxd0gMY9axgEVuZPHcMcZnaoAqnLK7JIWH jSxSqOa298znqn8CLe5IganRbCvxiwRfjsMY/a69RvJPyPVyEWLkmKjxBlPh2+i/96+7 yHwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715974045; x=1716578845; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=26veL6tJHXrJb7ws3T49AzPd+2DC8D7+2QeX29/FpNo=; b=qcHQMGT8LFWYTh0LdGtAhBxdw0iSy5pqzx+o3vGt51AKXwZf1cnTNH8JtYMh0DDQP9 ZiaITnb1XId/3C1t0iZPpk6JHO7HHhIRygS3IwyCZ/HnhG59OCI6/vNp/KcNKq/v53yy DrIaw9j4l8ue44zXcvilzBuKZRJoRVImBhmjBIwjApzVT7DuM2y3G6SM3HoQGtPf4ixM +wE2JObKUofF86G8cvrEPNwRTIAqffPk8VoSZIes+aHIR/tGOwEGa4lnDz7lU3C3bZ5K rKySN5yfvvibC+RQh97IAIzyIZ+Coch1iow2T1VI00vWfhI3cgNiUvyGi/C4ErDT33v9 RWbw== X-Gm-Message-State: AOJu0Yz88g8Rvsw3epCMeU6i9dhRMZdvDY92pk9RlP17rRvxaS1gXGqy kL+/d7W9UfnsZu2oyURO5a27MhqC4btLLtccjH8otEeySExqPu+aYXctTA== X-Google-Smtp-Source: AGHT+IFW5EPv9gSzTPmutpq8Bh+4P9ylFJvsnSVx742MLAPrFs6rO2MnyEuUKG9w3fLln8DFoNY41g== X-Received: by 2002:a05:6512:3095:b0:522:8352:ff29 with SMTP id 2adb3069b0e04-52283530024mr18429422e87.42.1715974045151; Fri, 17 May 2024 12:27:25 -0700 (PDT) Received: from elephant.. ([95.79.11.228]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-521f38d8963sm3404900e87.237.2024.05.17.12.27.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 12:27:24 -0700 (PDT) From: "Artyom V. Poptsov" Date: Fri, 17 May 2024 22:27:12 +0300 Message-ID: <69db653386fe624f42720d146ddec53438fbbfee.1715973559.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.13 X-Spam-Score: 3.13 X-Migadu-Queue-Id: 589DD563E2 X-Migadu-Scanner: mx13.migadu.com X-TUID: qMYhZxDnlHOW * gnu/packages/golang-xyz.scm (go-github-com-pion-turn-v3): New variable. Change-Id: I6127d3ba42268441e7b052a7a7693341ef7b7df9 --- gnu/packages/golang-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e69a65c3da..862e611e75 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -3006,6 +3006,51 @@ (define-public go-github-com-pion-logging Pion}.") (license license:expat))) +(define-public go-github-com-pion-turn-v3 + (package + (name "go-github-com-pion-turn") + (version "3.0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pion/turn/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0l78m9ym0sv1zfalbv95lwblmr789fc53d957ph5mdznhjx89lyx")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.21 + #:tests? #f ;Tests require network access. + #:unpack-path "github.com/pion/turn/v3" + #:import-path "github.com/pion/turn/v3")) + (native-inputs (list go-github-com-stretchr-testify-next)) + (propagated-inputs (list go-github-com-pion-logging + go-github-com-pion-randutil + go-github-com-pion-stun-v2 + go-github-com-pion-transport-v3)) + (home-page "https://github.com/pion/turn/") + (synopsis "Pion TURN, an API for building TURN clients and servers") + (description + "@url{https://github.com/pion, Pion} TURN is a Go toolkit for building +@url{https://datatracker.ietf.org/doc/html/rfc8656, TURN} servers and clients. + +@code{pion/turn} is an API for building STUN/TURN clients and servers, not a binary +you deploy then configure. It may require copying the examples and making minor +modifications to fit your need, no knowledge of Go is required however. You may be +able to download the pre-made binaries of our examples if you wish to get started +quickly. + +The advantage of this is that you don't need to deal with complicated configuration +files, or custom APIs to modify the state of Pion TURN. After you instantiate an +instance of a Pion TURN server or client you interact with it like any library. The +quickest way to get started is to look at the +@url{https://github.com/pion/turn/blob/master/examples, examples} or +@url{https://godoc.org/github.com/pion/turn, GoDoc}.") + (license license:expat))) + (define-public go-github-com-prometheus-client-model (package (name "go-github-com-prometheus-client-model") -- 2.41.0