websocat: 1.3.0 -> 1.5.0
This commit is contained in:
parent
aaf7a7eeb3
commit
741f472ddf
@ -1,28 +1,27 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, openssl, rustPlatform, Security
|
{ stdenv, fetchFromGitHub, pkgconfig, openssl, rustPlatform, Security }:
|
||||||
}:
|
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "websocat";
|
pname = "websocat";
|
||||||
version = "1.3.0";
|
version = "1.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vi";
|
owner = "vi";
|
||||||
repo = "websocat";
|
repo = "websocat";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1gf2snr12vnx2mhsrwkb5274r1pvdrf8m3bybrqbh8s9wd83nrh6";
|
sha256 = "1lmra91ahpk4gamhnbdr066hl4vzwfh5i09fbabzdnxcvylbx8zf";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoBuildFlags = [ "--features=ssl" ];
|
cargoBuildFlags = [ "--features=ssl" ];
|
||||||
cargoSha256 = "1zqfvbihf8xwgh092n9wzm3mdgbv0n99gjsfk9przqj2vh7wfvh2";
|
cargoSha256 = "163kwpahrbb9v88kjkrc0jx2np3c068pspr8rqrm9cb8jyl2njrr";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Command-line client for WebSockets (like netcat/socat)";
|
description = "Command-line client for WebSockets (like netcat/socat)";
|
||||||
homepage = https://github.com/vi/websocat;
|
homepage = "https://github.com/vi/websocat";
|
||||||
license = with licenses; [ mit ];
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.thoughtpolice ];
|
maintainers = [ maintainers.thoughtpolice ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user