tendermint: use subPackages

This commit is contained in:
Mario Rodas 2020-07-04 04:20:00 -05:00
parent 5a4fe405d3
commit 82106e0c3b
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -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;
};
}
}