mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
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 {
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue