zoxide: new package (#42840)

* feat: zoxide package

* Apply suggestions from code review

Co-authored-by: Alec Scott <alec@bcs.sh>

---------

Co-authored-by: Alec Scott <alec@bcs.sh>
This commit is contained in:
Pranav Sivaraman 2024-02-24 16:53:08 -05:00 committed by GitHub
parent 3990589b08
commit 5d8cd207ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")