package/fd: new package

A simple, fast and user-friendly alternative to 'find'

https://github.com/sharkdp/fd.git

Signed-off-by: Saeed Kazemi <kazemi.ms@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Saeed Kazemi 2024-02-23 21:30:31 +01:00 committed by Thomas Petazzoni
parent fb974003c1
commit d95b4db863
5 changed files with 30 additions and 0 deletions

View file

@ -2869,6 +2869,7 @@ F: package/biosdevname/
N: Saeed Kazemi <kazemi.ms@gmail.com>
F: package/eza/
F: package/fd/
F: package/parsec-tool/
F: package/procs/
F: package/mxt-app/

View file

@ -182,6 +182,7 @@ menu "Development tools"
source "package/cxxtest/Config.in"
source "package/diffutils/Config.in"
source "package/dos2unix/Config.in"
source "package/fd/Config.in"
source "package/findutils/Config.in"
source "package/flex/Config.in"
source "package/gawk/Config.in"

12
package/fd/Config.in Normal file
View file

@ -0,0 +1,12 @@
config BR2_PACKAGE_FD
bool "fd"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_HOST_RUSTC
help
fd is a program to find entries in your filesystem. It is a
simple, fast and user-friendly alternative to find. While it
does not aim to support all of find's powerful functionality,
it provides sensible (opinionated) defaults for a majority of
use cases.
https://github.com/sharkdp/fd.git

4
package/fd/fd.hash Normal file
View file

@ -0,0 +1,4 @@
# Locally computed
sha256 91da5cc2b99d4754fa5096cda1eeac98f312f712bfca6a41f9972b2287a4c4f9 fd-9.0.0-cargo2.tar.gz
sha256 73c83c60d817e7df1943cb3f0af81e4939a8352c9a96c2fd00451b1116fa635c LICENSE-APACHE
sha256 322cfc7aa0c774d0eca3b2610f1d414de3ddbd7d8dd4b9dea941a13a6eb07455 LICENSE-MIT

12
package/fd/fd.mk Normal file
View file

@ -0,0 +1,12 @@
################################################################################
#
# fd
#
################################################################################
FD_VERSION = 9.0.0
FD_SITE = $(call github,sharkdp,fd,v$(FD_VERSION))
FD_LICENSE = Apache-2.0 or MIT
FD_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
$(eval $(cargo-package))