Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/zoxide: new package
@ 2024-03-02 19:12 Saeed Kazemi
  2024-07-12 13:33 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Saeed Kazemi @ 2024-03-02 19:12 UTC (permalink / raw)
  To: buildroot; +Cc: Saeed Kazemi

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/zoxide: new package
  2024-03-02 19:12 [Buildroot] [PATCH 1/1] package/zoxide: new package Saeed Kazemi
@ 2024-07-12 13:33 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-12 13:33 UTC (permalink / raw)
  To: Saeed Kazemi; +Cc: buildroot

On Sat,  2 Mar 2024 20:12:15 +0100
Saeed Kazemi <kazemi.ms@gmail.com> wrote:

> 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

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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-12 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-02 19:12 [Buildroot] [PATCH 1/1] package/zoxide: new package Saeed Kazemi
2024-07-12 13:33 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox