websocat: 1.3.0 -> 1.5.0

This commit is contained in:
Oleksii Filonenko 2019-12-05 18:40:54 +02:00 committed by Austin Seipp
parent aaf7a7eeb3
commit 741f472ddf

View file

@ -1,28 +1,27 @@
{ stdenv, fetchFromGitHub, pkgconfig, openssl, rustPlatform, Security
}:
{ stdenv, fetchFromGitHub, pkgconfig, openssl, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "websocat";
version = "1.3.0";
version = "1.5.0";
src = fetchFromGitHub {
owner = "vi";
repo = "websocat";
rev = "v${version}";
sha256 = "1gf2snr12vnx2mhsrwkb5274r1pvdrf8m3bybrqbh8s9wd83nrh6";
owner = "vi";
repo = "websocat";
rev = "v${version}";
sha256 = "1lmra91ahpk4gamhnbdr066hl4vzwfh5i09fbabzdnxcvylbx8zf";
};
cargoBuildFlags = [ "--features=ssl" ];
cargoSha256 = "1zqfvbihf8xwgh092n9wzm3mdgbv0n99gjsfk9przqj2vh7wfvh2";
cargoSha256 = "163kwpahrbb9v88kjkrc0jx2np3c068pspr8rqrm9cb8jyl2njrr";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ] ++ 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;
license = with licenses; [ mit ];
homepage = "https://github.com/vi/websocat";
license = licenses.mit;
maintainers = [ maintainers.thoughtpolice ];
platforms = platforms.all;
platforms = platforms.all;
};
}