summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-08-29 12:12:32 +0800
committerGitHub <noreply@github.com>2020-08-28 23:12:32 -0500
commite19f971b7beef11653ed2d06924a1a2a76bff731 (patch)
tree7d2f15223db3cba98dbef7838726e0df6209bdbe /var
parent6739908144c0b55e537a56425bf339834d504b50 (diff)
downloadspack-e19f971b7beef11653ed2d06924a1a2a76bff731.tar.gz
spack-e19f971b7beef11653ed2d06924a1a2a76bff731.tar.bz2
spack-e19f971b7beef11653ed2d06924a1a2a76bff731.tar.xz
spack-e19f971b7beef11653ed2d06924a1a2a76bff731.zip
Add new package: librdkafka (#18256)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/librdkafka/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/librdkafka/package.py b/var/spack/repos/builtin/packages/librdkafka/package.py
new file mode 100644
index 0000000000..a3157e08d2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/librdkafka/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2020 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 Librdkafka(AutotoolsPackage):
+ """librdkafka is a C library implementation of the Apache Kafka
+ protocol."""
+
+ homepage = "https://github.com/edenhill/librdkafka"
+ url = "https://github.com/edenhill/librdkafka/archive/v1.5.0.tar.gz"
+
+ version('1.5.0', 'f7fee59fdbf1286ec23ef0b35b2dfb41031c8727c90ced6435b8cf576f23a656')
+ version('1.4.4', '0984ffbe17b9e04599fb9eceb16cfa189f525a042bef02474cd1bbfe1ea68416')
+ version('1.4.2', '3b99a36c082a67ef6295eabd4fb3e32ab0bff7c6b0d397d6352697335f4e57eb')
+
+ depends_on('zstd')
+ depends_on('lz4')