11 stdenv.mkDerivation rec {
12 pname = "obs-websocket";
13 version = "4.9.1-compat";
15 src = fetchFromGitHub {
17 repo = "obs-websocket";
19 sha256 = "sha256-cHsJxoQjwbWLxiHgIa3Es0mu62vyLCAd1wULeZqZsJM=";
22 nativeBuildInputs = [ cmake ];
23 buildInputs = [ asio obs-studio qtbase websocketpp ];
25 dontWrapQtApps = true;
28 mkdir $out/lib $out/share
29 mv $out/obs-plugins/64bit $out/lib/obs-plugins
30 rm -rf $out/obs-plugins
31 mv $out/data $out/share/obs
35 description = "Legacy websocket 4.9.1 protocol support for OBS Studio 28 or above";
36 homepage = "https://github.com/obsproject/obs-websocket";
37 maintainers = with maintainers; [ flexiondotorg ];
38 license = licenses.gpl2Plus;
39 platforms = [ "x86_64-linux" "i686-linux" ];