summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2024-04-29 16:16:57 -0500
committerGitHub <noreply@github.com>2024-04-29 14:16:57 -0700
commit0df27bc0f7c45cee4009f1b8894b45b7e6bfd888 (patch)
tree5b879e8af05dcf535a8b425124de5013390a05d7 /var
parent877e09dcc16b67282c288ce51f59008790779ed6 (diff)
downloadspack-0df27bc0f7c45cee4009f1b8894b45b7e6bfd888.tar.gz
spack-0df27bc0f7c45cee4009f1b8894b45b7e6bfd888.tar.bz2
spack-0df27bc0f7c45cee4009f1b8894b45b7e6bfd888.tar.xz
spack-0df27bc0f7c45cee4009f1b8894b45b7e6bfd888.zip
nopayloadclient: new package (#43853)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/nopayloadclient/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/nopayloadclient/package.py b/var/spack/repos/builtin/packages/nopayloadclient/package.py
new file mode 100644
index 0000000000..92319d0f62
--- /dev/null
+++ b/var/spack/repos/builtin/packages/nopayloadclient/package.py
@@ -0,0 +1,30 @@
+# 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)
+
+from spack.package import *
+
+
+class Nopayloadclient(CMakePackage):
+ """NoPayloadClient is the client-side library meant to communicate with NoPayloadDB."""
+
+ homepage = "https://github.com/BNLNPPS/nopayloadclient"
+ url = "https://github.com/BNLNPPS/nopayloadclient/archive/refs/tags/v0.0.3.tar.gz"
+ git = "https://github.com/BNLNPPS/nopayloadclient.git"
+
+ maintainers("wdconinc")
+
+ license("Apache-2.0", checked_by="wdconinc")
+
+ version("main", branch="main")
+ version("0.0.3", sha256="9481981d0cfbe1727f08ae3d1129c142a952d5e67ddb9ad88224356040af2225")
+
+ depends_on("curl")
+ depends_on("nlohmann-json", type="build")
+
+ def cmake_args(self):
+ return [
+ self.define("BUILD_TESTING", self.run_tests),
+ self.define("INCLUDE_DIR_NLOHMANN_JSON", self.spec["nlohmann-json"].prefix.include),
+ ]