Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:15:27

0001 # Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
0002 # Spack Project Developers. See the top-level COPYRIGHT file for details.
0003 #
0004 # SPDX-License-Identifier: (Apache-2.0 OR MIT)
0005 
0006 from spack.package import *
0007 
0008 
0009 class PhonebookCli(Package):
0010     """Simple command line interface to the EICUG phonebook."""
0011 
0012     homepage = "https://github.com/eic/phonebook-cli"
0013     url = "https://github.com/eic/phonebook-cli/archive/refs/tags/v1.0.0.tar.gz"
0014 
0015     maintainers("wdconinc")
0016 
0017     version(
0018         "1.0.0",
0019         sha256="fe5dcbeadbbcdc97c8921dccdb854eb4b88209c3e70fdda514da48bef26d4345",
0020     )
0021 
0022     depends_on("jq")
0023 
0024     def install(self, spec, prefix):
0025         mkdirp(prefix.bin)
0026         install("phonebook.sh", join_path(prefix.bin, "phonebook"))