mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
websocat: add support for wss://
This commit is contained in:
parent
6500ab9e61
commit
51f4e75025
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, Security
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, openssl, rustPlatform, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -12,9 +12,11 @@ rustPlatform.buildRustPackage rec {
|
||||
sha256 = "1gf2snr12vnx2mhsrwkb5274r1pvdrf8m3bybrqbh8s9wd83nrh6";
|
||||
};
|
||||
|
||||
cargoBuildFlags = [ "--features=ssl" ];
|
||||
cargoSha256 = "1zqfvbihf8xwgh092n9wzm3mdgbv0n99gjsfk9przqj2vh7wfvh2";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Command-line client for WebSockets (like netcat/socat)";
|
||||
|
Loading…
Reference in New Issue
Block a user