2020-03-27 08:33:21 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoModule }:
|
2019-08-08 12:44:15 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tendermint";
|
2020-11-22 13:57:45 +01:00
|
|
|
version = "0.34.0";
|
2019-08-08 12:44:15 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tendermint";
|
|
|
|
repo = pname;
|
2019-09-16 23:34:10 +02:00
|
|
|
rev = "v${version}";
|
2020-11-22 13:57:45 +01:00
|
|
|
sha256 = "1fnykdk35937ld8dyzjs571klz187jr8wlj8ljn78pajx1cd84k6";
|
2019-08-08 12:44:15 +02:00
|
|
|
};
|
|
|
|
|
2020-11-22 13:57:45 +01:00
|
|
|
vendorSha256 = "19qx7ab6ar609cxxdsb9i2c3h7icqgf5bhi28lnsdk3bdjxr27vz";
|
2019-08-08 12:44:15 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-04 11:20:00 +02:00
|
|
|
subPackages = [ "cmd/tendermint" ];
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/tendermint/tendermint/version.GitCommit=${src.rev}" ];
|
|
|
|
|
2019-08-08 12:44:15 +02:00
|
|
|
meta = with stdenv.lib; {
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "Byzantine-Fault Tolerant State Machines. Or Blockchain, for short";
|
2020-04-12 05:15:13 +02:00
|
|
|
homepage = "https://tendermint.com/";
|
2019-08-08 12:44:15 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ alexfmpe ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
2020-07-04 11:20:00 +02:00
|
|
|
}
|