-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
91 lines (79 loc) · 2.6 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: bpytop
adopt-info: bpytop
summary: A Python-based resource monitor for your terminal.
description: |
Resource monitor that shows usage and stats for processor, memory, disks, network and processes.
Python port of bashtop
- Easy to use, with a game inspired menu system.
- Fast and "mostly" responsive UI with UP, DOWN keys process selection.
- Function for showing detailed stats for selected process.
- Ability to filter processes.
- Easy switching between sorting options.
- Send SIGTERM, SIGKILL, SIGINT to selected process.
- UI menu for changing all config file options.
- Auto scaling graph for network usage.
- Shows message in menu if new version is available
- Shows current read and write speeds for disks
- Multiple data collection methods which can be switched if running on Linux
You can make changes to the configs and even add themes here:
~/snap/bashtop/current/.config/bpytop
license: Apache-2.0
source-code: https://github.com/aristocratos/bpytop
issues: https://github.com/kz6fittycent/bpytop-snap
contact: https://github.com/kz6fittycent/bpytop-snap
base: core24
grade: stable
confinement: strict
compression: lzo
platforms:
amd64:
build-on: [amd64]
build-for: [amd64]
arm64:
build-on: [arm64]
build-for: [arm64]
armhf:
build-on: [armhf]
build-for: [armhf]
s390x:
build-on: [s390x]
build-for: [s390x]
ppc64el:
build-on: [ppc64el]
build-for: [ppc64el]
apps:
bpytop:
command: usr/bin/bpytop
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8
PYTHONPATH: $SNAP/usr/lib/python3/dist-packages
plugs:
- mount-observe
- process-control
- system-observe
- hardware-observe
- network
- physical-memory-observe
- home
parts:
psutil:
source: https://github.com/giampaolo/psutil.git
plugin: nil
override-pull: |
craftctl default
git checkout `git describe --tags --abbrev=0`
override-build: |
python3 setup.py install --install-layout=deb --root=$CRAFT_PART_INSTALL --prefix=/usr
find $CRAFT_PART_INSTALL -type d -name __pycache__ -print0 | xargs -0 rm -rf
find $CRAFT_PART_INSTALL -type f -name *.so -print0 | xargs -0 strip -s
build-packages:
- python3-all-dev
- python3-setuptools
bpytop:
source: https://github.com/aristocratos/bpytop.git
plugin: nil
override-pull: |
craftctl default
craftctl set version="$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"
override-build: make install PREFIX=/usr DESTDIR=$CRAFT_PART_INSTALL