2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2019-08-08 11:44:15 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tendermint";
|
2021-02-06 21:14:59 +00:00
|
|
|
version = "0.34.3";
|
2019-08-08 11:44:15 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tendermint";
|
|
|
|
repo = pname;
|
2019-09-16 23:34:10 +02:00
|
|
|
rev = "v${version}";
|
2021-02-06 21:14:59 +00:00
|
|
|
sha256 = "sha256-tkIoLYfqlnyyAAgEKyQgE317uwyhc8xRTCTUXi+9r9s=";
|
2019-08-08 11:44:15 +01:00
|
|
|
};
|
|
|
|
|
2021-02-06 21:14:59 +00:00
|
|
|
vendorSha256 = "sha256-DviK+MkJwcv2Dhwmqra5G/fTaWxXFbUSUVnAkSHjeII=";
|
2019-08-08 11:44:15 +01:00
|
|
|
|
2020-08-04 10:26:27 +10:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-04 04:20:00 -05:00
|
|
|
subPackages = [ "cmd/tendermint" ];
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/tendermint/tendermint/version.GitCommit=${src.rev}" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-11 12:55:05 +07:00
|
|
|
description = "Byzantine-Fault Tolerant State Machines. Or Blockchain, for short";
|
2020-04-12 03:15:13 +00: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 04:20:00 -05:00
|
|
|
}
|