Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-03-30 07:48:31

0001 # Copyright 2013-2020 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 from spack_repo.builtin.build_systems.cmake import CMakePackage
0008 
0009 
0010 class Nanocernlib(CMakePackage):
0011     """nanocernlib is a collection of commonly used cernlib routines
0012     packaged with cmake to easily build on modern systems."""
0013 
0014     homepage = "https://github.com/sly2j/nanocernlib"
0015     url = "https://github.com/sly2j/nanocernlib/archive/v1.0.0.tar.gz"
0016     list_url = "https://github.com/sly2j/nanocernlib/releases"
0017     git = "https://github.com/sly2j/nanocernlib.git"
0018 
0019     tags = ["eic"]
0020 
0021     version("master", branch="master")
0022     version(
0023         "1.0.0",
0024         sha256="00b23d2613272951c1771d917ec0a7c30920e9d114caf1b421c44a806a06356a",
0025     )
0026 
0027     depends_on("fortran", type="build")
0028     depends_on("cmake", type="build")