frp: fix build on darwin
This commit is contained in:
parent
c8359c42e0
commit
b139887056
@ -1,4 +1,4 @@
|
|||||||
{ buildGoModule, lib, fetchFromGitHub }:
|
{ buildGoModule, stdenv, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "frp";
|
pname = "frp";
|
||||||
@ -13,9 +13,11 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "1v90w5grc0vjpcp0m56d73zi0qnbswgz1rcvcwrjfa3rwqhigbal";
|
modSha256 = "1v90w5grc0vjpcp0m56d73zi0qnbswgz1rcvcwrjfa3rwqhigbal";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = [ "cmd/frpc" "cmd/frps" ];
|
subPackages = [ "cmd/frpc" "cmd/frps" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Fast reverse proxy";
|
description = "Fast reverse proxy";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
frp is a fast reverse proxy to help you expose a local server behind a
|
frp is a fast reverse proxy to help you expose a local server behind a
|
||||||
|
@ -10289,7 +10289,9 @@ in
|
|||||||
|
|
||||||
frame = callPackage ../development/libraries/frame { };
|
frame = callPackage ../development/libraries/frame { };
|
||||||
|
|
||||||
frp = callPackage ../tools/networking/frp { };
|
frp = callPackage ../tools/networking/frp {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
fsatrace = callPackage ../development/tools/misc/fsatrace { };
|
fsatrace = callPackage ../development/tools/misc/fsatrace { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user