2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoModule }:
|
2019-08-08 11:44:15 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tendermint";
|
2020-07-04 11:51:58 +01:00
|
|
|
version = "0.33.6";
|
2019-08-08 11:44:15 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tendermint";
|
|
|
|
repo = pname;
|
2019-09-16 22:34:10 +01:00
|
|
|
rev = "v${version}";
|
2020-07-04 11:51:58 +01:00
|
|
|
sha256 = "17zy18s9373f3fp6bqjgj02irzasfv3b6axi84kw7da17mq68vnv";
|
2019-08-08 11:44:15 +01:00
|
|
|
};
|
|
|
|
|
2020-06-09 04:01:24 +01:00
|
|
|
vendorSha256 = "0i0n89lal99fqnzva51kp9f7wzqsfmncpshwxhq26kvykp7ji7sw";
|
2019-08-08 11:44:15 +01:00
|
|
|
|
2020-07-04 10:20:00 +01:00
|
|
|
subPackages = [ "cmd/tendermint" ];
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/tendermint/tendermint/version.GitCommit=${src.rev}" ];
|
|
|
|
|
2019-08-08 11:44:15 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Byzantine-Fault Tolerant State Machines. Or Blockchain, for short.";
|
2020-04-12 04:15:13 +01:00
|
|
|
homepage = "https://tendermint.com/";
|
2019-08-08 11:44:15 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ alexfmpe ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
2020-07-04 10:20:00 +01:00
|
|
|
}
|