package/dust: new package

dust is an alternative of the command du from the Linux kernel,
written in Rust. It aims to be more intuitive and visual in order
to give the user a better view of his system's storage capacity.

Signed-off-by: Nicolas Tran <nicolas.tran@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Nicolas Tran 2022-07-27 14:55:04 +02:00 committed by Thomas Petazzoni
parent 447323feac
commit acb02354a1
5 changed files with 28 additions and 0 deletions

View File

@ -2188,6 +2188,7 @@ F: package/exiv2/
F: package/ofono/
N: Nicolas Tran <nicolas.tran@smile.fr>
F: package/dust/
F: package/hyperfine/
N: Niklas Cassel <niklas.cassel@wdc.com>

View File

@ -211,6 +211,7 @@ menu "Filesystem and flash utilities"
source "package/curlftpfs/Config.in"
source "package/davfs2/Config.in"
source "package/dosfstools/Config.in"
source "package/dust/Config.in"
source "package/e2fsprogs/Config.in"
source "package/e2tools/Config.in"
source "package/ecryptfs-utils/Config.in"

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

@ -0,0 +1,11 @@
config BR2_PACKAGE_DUST
bool "dust"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_HOST_RUSTC
help
dust is an alternative written in Rust of the command "du"
from the Linux kernel. It aims to be more intuitive and visual
in order to give the user a better view of his system's
current storage capacity.
https://github.com/bootandy/dust.git

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

@ -0,0 +1,3 @@
# Locally computed
sha256 271cc0f1978049b2dbfece633b85d4dd0184df346bd93720062c13e4332f2549 dust-0.8.1.tar.gz
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE

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

@ -0,0 +1,12 @@
################################################################################
#
# dust
#
################################################################################
DUST_VERSION = 0.8.1
DUST_SITE = $(call github,bootandy,dust,v$(DUST_VERSION))
DUST_LICENSE = APACHE-2.0
DUST_LICENSE_FILES = LICENSE
$(eval $(cargo-package))