forked from tdryer/hangups
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
30 lines (28 loc) · 878 Bytes
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: hangups
version: 0.4.0
summary: Third-party instant messaging client for Google Hangouts
description: |
hangups is a third-party instant messaging client for Google Hangouts with a
text-based user interface.
confinement: strict
grade: stable
apps:
hangups:
# the hangups executable created by setuptools doesn't work in snap, so run
# hangups directly instead
command: usr/bin/python3.5 -m hangups.ui
# hangups is not a server, but the requests library seems to require the
# bind syscall
plugs:
- network
- network-bind
parts:
hangups:
plugin: python
source: .
# reduce the size of the snap package by only including the files needed to
# run hangups
snap:
- usr/bin/python3.5 # python binary
- usr/lib/python3.5 # standard library
- lib/python3.5/site-packages # python packages