From 6ecb4a98686f52af397982ef688379097231b34a Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Wed, 11 Jan 2017 03:43:04 +0000 Subject: [PATCH] Add the packaging metadata to build the wormhole snap --- snapcraft.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 snapcraft.yaml diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..e646088 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,33 @@ +name: wormhole +version: master +summary: get things from one computer to another, safely +description: | + This package provides a library and a command-line tool named wormhole, + which makes it possible to get short pieces of text (and arbitrary-sized + files and directories) 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. + +grade: devel +confinement: strict + +apps: + wormhole: + command: env LC_ALL=C.UTF-8 LANG=C.UTF-8 wormhole + plugs: [home, network, network-bind] + +parts: + magic-wormhole: + source: . + plugin: python + build-packages: + - gcc + - libffi-dev + - libsodium-dev + - libssl-dev + - make