biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / video / obs-studio / plugins / looking-glass-obs.nix
blobb581dc440222751d70a72a3d76ede02862dcb35c
1 { lib, stdenv, cmake, libbfd, SDL2, obs-studio
2 , looking-glass-client }:
4 stdenv.mkDerivation {
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";
17   installPhase = ''
18     mkdir -p $out/lib/obs-plugins/
19     mv liblooking-glass-obs.so $out/lib/obs-plugins/
20   '';
22   meta = with lib; {
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" ];
28   };