From d2a0cae87b0f39f7964c182fd5d078b4ccfbdb19 Mon Sep 17 00:00:00 2001 From: Caio Bruno Date: Thu, 30 Jul 2026 18:44:17 -0300 Subject: [PATCH] add: fisher (#14720) * add: fisher * Update anda/tools/fisher/fisher.spec Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Signed-off-by: Caio Bruno --------- Signed-off-by: Caio Bruno Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> (cherry picked from commit d25fe4ade4e3fc935e2fa276a816f188df471799) --- anda/tools/fisher/anda.hcl | 6 ++++++ anda/tools/fisher/fisher.spec | 35 +++++++++++++++++++++++++++++++++++ anda/tools/fisher/update.rhai | 1 + 3 files changed, 42 insertions(+) create mode 100644 anda/tools/fisher/anda.hcl create mode 100644 anda/tools/fisher/fisher.spec create mode 100644 anda/tools/fisher/update.rhai diff --git a/anda/tools/fisher/anda.hcl b/anda/tools/fisher/anda.hcl new file mode 100644 index 0000000000..c2b1cf8256 --- /dev/null +++ b/anda/tools/fisher/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "fisher.spec" + } +} diff --git a/anda/tools/fisher/fisher.spec b/anda/tools/fisher/fisher.spec new file mode 100644 index 0000000000..188b874191 --- /dev/null +++ b/anda/tools/fisher/fisher.spec @@ -0,0 +1,35 @@ +Name: fisher +Version: 4.4.8 +Release: 1%{?dist} +Summary: A plugin manager for the fish shell + +License: MIT +URL: https://github.com/jorgebucaran/fisher +Source0: %{url}/archive/refs/tags/%{version}.tar.gz +Packager: Caio Bruno + +BuildArch: noarch +Requires: fish curl + +%description +fisher is a plugin manager for the fish shell — install plugins, themes, +and functions from the command line with a single command. + +%prep +%autosetup -n fisher-%{version} + +%build + +%install +install -Dm644 functions/fisher.fish %{buildroot}%{_datadir}/fish/vendor_functions.d/fisher.fish +install -Dm644 completions/fisher.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/fisher.fish + +%files +%license LICENSE.md +%doc README.md +%{_datadir}/fish/vendor_functions.d/fisher.fish +%{fish_completions_dir}/fisher.fish + +%changelog +* Thu Jul 30 2026 Caio Bruno +- Initial package diff --git a/anda/tools/fisher/update.rhai b/anda/tools/fisher/update.rhai new file mode 100644 index 0000000000..1a7c90446e --- /dev/null +++ b/anda/tools/fisher/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("jorgebucaran/fisher"));