summary refs log tree commit diff
diff options
context:
space:
mode:
authorHunter Jones <hjones2199@gmail.com>2021-04-20 14:25:40 -0500
committerHunter Jones <hjones2199@gmail.com>2021-04-20 14:25:40 -0500
commit78c1ab76d71c94656b66b970af6b4573ba6a423f (patch)
tree8a0a5e2eee85d9a8d2c08e379452ae791ea8de2f
parentda6777798d1a497c5b43dec85d378d4dfdd203f2 (diff)
downloadnixpkgs-78c1ab76d71c94656b66b970af6b4573ba6a423f.tar
nixpkgs-78c1ab76d71c94656b66b970af6b4573ba6a423f.tar.gz
nixpkgs-78c1ab76d71c94656b66b970af6b4573ba6a423f.tar.bz2
nixpkgs-78c1ab76d71c94656b66b970af6b4573ba6a423f.tar.lz
nixpkgs-78c1ab76d71c94656b66b970af6b4573ba6a423f.tar.xz
nixpkgs-78c1ab76d71c94656b66b970af6b4573ba6a423f.tar.zst
nixpkgs-78c1ab76d71c94656b66b970af6b4573ba6a423f.zip
websocat: 1.6.0 -> 1.8.0
-rw-r--r--pkgs/tools/misc/websocat/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/tools/misc/websocat/default.nix b/pkgs/tools/misc/websocat/default.nix
index d5f09d9f9fa..821c059a45f 100644
--- a/pkgs/tools/misc/websocat/default.nix
+++ b/pkgs/tools/misc/websocat/default.nix
@@ -2,21 +2,24 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "websocat";
-  version = "1.6.0";
+  version = "1.8.0";
 
   src = fetchFromGitHub {
     owner = "vi";
-    repo = "websocat";
+    repo = pname;
     rev = "v${version}";
-    sha256 = "0iilq96bxcb2fsljvlgy47pg514w0jf72ckz39yy3k0gwc1yfcja";
+    sha256 = "sha256-jwoWxK4phBqhIeo3+oRnpGsfvtn9gTR1ryd4N+0Lmbw=";
   };
 
   cargoBuildFlags = [ "--features=ssl" ];
-  cargoSha256 = "1hsms8rlnds8npr8m0dm21h04ci5ljda09pqb598v7ny3j2dldiq";
+  cargoSha256 = "sha256-+3SG1maarY4DJ4+QiYGwltGLksOoOhKtcqstRwgzi2k=";
 
   nativeBuildInputs = [ pkg-config makeWrapper ];
   buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
 
+  # Needed to get openssl-sys to use pkg-config.
+  OPENSSL_NO_VENDOR=1;
+
   # The wrapping is required so that the "sh-c" option of websocat works even
   # if sh is not in the PATH (as can happen, for instance, when websocat is
   # started as a systemd service).
@@ -26,8 +29,9 @@ rustPlatform.buildRustPackage rec {
   '';
 
   meta = with lib; {
-    description = "Command-line client for WebSockets (like netcat/socat)";
     homepage = "https://github.com/vi/websocat";
+    description = "Command-line client for WebSockets (like netcat/socat)";
+    changelog = "https://github.com/vi/websocat/releases/tag/v${version}";
     license = licenses.mit;
     maintainers = with maintainers; [ thoughtpolice Br1ght0ne ];
   };