blob: cedf034b39607fdcd7957575999114b3a5b3c3f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 2013-2022 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.package import *
class Etcd(Package):
"""etcd is a distributed reliable key-value store for the most
critical data of a distributed system"""
homepage = "https://etcd.io/"
url = "https://github.com/etcd-io/etcd/archive/v3.4.7.tar.gz"
maintainers = ["alecbcs"]
version("3.4.23", sha256="055c608c4898d25f23aefbc845ff074bf5e8a07e61ed41dbd5cc4d4f59c93093")
depends_on("go@1.19:")
def setup_build_environment(self, env):
# Point GOPATH at the top of the staging dir for the build step.
env.prepend_path("GOPATH", self.stage.path)
def install(self, spec, prefix):
make()
install_tree("bin", prefix.bin)
|