tendermint: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 06:07:00 -05:00
parent 4340337ea5
commit f729bd752f
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule }:
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
buildGoModule rec {
pname = "tendermint";
@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "1h51zgvjq3bm09yhm54rk8a86cqa1zma3mx6pb0kq7k72xvhpx0a";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Byzantine-Fault Tolerant State Machines. Or Blockchain, for short.";
homepage = https://tendermint.com/;

View file

@ -22127,6 +22127,7 @@ in
tendermint = callPackage ../tools/networking/tendermint {
buildGoModule = buildGo112Module;
inherit (darwin.apple_sdk.frameworks) Security;
};
termdown = (newScope pythonPackages) ../applications/misc/termdown { };