diff options
author | Austin Seipp <aseipp@pobox.com> | 2019-03-09 21:43:27 -0600 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2019-03-10 16:50:24 -0500 |
commit | 37fe6bf7868d7c84ae567de446a46f3fd42a8f63 (patch) | |
tree | 708da740435892188b4bb166b47f8868166f5b6c /pkgs/tools/misc/websocat | |
parent | ce9699403293eae7379a3f18653b30378f586e0a (diff) |
websocat: init at 1.3.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/tools/misc/websocat')
-rw-r--r-- | pkgs/tools/misc/websocat/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/websocat/default.nix b/pkgs/tools/misc/websocat/default.nix new file mode 100644 index 0000000000000..2e91c5c3b63a5 --- /dev/null +++ b/pkgs/tools/misc/websocat/default.nix @@ -0,0 +1,24 @@ +{ 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; + }; +} |