Unverified Commit 5dfc49b9 authored by Tristan Ross's avatar Tristan Ross
Browse files

obs-studio-plugins.obs-nvfb: remove due to glx removal

As stated on the README for obs-nvfb, OBS Studio v28 removed GLX
support. As we're on version 31.0.4, it's time we remove obs-nvfb. It
has not been maintained in 3 years and it looks like GLX support in OBS
Studio will not be coming back.
parent 5beff2e7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -64,8 +64,6 @@

  obs-noise = callPackage ./obs-noise.nix { };

  obs-nvfbc = callPackage ./obs-nvfbc.nix { };

  obs-pipewire-audio-capture = callPackage ./obs-pipewire-audio-capture.nix { };

  obs-recursion-effect = callPackage ./obs-recursion-effect.nix { };
+0 −43
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  fetchFromGitLab,
  meson,
  ninja,
  pkg-config,
  obs-studio,
  libGL,
  libX11,
}:

stdenv.mkDerivation rec {
  pname = "obs-nvfbc";
  version = "0.0.7";

  src = fetchFromGitLab {
    owner = "fzwoch";
    repo = "obs-nvfbc";
    rev = "v${version}";
    hash = "sha256-AJ3K0O1vrixskn+/Tpg7LsgRO8N4sgDo1Y6gg3CwGVo=";
  };

  nativeBuildInputs = [
    meson
    pkg-config
    ninja
  ];
  buildInputs = [
    obs-studio
    libGL
    libX11
  ];

  meta = with lib; {
    description = "OBS Studio source plugin for NVIDIA FBC API";
    homepage = "https://gitlab.com/fzwoch/obs-nvfbc";
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ babbaj ];
    platforms = [ "x86_64-linux" ];
    broken = true;
  };
}