nixpkgs-suyu/pkgs/tools/networking/tendermint/default.nix

24 lines
652 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildGoModule }:
2019-08-08 12:44:15 +02:00
buildGoModule rec {
pname = "tendermint";
2020-05-04 11:24:55 +02:00
version = "0.32.11";
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-05-04 11:24:55 +02:00
sha256 = "17p7khfiv5aflpl4imbqp8v7gignd6v6a7g80xlnzgix5ismh84l";
2019-08-08 12:44:15 +02:00
};
2020-05-04 11:24:55 +02:00
modSha256 = "1sdjzj52gkqk51ml29hijzv64clmi38km5z7j7paf28dla2brfxq";
2019-08-08 12:44:15 +02:00
meta = with stdenv.lib; {
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;
};
}