prototol: fix build on darwin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, protobuf }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, makeWrapper, protobuf, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "prototool";
|
||||
@@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
modSha256 = "1gc8kc9mbi3mlh48zx4lcgpsrf8z879f1qj9wfyr66s7wd1ljazg";
|
||||
|
||||
postInstall = ''
|
||||
@@ -23,7 +25,7 @@ buildGoModule rec {
|
||||
|
||||
subPackages = [ "cmd/prototool" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/uber/prototool";
|
||||
description = "Your Swiss Army Knife for Protocol Buffers";
|
||||
maintainers = [ maintainers.marsam ];
|
||||
|
||||
Reference in New Issue
Block a user