diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-11-07 11:03:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-06 21:03:33 -0600 |
commit | 1d52bbdf17e5f7ae7f751fbe499a77b236f3de05 (patch) | |
tree | 63cd166984c4396c788fd54040a153ab6de23b83 | |
parent | dcf3d8332abf7b2ed3f37da6810e5a4f48142cf2 (diff) | |
download | spack-1d52bbdf17e5f7ae7f751fbe499a77b236f3de05.tar.gz spack-1d52bbdf17e5f7ae7f751fbe499a77b236f3de05.tar.bz2 spack-1d52bbdf17e5f7ae7f751fbe499a77b236f3de05.tar.xz spack-1d52bbdf17e5f7ae7f751fbe499a77b236f3de05.zip |
Add new package: predixy (#19776)
-rw-r--r-- | var/spack/repos/builtin/packages/predixy/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/predixy/package.py b/var/spack/repos/builtin/packages/predixy/package.py new file mode 100644 index 0000000000..1d0c8d0660 --- /dev/null +++ b/var/spack/repos/builtin/packages/predixy/package.py @@ -0,0 +1,23 @@ +# 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 Predixy(MakefilePackage): + """Predixy is a high performance and fully featured proxy + for redis sentinel and redis cluster.""" + + homepage = "https://github.com/joyieldInc/predixy" + url = "https://github.com/joyieldInc/predixy/archive/1.0.5.tar.gz" + + version('1.0.5', sha256='0670d0b80f991b415a6dc6df107e5f223e3b41dc5d6b18bf73e26578178dd9e0') + version('1.0.4', sha256='30a7dd44ce507a7a2f8a570c59c9133df239a7f8bad14ef1b97df92b2ee96d40') + version('1.0.3', sha256='d815d0ffcd33b16bfee76fe5523bdd47cf9acca0419eaa284d5ccda4cf62b828') + + def install(self, spec, prefix): + mkdirp(self.prefix.bin) + install("src/predixy", self.prefix.bin) + install_tree('conf', self.prefix.conf) |