1 { lib, stdenv, cmake, libbfd, SDL2, obs-studio
2 , looking-glass-client }:
5 pname = "looking-glass-obs";
6 version = looking-glass-client.version;
8 src = looking-glass-client.src;
10 sourceRoot = "${looking-glass-client.src.name}/obs";
12 nativeBuildInputs = [ cmake ];
13 buildInputs = [ obs-studio libbfd SDL2 ];
15 env.NIX_CFLAGS_COMPILE = "-mavx";
18 mkdir -p $out/lib/obs-plugins/
19 mv liblooking-glass-obs.so $out/lib/obs-plugins/
23 description = "Plugin for OBS Studio for efficient capturing of looking-glass";
24 homepage = "https://looking-glass.io/docs/stable/obs/";
25 license = licenses.gpl2Plus;
26 maintainers = with maintainers; [ babbaj ];
27 platforms = [ "x86_64-linux" ];