Skip to content

Commit

Permalink
websocat: Fix on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Väinö Järvelä authored and thoughtpolice committed Mar 27, 2019
1 parent 315643e commit d984875
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pkgs/tools/misc/websocat/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform
{ stdenv, fetchFromGitHub, rustPlatform, Security
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -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;
Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -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 { };

Expand Down

0 comments on commit d984875

Please sign in to comment.