mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
proto-contrib: fix build on darwin
This commit is contained in:
parent
b6b516f7cf
commit
dba5b006e2
@ -1,4 +1,4 @@
|
||||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "proto-contrib";
|
||||
@ -13,7 +13,9 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "19cqz13jd95d5vibd10420gg69ldgf6afc51mkglhafgmmif56b0";
|
||||
|
||||
meta = with lib; {
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Contributed tools and other packages on top of the Go proto package";
|
||||
homepage = https://github.com/emicklei/proto-contrib;
|
||||
license = licenses.mit;
|
||||
|
@ -177,7 +177,9 @@ in
|
||||
|
||||
hobbes = callPackage ../development/tools/hobbes { stdenv = gcc6Stdenv; }; # GCC 6 is latest currently supported. See https://git.io/JvK6M.
|
||||
|
||||
proto-contrib = callPackage ../development/tools/proto-contrib {};
|
||||
proto-contrib = callPackage ../development/tools/proto-contrib {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user