websocketd: fix build on darwin
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "websocketd";
|
pname = "websocketd";
|
||||||
@@ -13,7 +13,9 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "18hamj557ln8k3vmvcrpvnydjr1dy7zi9490iacwdldw5vp870xs";
|
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";
|
description = "Turn any program that uses STDIN/STDOUT into a WebSocket server";
|
||||||
homepage = "http://websocketd.com/";
|
homepage = "http://websocketd.com/";
|
||||||
maintainers = [ maintainers.bjornfor ];
|
maintainers = [ maintainers.bjornfor ];
|
||||||
|
|||||||
@@ -26026,7 +26026,9 @@ in
|
|||||||
|
|
||||||
webfs = callPackage ../servers/http/webfs { };
|
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 {
|
wikicurses = callPackage ../applications/misc/wikicurses {
|
||||||
pythonPackages = python3Packages;
|
pythonPackages = python3Packages;
|
||||||
|
|||||||
Reference in New Issue
Block a user