Skip to content

Instantly share code, notes, and snippets.

@popey
Created February 6, 2019 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save popey/08ccb181631dce79c04838fe313bea60 to your computer and use it in GitHub Desktop.
Save popey/08ccb181631dce79c04838fe313bea60 to your computer and use it in GitHub Desktop.
gotop snapcraft.yaml used during Snapcraft Live stream on 6th Feb 2019
name: gotop
base: core18 # the base snap is the execution environment for this snap
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: gotop
description: |
A terminal based graphical activity monitor inspired by gtop and vtop
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
parts:
gotop:
# See 'snapcraft plugins'
plugin: go
go-importpath: github.com/cjbassi/gotop
source: .
build-packages:
- git
- gcc
apps:
gotop:
command: bin/gotop
plugs:
- system-observe
- mount-observe
- network-control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment