glances/snap/snapcraft.yaml
林博仁(Buo-ren Lin) 988c9a7613 Switch to automatic git versioning for snap version
Snapcraft supports `git describe` style snap version string generation
this patch exploits it.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 02:51:44 +08:00

45 lines
1001 B
YAML

name: glances
version: git
summary: Glances an Eye on your system. A top/htop alternative.
description: |
Glances is a cross-platform monitoring tool which aims to present
a maximum of information in a minimum of space through a curses or
Web based interface. It can adapt dynamically the displayed information
depending on the user interface size.
grade: stable
confinement: strict
apps:
glances:
command: bin/glances
plugs:
- network
- system-observe
- mount-observe
- hardware-observe
- log-observe
- network-observe
- physical-memory-observe
- upower-observe
- system-files
- home
environment:
LANG: C.UTF-8
LC_ALL: C.UTF-8
plugs:
system-files:
read: [ /etc/glances/glances.conf ]
parts:
glances:
plugin: python
source: .
bottle:
plugin: python
source: https://github.com/bottlepy/bottle.git
docker:
plugin: python
source: https://github.com/docker/docker-py.git