diff options
author | Matthieu Dorier <mdorier@anl.gov> | 2023-06-27 13:19:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 08:19:19 -0400 |
commit | cc5ea14a6ef6cc1526bd7c84e7ad600e18474aea (patch) | |
tree | 116c0506eea0391501d3ca5d7cd4338cbf33bbef | |
parent | efd2ed750d8a6a5dd1986fe12e7d50de98d7276d (diff) | |
download | spack-cc5ea14a6ef6cc1526bd7c84e7ad600e18474aea.tar.gz spack-cc5ea14a6ef6cc1526bd7c84e7ad600e18474aea.tar.bz2 spack-cc5ea14a6ef6cc1526bd7c84e7ad600e18474aea.tar.xz spack-cc5ea14a6ef6cc1526bd7c84e7ad600e18474aea.zip |
cargs: add new package (#38548)
-rw-r--r-- | var/spack/repos/builtin/packages/cargs/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cargs/package.py b/var/spack/repos/builtin/packages/cargs/package.py new file mode 100644 index 0000000000..e14ef71151 --- /dev/null +++ b/var/spack/repos/builtin/packages/cargs/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2023 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) + + +from spack.package import * + + +class Cargs(CMakePackage): + """A lightweight cross-platform C/C++ getopt alternative that works on + Linux, Windows and macOS.""" + + homepage = "https://likle.github.io/cargs/" + url = "https://github.com/likle/cargs/archive/refs/tags/v1.0.3.tar.gz" + git = "https://github.com/likle/cargs.git" + + version("1.0.3", sha256="ddba25bd35e9c6c75bc706c126001b8ce8e084d40ef37050e6aa6963e836eb8b") + + depends_on("cmake@3.14.7:", type=("build")) |