tendermint: use subPackages
This commit is contained in:
parent
5a4fe405d3
commit
82106e0c3b
@ -13,6 +13,10 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "0i0n89lal99fqnzva51kp9f7wzqsfmncpshwxhq26kvykp7ji7sw";
|
||||
|
||||
subPackages = [ "cmd/tendermint" ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X github.com/tendermint/tendermint/version.GitCommit=${src.rev}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Byzantine-Fault Tolerant State Machines. Or Blockchain, for short.";
|
||||
homepage = "https://tendermint.com/";
|
||||
@ -20,4 +24,4 @@ buildGoModule rec {
|
||||
maintainers = with maintainers; [ alexfmpe ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user