From patchwork Sun Feb 17 20:57:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leo Famulari X-Patchwork-Id: 1157 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BCEE016C50; Sun, 17 Feb 2019 20:59:54 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4E0E416C4B for ; Sun, 17 Feb 2019 20:59:54 +0000 (GMT) Received: from localhost ([127.0.0.1]:46547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvTXV-0008D1-U9 for patchwork@mira.cbaines.net; Sun, 17 Feb 2019 15:59:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvTWp-0007f7-90 for guix-patches@gnu.org; Sun, 17 Feb 2019 15:59:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvTWo-0005Fh-3g for guix-patches@gnu.org; Sun, 17 Feb 2019 15:59:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvTWn-0005FR-UZ for guix-patches@gnu.org; Sun, 17 Feb 2019 15:59:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvTWn-00012o-TD for guix-patches@gnu.org; Sun, 17 Feb 2019 15:59:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34515] [PATCH 11/13] gnu: Add magic-wormhole-mailbox-server. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Feb 2019 20:59:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34515 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 34515@debbugs.gnu.org Received: via spool by 34515-submit@debbugs.gnu.org id=B34515.15504371043878 (code B ref 34515); Sun, 17 Feb 2019 20:59:09 +0000 Received: (at 34515) by debbugs.gnu.org; 17 Feb 2019 20:58:24 +0000 Received: from localhost ([127.0.0.1]:51759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvTW4-00010P-5n for submit@debbugs.gnu.org; Sun, 17 Feb 2019 15:58:24 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:42841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvTVn-0000xj-LP for 34515@debbugs.gnu.org; Sun, 17 Feb 2019 15:58:09 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A07AA2DA7; Sun, 17 Feb 2019 15:57:56 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 17 Feb 2019 15:57:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=from:to:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=hKbmPixGOntJYBAIt7Uz81iZgccB6jFoi7beYF8ggio=; b=Mzbim12MasQJ +pbmWXCZFHyVBGiLwfO+0WkHzHf7f4trkxinq9tPrbMvEfu8js5FALRptPIrBrsa 3/ZYyLDpdXXhLUAUeefdPZmeaN0QYmsFIdTh4P9oXhizTEnlQ+TsuyXnx1i5y5pf HdAT8EcUhRzNdDyB3QKTIRrEhEeG68U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=hKbmPixGOntJYBAIt7Uz81iZgccB6jFoi7beYF8gg io=; b=MFdajQ9OiD5bA4KwsMUIEc2YP41kcD6ci0sbM/EKNFjEYRGq4mqEkktKH fQNBBdiWS8N5Sd8PNJA9vOkqVIBjPHTLyPW1PFga12Yp0RADc9cpwc11Py8Zswr3 koVLdNIoAe4zflrv/bHwsvHyzPm0dRgmEMlA/a5XVIWTA9rluYnuEfb1PvtRvkYa +lWnB9QVqfFqFukrWpBGdY1BBTT4Tcmiz6BEvBdy/HW91HCK1x7/N5ecEfgG84eD NnzthtuaCjKxgkt91UEIePadeJ4vgtGCJ8iiBxF7vqL4aK1Dkh7l7G43LKXlOh7X +oD3jkep9p5aHU3X9hNiOg6yL7x7Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrudduuddgudeggecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucenucfjughrpefhvffufffkofgjfhggtgfgsehtkeertdertdejnecuhfhroh hmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeen ucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgnhhurdhorhhgnecukfhppeejiedrud dvgedrvddtvddrudefjeenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhu lhgrrhhirdhnrghmvgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from jasmine.lan (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id D66C51026E for <34515@debbugs.gnu.org>; Sun, 17 Feb 2019 15:57:55 -0500 (EST) From: Leo Famulari Date: Sun, 17 Feb 2019 15:57:47 -0500 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/magic-wormhole.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/magic-wormhole.scm | 59 +++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 gnu/packages/magic-wormhole.scm diff --git a/gnu/local.mk b/gnu/local.mk index ce43db3c1d..4c570b9e5f 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -296,6 +296,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/m4.scm \ %D%/packages/machine-learning.scm \ %D%/packages/man.scm \ + %D%/packages/magic-wormhole.scm \ %D%/packages/mail.scm \ %D%/packages/make-bootstrap.scm \ %D%/packages/markup.scm \ diff --git a/gnu/packages/magic-wormhole.scm b/gnu/packages/magic-wormhole.scm new file mode 100644 index 0000000000..fd38fba0e8 --- /dev/null +++ b/gnu/packages/magic-wormhole.scm @@ -0,0 +1,59 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Leo Famulari +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages magic-wormhole) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix licenses) + #:use-module (guix build-system python) + #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz)) + +(define-public magic-wormhole-mailbox-server + (package + (name "magic-wormhole-mailbox-server") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "magic-wormhole-mailbox-server" version)) + (sha256 + (base32 + "1q6zhbx8fcpk7rchclm7yqcxdsc1x97hki2ji61sa544r5xvxv55")))) + (build-system python-build-system) + (arguments + ;; Tests seem to be Python 2 only... + ;; "TypeError: a bytes-like object is required, not 'str'" + '(#:tests? #f)) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-autobahn" ,python-autobahn) + ("python-hyperlink" ,python-hyperlink) + ("python-idna" ,python-idna) + ("python-service-identity" ,python-service-identity) + ("python-six" ,python-six) + ("python-treq" ,python-treq) + ("python-twisted" ,python-twisted))) + (home-page "https://github.com/warner/magic-wormhole-mailbox-server") + (synopsis "Magic-Wormhole central server") + (description "This package provides the main server that Magic-Wormhole +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)))