Skip to content

Commit

Permalink
ad napp package
Browse files Browse the repository at this point in the history
  • Loading branch information
prudhomm committed Nov 12, 2024
1 parent 8985a8f commit 53e8729
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions packages/napp/package.py
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

0 comments on commit 53e8729

Please sign in to comment.