Add new package: predixy (#19776)

This commit is contained in:
darmac 2020-11-07 11:03:33 +08:00 committed by GitHub
parent dcf3d8332a
commit 1d52bbdf17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)