-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
depends on PR vincentchabannes/napp#3 /cc @vincentchabannes
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# 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) | ||
|
||
# ---------------------------------------------------------------------------- | ||
# If you submit this package back to Spack as a pull request, | ||
# please first remove this boilerplate and all FIXME comments. | ||
# | ||
# This is a template package file for Spack. We've put "FIXME" | ||
# next to all the things you'll want to change. Once you've handled | ||
# them, you can save this file and test your package like this: | ||
# | ||
# spack install napp | ||
# | ||
# You can edit this file again by typing: | ||
# | ||
# spack edit napp | ||
# | ||
# See the Spack documentation for more information on packaging. | ||
# ---------------------------------------------------------------------------- | ||
|
||
from spack.package import * | ||
|
||
|
||
class Napp(CMakePackage): | ||
"""Named Arguments library for modern C++.""" | ||
|
||
homepage = "https://github.com/vincentchabannes/napp" | ||
url = "https://github.com/vincentchabannes/napp/archive/refs/tags/v0.2.0.tar.gz" | ||
git = "https://github.com/vincentchabannes/napp.git" | ||
|
||
maintainers("prudhomm", "vincentchabannes") | ||
|
||
license("LGPL-3.0-or-later", checked_by="prudhomm") | ||
|
||
version("master", branch="master") | ||
version("0.2.0", sha256="0316bfcd1be236d31f7fba4917ffa134db7a9e0f37f52c696b24e13c9f0ca6dd") | ||
version("0.1.0", sha256="254b455279b30cec8672e9faf6145c77fdcfb335e6003f4c7413305f663d1955") | ||
|
||
depends_on("cxx", type="build") | ||
|
||
def cmake_args(self): | ||
args = ["-DNAPP_ENABLE_TESTS=OFF", "-DNAPP_ENABLE_EXAMPLES=OFF", "-DNAPP_ENABLE_DOC=OFF"] | ||
return args |