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

26 lines
727 B
Nix
Raw Normal View History

2020-03-21 11:07:00 +00:00
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
2019-08-08 10:44:15 +00:00
buildGoModule rec {
pname = "tendermint";
2019-09-16 21:34:10 +00:00
version = "0.32.3";
2019-08-08 10:44:15 +00:00
src = fetchFromGitHub {
owner = "tendermint";
repo = pname;
2019-09-16 21:34:10 +00:00
rev = "v${version}";
sha256 = "0vpnw42a28glghdpgxmqhxd63cnbpghhazpzsdksqkw0i1l36ywr";
2019-08-08 10:44:15 +00:00
};
2019-09-16 21:34:10 +00:00
modSha256 = "1h51zgvjq3bm09yhm54rk8a86cqa1zma3mx6pb0kq7k72xvhpx0a";
2019-08-08 10:44:15 +00:00
2020-03-21 11:07:00 +00:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
2019-08-08 10:44:15 +00:00
meta = with stdenv.lib; {
description = "Byzantine-Fault Tolerant State Machines. Or Blockchain, for short.";
homepage = https://tendermint.com/;
license = licenses.asl20;
maintainers = with maintainers; [ alexfmpe ];
platforms = platforms.linux ++ platforms.darwin;
};
}