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 13/13] gnu: Add Magic-Wormhole.
Date: Sun, 17 Feb 2019 15:57:49 -0500	[thread overview]
Message-ID: <10c8f51b53835850b458bef15e2a11ab0dc0d70a.1550437064.git.leo@famulari.name> (raw)
In-Reply-To: <b475438bfdcd6637658bbdda976f402c60d43b95.1550437064.git.leo@famulari.name>

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

diff --git a/gnu/packages/magic-wormhole.scm b/gnu/packages/magic-wormhole.scm
index cc97fec3f9..b1aec5ad9c 100644
--- a/gnu/packages/magic-wormhole.scm
+++ b/gnu/packages/magic-wormhole.scm
@@ -99,3 +99,56 @@ presents a handshake.  Two connections with identical handshakes are glued
 together, allowing them to pretend they have a direct connection.")
     (license expat)))
 
+(define-public magic-wormhole
+  (package
+    (name "magic-wormhole")
+    (version "0.11.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "magic-wormhole" version))
+        (sha256
+         (base32
+          "01fr4bi6kc6fz9n3c4qq892inrc3nf6p2djy65yvm7xkvdxncydf"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         ;; XXX I can't figure out how to build the docs properly.
+         (add-after 'install 'install-docs
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (man (string-append out "/share/man/man1")))
+               (install-file "docs/wormhole.1" man))
+             #t)))))
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ;; XXX These are required for the test suite but end up being referenced
+       ;; by the built package.
+       ("magic-wormhole-mailbox-server" ,magic-wormhole-mailbox-server)
+       ("magic-wormhole-transit-relay" ,magic-wormhole-transit-relay)))
+    (propagated-inputs
+     `(("python-autobahn" ,python-autobahn)
+       ("python-click" ,python-click)
+       ("python-hkdf" ,python-hkdf)
+       ("python-humanize" ,python-humanize)
+       ("python-hyperlink" ,python-hyperlink)
+       ("python-pynacl" ,python-pynacl)
+       ("python-spake2" ,python-spake2)
+       ("python-tqdm" ,python-tqdm)
+       ("python-twisted" ,python-twisted)
+       ("python-txtorcon" ,python-txtorcon)))
+    (home-page "https://github.com/warner/magic-wormhole")
+    (synopsis "Securely transfer data between computers")
+    (description "Magic-Wormhole is a library and a command-line tool named
+wormhole, which makes it possible to securely transfer arbitrary-sized files and
+directories (or short pieces of text) from one computer to another.  The two
+endpoints are identified by using identical \"wormhole codes\": in general, the
+sending machine generates and displays the code, which must then be typed into
+the receiving machine.
+
+The codes are short and human-pronounceable, using a phonetically-distinct
+wordlist.  The receiving side offers tab-completion on the codewords, so usually
+only a few characters must be typed.  Wormhole codes are single-use and do not
+need to be memorized.")
+    (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   ` [bug#34515] [PATCH 12/13] gnu: Add magic-wormhole-transit-relay Leo Famulari
2019-02-18  8:48     ` Ricardo Wurmus
2019-02-17 20:57   ` Leo Famulari [this message]
2019-02-18  8:51     ` [bug#34515] [PATCH 13/13] gnu: Add Magic-Wormhole 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=10c8f51b53835850b458bef15e2a11ab0dc0d70a.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).