diff options
author | Ali Ahmed <alahmed.se@gmail.com> | 2021-01-28 10:12:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 10:12:12 -0800 |
commit | b6d52fa4667b4139f0d4a104e145bac49f4339e5 (patch) | |
tree | bccc91c33b2d5c99f30752d94426e65bd61cb658 | |
parent | aa152462806ae5ca8095185f4eccc0757ad3cc6c (diff) | |
download | spack-b6d52fa4667b4139f0d4a104e145bac49f4339e5.tar.gz spack-b6d52fa4667b4139f0d4a104e145bac49f4339e5.tar.bz2 spack-b6d52fa4667b4139f0d4a104e145bac49f4339e5.tar.xz spack-b6d52fa4667b4139f0d4a104e145bac49f4339e5.zip |
New package: libpulsar (#21369)
-rw-r--r-- | var/spack/repos/builtin/packages/libpulsar/package.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libpulsar/package.py b/var/spack/repos/builtin/packages/libpulsar/package.py new file mode 100644 index 0000000000..a0aa935aa2 --- /dev/null +++ b/var/spack/repos/builtin/packages/libpulsar/package.py @@ -0,0 +1,32 @@ +# Copyright 2013-2021 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 import * + + +class Libpulsar(CMakePackage): + """libpulsar is a C/C++ client library implementation of the Apache Pulsar + protocol.""" + + homepage = "https://github.com/apache/pulsar" + url = "https://github.com/apache/pulsar/archive/v2.7.0.tar.gz" + + maintainers = ['aahmed-se'] + + version('2.7.0', + sha256='5bf8e5115075e12c848a9e4474cd47067c3200f7ff13c45f624f7383287e8e5e') + + depends_on('zstd') + depends_on('boost') + depends_on('protobuf') + depends_on('pkg-config') + depends_on('openssl') + depends_on('cmake @3.14:', type='build') + + root_cmakelists_dir = 'pulsar-client-cpp' + + def cmake_args(self): + args = ["-DBUILD_PYTHON_WRAPPER=OFF", "-DBUILD_TESTS=OFF"] + return args |