websocketd: fix build on darwin

gstqt5
Mario Rodas 2020-03-21 05:53:00 -05:00
parent 0acc5e11b2
commit fda0e24e58
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "websocketd";
@ -13,7 +13,9 @@ buildGoModule rec {
modSha256 = "18hamj557ln8k3vmvcrpvnydjr1dy7zi9490iacwdldw5vp870xs";
meta = with lib; {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Turn any program that uses STDIN/STDOUT into a WebSocket server";
homepage = "http://websocketd.com/";
maintainers = [ maintainers.bjornfor ];

View File

@ -26026,7 +26026,9 @@ in
webfs = callPackage ../servers/http/webfs { };
websocketd = callPackage ../applications/networking/websocketd { };
websocketd = callPackage ../applications/networking/websocketd {
inherit (darwin.apple_sdk.frameworks) Security;
};
wikicurses = callPackage ../applications/misc/wikicurses {
pythonPackages = python3Packages;