Skip to contentSkip to conversation

package/zoxide: new package

PATCH In review Saeed Kazemi 2 participants 2 messages Mar 2, 2024 – Jul 12, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/zoxide: new package

A smarter cd command. Supports all major shells.

https://github.com/ajeetdsouza/zoxide.git

---
 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
DEVELOPERS +1 -0
index 0bfe91f064..60a2544ef5 100644
@@ -2733,6 +2733,7 @@ F:	package/biosdevname/
 N:	Saeed Kazemi <[email protected]>
 F:	package/eza/
 F:	package/procs/
+F:	package/zoxide/
 
 N:	Sam Lancia <[email protected]>
 F:	package/lrzip/
package/Config.in +1 -0
index bf0fe078b9..d39d6ec1c2 100644
@@ -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"
package/zoxide/Config.in new file +11 -0
new file mode 100644
index 0000000000..b2567dad0b
@@ -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
package/zoxide/zoxide.hash new file +3 -0
new file mode 100644
index 0000000000..d1a765e3bd
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  792e66d35bc770609e1dd3858a41f5ba66af24d9801c88a5d117e63d95ef6672  zoxide-0.9.4.tar.gz
+sha256  23aa3b08366e4ed6050f3d9950070201802aadbe5675fa1c19f24f4de91cf294  LICENSE
package/zoxide/zoxide.mk new file +12 -0
new file mode 100644
index 0000000000..92b4395a87
@@ -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))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · On Sat, 2 Mar 2024 20:12:15 +0100 Saeed Kazemi <[email protected]> wrote:

A smarter cd command. Supports all major shells.

https://github.com/ajeetdsouza/zoxide.git

Quoted 10 lines
---
 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

I had to fix up the hash file a bit because we did some changes to how Cargo packages are vendored, but other than that it looked good: patch applied! Thanks for your contribution!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot