websocat: Fix on macOS

This commit is contained in:
Väinö Järvelä 2019-03-19 10:21:18 +02:00 committed by Austin Seipp
parent 315643e12b
commit d984875aff
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform
{ stdenv, fetchFromGitHub, rustPlatform, Security
}:
rustPlatform.buildRustPackage rec {
@ -14,6 +14,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0vkb3jmyb3zg3xiig5vlxhh74m27rvqbkgrwdqzprifn9vcj17ir";
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
description = "Command-line client for WebSockets (like netcat/socat)";
homepage = https://github.com/vi/websocat;

View file

@ -22594,7 +22594,9 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
websocat = callPackage ../tools/misc/websocat { };
websocat = callPackage ../tools/misc/websocat {
inherit (darwin.apple_sdk.frameworks) Security;
};
epkowa = callPackage ../misc/drivers/epkowa { };