From: Saeed Kazemi <kazemi.ms@gmail.com>
To: buildroot@buildroot.org
Cc: Saeed Kazemi <kazemi.ms@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/zoxide: new package
Date: Sat, 2 Mar 2024 20:12:15 +0100 [thread overview]
Message-ID: <20240302191215.2743208-1-kazemi.ms@gmail.com> (raw)
A smarter cd command. Supports all major shells.
https://github.com/ajeetdsouza/zoxide.git
Signed-off-by: Saeed Kazemi <kazemi.ms@gmail.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/zoxide/Config.in | 11 +++++++++++
package/zoxide/zoxide.hash | 3 +++
package/zoxide/zoxide.mk | 12 ++++++++++++
5 files changed, 28 insertions(+)
create mode 100644 package/zoxide/Config.in
create mode 100644 package/zoxide/zoxide.hash
create mode 100644 package/zoxide/zoxide.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 0bfe91f064..60a2544ef5 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2733,6 +2733,7 @@ F: package/biosdevname/
N: Saeed Kazemi <kazemi.ms@gmail.com>
F: package/eza/
F: package/procs/
+F: package/zoxide/
N: Sam Lancia <sam@gpsm.co.uk>
F: package/lrzip/
diff --git a/package/Config.in b/package/Config.in
index bf0fe078b9..d39d6ec1c2 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2707,6 +2707,7 @@ comment "Utilities"
source "package/xmlstarlet/Config.in"
source "package/xxhash/Config.in"
source "package/ytree/Config.in"
+ source "package/zoxide/Config.in"
endmenu
menu "System tools"
diff --git a/package/zoxide/Config.in b/package/zoxide/Config.in
new file mode 100644
index 0000000000..b2567dad0b
--- /dev/null
+++ b/package/zoxide/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_ZOXIDE
+ bool "zoxide"
+ depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+ select BR2_PACKAGE_HOST_RUSTC
+ help
+ zoxide is a smarter cd command, inspired by z and autojump.
+ It remembers which directories you use most frequently, so
+ you can "jump" to them in just a few keystrokes.
+ zoxide works on all major shells.
+
+ https://github.com/ajeetdsouza/zoxide.git
diff --git a/package/zoxide/zoxide.hash b/package/zoxide/zoxide.hash
new file mode 100644
index 0000000000..d1a765e3bd
--- /dev/null
+++ b/package/zoxide/zoxide.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 792e66d35bc770609e1dd3858a41f5ba66af24d9801c88a5d117e63d95ef6672 zoxide-0.9.4.tar.gz
+sha256 23aa3b08366e4ed6050f3d9950070201802aadbe5675fa1c19f24f4de91cf294 LICENSE
diff --git a/package/zoxide/zoxide.mk b/package/zoxide/zoxide.mk
new file mode 100644
index 0000000000..92b4395a87
--- /dev/null
+++ b/package/zoxide/zoxide.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# zoxide
+#
+################################################################################
+
+ZOXIDE_VERSION = 0.9.4
+ZOXIDE_SITE = $(call github,ajeetdsouza,zoxide,v$(ZOXIDE_VERSION))
+ZOXIDE_LICENSE = MIT
+ZOXIDE_LICENSE_FILES = LICENSE
+
+$(eval $(cargo-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-03-02 19:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-02 19:12 Saeed Kazemi [this message]
2024-07-12 13:33 ` [Buildroot] [PATCH 1/1] package/zoxide: new package Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240302191215.2743208-1-kazemi.ms@gmail.com \
--to=kazemi.ms@gmail.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox