From c6454ecad73ff5a41e00425d9f9254ed22b8bbcc Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Sat, 6 Sep 2025 11:56:52 +0200 Subject: [PATCH] obs-studio-plugins.obs-webkitgkt This plugin is outdated. It hasn't been updated in years and causes crashes (as have been experienced during the NixCon 2025 livestreams). It works at first but might lead to random crashes during the day. Typically within a 30-45 minute interval. --- .../video/obs-studio/plugins/default.nix | 2 - .../obs-studio/plugins/obs-webkitgtk.nix | 52 ------------------- 2 files changed, 54 deletions(-) delete mode 100644 pkgs/applications/video/obs-studio/plugins/obs-webkitgtk.nix diff --git a/pkgs/applications/video/obs-studio/plugins/default.nix b/pkgs/applications/video/obs-studio/plugins/default.nix index 2131744b0a54..b52c9f523d46 100644 --- a/pkgs/applications/video/obs-studio/plugins/default.nix +++ b/pkgs/applications/video/obs-studio/plugins/default.nix @@ -114,8 +114,6 @@ obs-websocket = qt6Packages.callPackage ./obs-websocket.nix { }; # Websocket 4.x compatibility for OBS Studio 28+ - obs-webkitgtk = callPackage ./obs-webkitgtk.nix { }; - pixel-art = callPackage ./pixel-art.nix { }; wlrobs = callPackage ./wlrobs.nix { }; diff --git a/pkgs/applications/video/obs-studio/plugins/obs-webkitgtk.nix b/pkgs/applications/video/obs-studio/plugins/obs-webkitgtk.nix deleted file mode 100644 index a4bab7b7b626..000000000000 --- a/pkgs/applications/video/obs-studio/plugins/obs-webkitgtk.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - obs-studio, - webkitgtk_4_1, - glib-networking, - meson, - cmake, - pkg-config, - ninja, - wrapGAppsHook3, -}: - -stdenv.mkDerivation { - pname = "obs-webkitgtk"; - version = "unstable-2023-11-10"; - - src = fetchFromGitHub { - owner = "fzwoch"; - repo = "obs-webkitgtk"; - rev = "ddf230852c3c338e69b248bdf453a0630f1298a7"; - hash = "sha256-DU2w9dRgqWniTE76KTAtFdxIN82VKa/CS6ZdfNcTMto="; - }; - - buildInputs = [ - obs-studio - webkitgtk_4_1 - glib-networking - ]; - - nativeBuildInputs = [ - meson - cmake - pkg-config - ninja - wrapGAppsHook3 - ]; - - postPatch = '' - substituteInPlace ./obs-webkitgtk.c \ - --replace 'g_file_read_link("/proc/self/exe", NULL)' "g_strdup(\"$out/lib/obs-plugins\")" - ''; - - meta = with lib; { - description = "Yet another OBS Studio browser source"; - homepage = "https://github.com/fzwoch/obs-webkitgtk"; - maintainers = with maintainers; [ j-hui ]; - license = licenses.gpl2Only; - platforms = platforms.linux; - }; -}