File indexing completed on 2026-03-30 07:48:31
0001
0002
0003
0004
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")