diff options
author | darmac <xiaojun2@hisilicon.com> | 2019-12-14 12:21:18 +0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-12-13 22:21:18 -0600 |
commit | 7e668b115378dbb9f68d6ac6d88dd6d8b53d12bb (patch) | |
tree | 7f554c8645f2f5ddf05f5d2a4fb6a1e321ff7694 | |
parent | 43e9fe95eae9de2fba1f4e9dcec4a7cfcafa2933 (diff) | |
download | spack-7e668b115378dbb9f68d6ac6d88dd6d8b53d12bb.tar.gz spack-7e668b115378dbb9f68d6ac6d88dd6d8b53d12bb.tar.bz2 spack-7e668b115378dbb9f68d6ac6d88dd6d8b53d12bb.tar.xz spack-7e668b115378dbb9f68d6ac6d88dd6d8b53d12bb.zip |
add new package : cassandra (#14144)
* add new package : cassandra
* make stable version as a preferred one
-rw-r--r-- | var/spack/repos/builtin/packages/cassandra/package.py | 23 |
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) |