[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/12: gnu: Add magic-wormhole-transit-relay.
From: |
guix-commits |
Subject: |
11/12: gnu: Add magic-wormhole-transit-relay. |
Date: |
Tue, 19 Feb 2019 14:42:48 -0500 (EST) |
lfam pushed a commit to branch master
in repository guix.
commit 6924a2bdc59648b672944992bef02f411803eeb8
Author: Leo Famulari <address@hidden>
Date: Mon Feb 18 23:57:09 2019 -0500
gnu: Add magic-wormhole-transit-relay.
* gnu/packages/magic-wormhole.scm (magic-wormhole-transit-relay): New
variable.
---
gnu/packages/magic-wormhole.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/magic-wormhole.scm b/gnu/packages/magic-wormhole.scm
index b99ee7b..0ff214a 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))
@@ -63,3 +64,42 @@ 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-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)))
- branch master updated (a4fc802 -> a7db61a), guix-commits, 2019/02/19
- 02/12: gnu: Add python-txaio., guix-commits, 2019/02/19
- 01/12: gnu: Add python-humanize., guix-commits, 2019/02/19
- 04/12: gnu: python-twisted: Update to 17.5.0, guix-commits, 2019/02/19
- 08/12: gnu: Add python-txtorcon., guix-commits, 2019/02/19
- 03/12: gnu: Add python-hyperlink., guix-commits, 2019/02/19
- 12/12: gnu: Add Magic-Wormhole., guix-commits, 2019/02/19
- 05/12: gnu: Add python-treq., guix-commits, 2019/02/19
- 11/12: gnu: Add magic-wormhole-transit-relay.,
guix-commits <=
- 07/12: gnu: Add python-spake2., guix-commits, 2019/02/19
- 09/12: gnu: Add python-autobahn., guix-commits, 2019/02/19
- 06/12: gnu: Add python-hkdf., guix-commits, 2019/02/19
- 10/12: gnu: Add magic-wormhole-mailbox-server., guix-commits, 2019/02/19