obfs4: fix build on darwin
This commit is contained in:
parent
1565aabb5e
commit
dc68986142
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchgit, buildGoModule }:
|
||||
{ stdenv, fetchgit, buildGoModule, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "obfs4";
|
||||
|
@ -12,7 +12,9 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "150kg22kznrdj5icjxk3qd70g7wpq8zd2zklw1y2fgvrggw8zvyv";
|
||||
|
||||
meta = with lib; {
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A pluggable transport proxy";
|
||||
homepage = https://www.torproject.org/projects/obfsproxy;
|
||||
repositories.git = https://git.torproject.org/pluggable-transports/obfs4.git;
|
||||
|
|
|
@ -5575,7 +5575,9 @@ in
|
|||
|
||||
obexd = callPackage ../tools/bluetooth/obexd { };
|
||||
|
||||
obfs4 = callPackage ../tools/networking/obfs4 { };
|
||||
obfs4 = callPackage ../tools/networking/obfs4 {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
oci-image-tool = callPackage ../tools/misc/oci-image-tool { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue