From 4741944931ad7abb8a35f60e1787a5c07ed23931 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 5 Jan 2026 03:51:29 -0600 Subject: [PATCH] add: ttop (#8936) * add: ttop Signed-off-by: Owen-sz * funny Signed-off-by: Owen-sz --------- Signed-off-by: Owen-sz --- anda/apps/ttop/anda.hcl | 5 +++++ anda/apps/ttop/ttop.spec | 33 +++++++++++++++++++++++++++++++++ anda/apps/ttop/update.rhai | 1 + 3 files changed, 39 insertions(+) create mode 100644 anda/apps/ttop/anda.hcl create mode 100644 anda/apps/ttop/ttop.spec create mode 100644 anda/apps/ttop/update.rhai diff --git a/anda/apps/ttop/anda.hcl b/anda/apps/ttop/anda.hcl new file mode 100644 index 0000000000..b10fdcce8a --- /dev/null +++ b/anda/apps/ttop/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ttop.spec" + } +} diff --git a/anda/apps/ttop/ttop.spec b/anda/apps/ttop/ttop.spec new file mode 100644 index 0000000000..e1fd92a9b0 --- /dev/null +++ b/anda/apps/ttop/ttop.spec @@ -0,0 +1,33 @@ +Name: ttop +Version: 1.5.7 +Release: 1%?dist +Summary: System monitoring tool with historical data service, triggers and top-like TUI +License: MIT +URL: https://github.com/inv2004/ttop +Source0: %url/archive/refs/tags/v%version.tar.gz +BuildRequires: anda-srpm-macros +BuildRequires: nim + +Packager: Owen Zimmerman + +%description +%summary. + +%prep +%autosetup -n ttop-%version +%nim_prep + +%build +%nim_c src/ttop + +%install +install -Dm755 src/ttop.out %{buildroot}%{_bindir}/ttop + +%files +%doc README.md +%license LICENSE +%{_bindir}/ttop + +%changelog +* Sun Jan 04 2026 Owen Zimmerman +- Initial commit diff --git a/anda/apps/ttop/update.rhai b/anda/apps/ttop/update.rhai new file mode 100644 index 0000000000..b36ff56cdb --- /dev/null +++ b/anda/apps/ttop/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("inv2004/ttop"));