mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
25 lines
665 B
Nix
25 lines
665 B
Nix
|
{ stdenv, fetchFromGitHub, rustPlatform
|
||
|
}:
|
||
|
|
||
|
rustPlatform.buildRustPackage rec {
|
||
|
name = "websocat-${version}";
|
||
|
version = "1.3.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "vi";
|
||
|
repo = "websocat";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "1gf2snr12vnx2mhsrwkb5274r1pvdrf8m3bybrqbh8s9wd83nrh6";
|
||
|
};
|
||
|
|
||
|
cargoSha256 = "0vkb3jmyb3zg3xiig5vlxhh74m27rvqbkgrwdqzprifn9vcj17ir";
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Command-line client for WebSockets (like netcat/socat)";
|
||
|
homepage = https://github.com/vi/websocat;
|
||
|
license = with licenses; [ mit ];
|
||
|
maintainers = [ maintainers.thoughtpolice ];
|
||
|
platforms = platforms.all;
|
||
|
};
|
||
|
}
|