From 5d8cd207ec2cbf4d936006c69e61468783ea58ca Mon Sep 17 00:00:00 2001 From: Pranav Sivaraman <14294205+pranav-sivaraman@users.noreply.github.com> Date: Sat, 24 Feb 2024 16:53:08 -0500 Subject: [PATCH] zoxide: new package (#42840) * feat: zoxide package * Apply suggestions from code review Co-authored-by: Alec Scott --------- Co-authored-by: Alec Scott --- .../repos/builtin/packages/zoxide/package.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/zoxide/package.py diff --git a/var/spack/repos/builtin/packages/zoxide/package.py b/var/spack/repos/builtin/packages/zoxide/package.py new file mode 100644 index 0000000000..d352495c5a --- /dev/null +++ b/var/spack/repos/builtin/packages/zoxide/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class Zoxide(CargoPackage): + """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. + """ + + homepage = "https://github.com/ajeetdsouza/zoxide" + url = "https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v0.9.4.tar.gz" + + maintainers("pranav-sivaraman") + + license("MIT") + + version("0.9.4", sha256="ec002bdca37917130ae34e733eb29d4baa03b130c4b11456d630a01a938e0187")