summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-01-14 10:59:34 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-13 20:59:34 -0600
commitc41dfb0a7560623e63fa8f03682b835c5bf33c58 (patch)
tree708b204db15cf4c7122c3f39a2294537ac4c35c7 /var
parent35a696a96536087cb7c67fce0f8cd5ed86c08169 (diff)
downloadspack-c41dfb0a7560623e63fa8f03682b835c5bf33c58.tar.gz
spack-c41dfb0a7560623e63fa8f03682b835c5bf33c58.tar.bz2
spack-c41dfb0a7560623e63fa8f03682b835c5bf33c58.tar.xz
spack-c41dfb0a7560623e63fa8f03682b835c5bf33c58.zip
add new package : flink (#14446)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/flink/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/flink/package.py b/var/spack/repos/builtin/packages/flink/package.py
new file mode 100644
index 0000000000..d07391f756
--- /dev/null
+++ b/var/spack/repos/builtin/packages/flink/package.py
@@ -0,0 +1,31 @@
+# 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 Flink(Package):
+ """
+ Apache Flink is an open source stream processing framework with
+ powerful stream- and batch-processing capabilities.
+ """
+
+ homepage = "https://flink.apache.org/"
+ url = "http://archive.apache.org/dist/flink/flink-1.9.1/flink-1.9.1-bin-scala_2.11.tgz"
+
+ version('1.9.1', sha256='f69de344cd593e92f8261e19ae8a47b3910e9a70a7cd1ccfb1ecd1ff000b93ea')
+ version('1.9.0', sha256='a2245f68309e94ed54d86a680232a518aed9c5ea030bcc0b298bc8f27165eeb7')
+ version('1.8.3', sha256='1ba90e99f70ad7e2583d48d1404d1c09e327e8fb8fa716b1823e427464cc8dc0')
+ version('1.8.2', sha256='1a315f4f1fab9d651702d177b1741439ac98e6d06e9e13f9d410b34441eeda1c')
+ version('1.8.1', sha256='4fc0d0f163174ec43e160fdf21a91674979b978793e60361e2fce5dddba4ddfa')
+
+ depends_on('java@8:', type='run')
+
+ def url_for_version(self, version):
+ url = "http://archive.apache.org/dist/flink/flink-{0}/flink-{0}-bin-scala_2.11.tgz"
+ return url.format(version)
+
+ def install(self, spec, prefix):
+ install_tree('.', prefix)