summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/cassandra/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cassandra/package.py b/var/spack/repos/builtin/packages/cassandra/package.py
new file mode 100644
index 0000000000..76def78f58
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cassandra/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2019 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 Cassandra(Package):
+ """
+ Apache Cassandra is a highly-scalable partitioned row store. Rows are
+ organized into tables with a required primary key.
+ """
+
+ homepage = "https://github.com/apache/cassandra"
+ url = "https://github.com/apache/cassandra/archive/cassandra-4.0-alpha2.tar.gz"
+
+ version('4.0-alpha2', sha256='6a8e99d8bc51efd500981c85c6aa547387b2fdbedecd692308f4632dbc1de3ba')
+ version('4.0-alpha1', sha256='2fdf5e3d6c03a29d24a09cd52bb17575e5faccdc4c75a07edd63a9bf4f740105')
+ version('3.11.5', sha256='0ee3da12a2be86d7e03203fcc56c3589ddb38347b9cd031495a2b7fcf639fea6', preferred=True)
+
+ def install(self, spec, prefix):
+ install_tree('.', prefix)