package/broot: new package

This commit adds broot, a fast and powerful file manager written
in Rust and licensed under MIT license. It supports filters, regular
expressions, and real-time "show-as-you-type" search for quick and easy
navigation, even in complex directory structures.

Signed-off-by: Alexander Shirokov <shirokovalexs@gmail.com>
[Peter: use select rather than depends on for rustc]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Alexander Shirokov
2025-11-07 16:10:28 +01:00
committed by Peter Korsgaard
parent 766f6ddb7e
commit 5d8c1af6a5
5 changed files with 28 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ N: Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
F: package/cpp-httplib/
N: Alexander Shirokov <shirokovalexs@gmail.com>
F: package/broot/
F: package/nnn/
N: Alessandro Partesotti <a.partesotti@gmail.com>

View File

@@ -2950,6 +2950,7 @@ endmenu
menu "Text editors and viewers"
source "package/bat/Config.in"
source "package/broot/Config.in"
source "package/bvi/Config.in"
source "package/ed/Config.in"
source "package/joe/Config.in"

11
package/broot/Config.in Normal file
View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_BROOT
bool "broot"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_HOST_RUSTC
help
Broot is a fast and powerful file manager written in Rust and
licensed under MIT license. It supports filters, regular
expressions, and real-time "show-as-you-type" search for quick
and easy navigation, even in complex directory structures.
https://github.com/Canop/broot

3
package/broot/broot.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally generated
sha256 2f9fc93d3e3b547108d66ac0baafb8f60a9506fc189b509821ab301d9ea75a19 broot-1.52.0-cargo4.tar.gz
sha256 89461664ce2aee7d80ea8fba7118fe7abd490d76ba435cf1d81d3128e060711f LICENSE

12
package/broot/broot.mk Normal file
View File

@@ -0,0 +1,12 @@
################################################################################
#
# broot
#
################################################################################
BROOT_VERSION = 1.52.0
BROOT_SITE = $(call github,Canop,broot,v$(BROOT_VERSION))
BROOT_LICENSE = MIT
BROOT_LICENSE_FILES = LICENSE
$(eval $(cargo-package))