echoip: fix build on darwin
This commit is contained in:
parent
ee41c79c9a
commit
ecec7dff61
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
pname = "echoip";
|
pname = "echoip";
|
||||||
@ -13,6 +13,8 @@ buildGoModule {
|
|||||||
|
|
||||||
modSha256 = "025p891klwpid5fw4z39fimgfkwgkcwqpn5276hflzdp1hfv35ly";
|
modSha256 = "025p891klwpid5fw4z39fimgfkwgkcwqpn5276hflzdp1hfv35ly";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
outputs = [ "out" "index" ];
|
outputs = [ "out" "index" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
@ -20,7 +22,7 @@ buildGoModule {
|
|||||||
cp $src/index.html $index/index.html
|
cp $src/index.html $index/index.html
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/mpolden/echoip;
|
homepage = https://github.com/mpolden/echoip;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ rvolosatovs ];
|
maintainers = with maintainers; [ rvolosatovs ];
|
||||||
|
@ -19030,7 +19030,9 @@ in
|
|||||||
|
|
||||||
eaglemode = callPackage ../applications/misc/eaglemode { };
|
eaglemode = callPackage ../applications/misc/eaglemode { };
|
||||||
|
|
||||||
echoip = callPackage ../servers/echoip { };
|
echoip = callPackage ../servers/echoip {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
eclipses = recurseIntoAttrs (callPackage ../applications/editors/eclipse {
|
eclipses = recurseIntoAttrs (callPackage ../applications/editors/eclipse {
|
||||||
jdk = jdk11;
|
jdk = jdk11;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user