summaryrefslogtreecommitdiffstats
path: root/build/snapcraft.yaml
blob: 735c9adbfbd80475a3d1a398cbdf3685e926d4e0 (plain)
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
31
32
33
34
35
36
37
38
name: gotop-xxxserxxx
base: core18
version: determined-by-version-script
version-script: git describe --always --tags --dirty
summary: A terminal based graphical activity monitor inspired by gtop and vtop
description: |
    Another terminal based graphical activity monitor, inspired by [gtop](https://github.com/aksakalli/gtop) and [vtop](https://github.com/MrRio/vtop), this time written in [Go](https://golang.org/)!

grade: stable
confinement: strict
icon: assets/logo.png
license: AGPL-3.0

parts:
    gotop:
        source: .
        plugin: go
        go-importpath: github.com/xxxserxxx/gotop/v4
        build-packages:
        - git-core
        - gcc

plugs:
    # Required by the "Temperatures" widget
    hardware-observe:

    # Required by the "Disk Usage" widget
    mount-observe:

    # Required by the "Processes" widget
    system-observe:

apps:
    gotop-xxxserxxx:
        command: bin/gotop
        environment:
            LANG: C.UTF-8
            LC_ALL: C.UTF-8