unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: 34515@debbugs.gnu.org
Subject: [bug#34515] [PATCH 12/13] gnu: Add magic-wormhole-transit-relay.
Date: Sun, 17 Feb 2019 15:57:48 -0500	[thread overview]
Message-ID: <4e03d0f28d2967e794c1df200070391ae7006e54.1550437064.git.leo@famulari.name> (raw)
In-Reply-To: <b475438bfdcd6637658bbdda976f402c60d43b95.1550437064.git.leo@famulari.name>

* gnu/packages/magic-wormhole.scm (magic-wormhole-transit-relay): New variable.
---
 gnu/packages/magic-wormhole.scm | 42 +++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/magic-wormhole.scm b/gnu/packages/magic-wormhole.scm
index fd38fba0e8..cc97fec3f9 100644
--- a/gnu/packages/magic-wormhole.scm
+++ b/gnu/packages/magic-wormhole.scm
@@ -21,6 +21,7 @@
   #:use-module (guix download)
   #:use-module (guix licenses)
   #:use-module (guix build-system python)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz))
@@ -57,3 +58,44 @@ clients connect to.  The server performs store-and-forward delivery for small
 key-exchange and control messages.  Bulk data is sent over a direct TCP
 connection, or through a transit-relay.")
    (license expat)))
+
+(define-public magic-wormhole-transit-relay
+  (package
+    (name "magic-wormhole-transit-relay")
+    (version "0.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "magic-wormhole-transit-relay" version))
+        (sha256
+         (base32
+          "11w5gdc6am2ph5rns60x0694sx4zrlzxj540jljhn5cmnbx1ngxi"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-docs
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (docs (string-append out "/share/doc/magic-wormhole-transit-relay")))
+               (for-each (lambda (file)
+                           (install-file file docs))
+                         (find-files "docs/"))
+               #t))))))
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-pyflakes" ,python-pyflakes)
+       ("python-tox" ,python-tox)))
+    (propagated-inputs
+     `(("python-hyperlink" ,python-hyperlink)
+       ("python-twisted" ,python-twisted)))
+    (home-page
+      "https://github.com/warner/magic-wormhole-transit-relay")
+    (synopsis "Magic-Wormhole relay server")
+    (description "This package provides the Magic-Wormhole Transit Relay
+server, which helps clients establish bulk-data transit connections even when
+both are behind NAT boxes.  Each side makes a TCP connection to this server and
+presents a handshake.  Two connections with identical handshakes are glued
+together, allowing them to pretend they have a direct connection.")
+    (license expat)))
+
-- 
2.20.1

  parent reply	other threads:[~2019-02-17 20:59 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-17 20:51 [bug#34515] Magic-Wormhole Leo Famulari
2019-02-17 20:57 ` [bug#34515] [PATCH 01/13] gnu: Add python-humanize Leo Famulari
2019-02-17 20:57   ` [bug#34515] [PATCH 02/13] gnu: Add python-txaio Leo Famulari
2019-02-18  8:01     ` Ricardo Wurmus
2019-02-17 20:57   ` [bug#34515] [PATCH 03/13] gnu: Add python-hyperlink Leo Famulari
2019-02-18  8:04     ` Ricardo Wurmus
2019-02-17 20:57   ` [bug#34515] [PATCH 04/13] gnu: python-txamqp: Depend on python-hyperlink Leo Famulari
2019-02-18  8:05     ` Ricardo Wurmus
2019-02-19  3:22       ` Leo Famulari
2019-02-17 20:57   ` [bug#34515] [PATCH 05/13] gnu: python-twisted: Update to 17.5.0 Leo Famulari
2019-02-18  8:07     ` Ricardo Wurmus
2019-02-17 20:57   ` [bug#34515] [PATCH 06/13] gnu: Add python-treq Leo Famulari
2019-02-18  8:08     ` Ricardo Wurmus
2019-02-19  3:23       ` Leo Famulari
2019-02-17 20:57   ` [bug#34515] [PATCH 07/13] gnu: Add python-hkdf Leo Famulari
2019-02-18  8:09     ` Ricardo Wurmus
2019-02-17 20:57   ` [bug#34515] [PATCH 08/13] gnu: Add python-spake2 Leo Famulari
2019-02-18  8:23     ` Ricardo Wurmus
2019-02-17 20:57   ` [bug#34515] [PATCH 09/13] gnu: Add python-txtorcon Leo Famulari
2019-02-18  8:25     ` Ricardo Wurmus
2019-02-19  4:03       ` Leo Famulari
2019-02-17 20:57   ` [bug#34515] [PATCH 10/13] gnu: Add python-autobahn Leo Famulari
2019-02-18  8:27     ` Ricardo Wurmus
2019-02-19  4:23       ` Leo Famulari
2019-02-19  7:36         ` Ricardo Wurmus
2019-02-19 19:22           ` Leo Famulari
2019-02-17 20:57   ` [bug#34515] [PATCH 11/13] gnu: Add magic-wormhole-mailbox-server Leo Famulari
2019-02-18  8:44     ` Ricardo Wurmus
2019-02-19  4:43       ` Leo Famulari
2019-02-17 20:57   ` Leo Famulari [this message]
2019-02-18  8:48     ` [bug#34515] [PATCH 12/13] gnu: Add magic-wormhole-transit-relay Ricardo Wurmus
2019-02-17 20:57   ` [bug#34515] [PATCH 13/13] gnu: Add Magic-Wormhole Leo Famulari
2019-02-18  8:51     ` Ricardo Wurmus
2019-02-19  4:55       ` Leo Famulari
2019-02-19  7:52         ` Ricardo Wurmus
2019-02-19 19:43           ` bug#34515: " Leo Famulari
2019-02-18  8:00   ` [bug#34515] [PATCH 01/13] gnu: Add python-humanize Ricardo Wurmus

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=4e03d0f28d2967e794c1df200070391ae7006e54.1550437064.git.leo@famulari.name \
    --to=leo@famulari.name \
    --cc=34515@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).