nixpkgs/pkgs/applications/video/obs-studio/plugins/obs-nvfbc.nix
2021-12-09 03:27:44 +00:00

25 lines
637 B
Nix

{ stdenv, lib, fetchFromGitLab, meson, ninja, pkg-config
, obs-studio, libGL, libX11
}:
stdenv.mkDerivation rec {
pname = "obs-nvfbc";
version = "0.0.4";
src = fetchFromGitLab {
owner = "fzwoch";
repo = "obs-nvfbc";
rev = "v${version}";
sha256 = "sha256-U/zma1BrOTRAJAYMOcmaeL0UqF3ihysDwceyeW1r0b8=";
};
nativeBuildInputs = [ meson pkg-config ninja ];
buildInputs = [ obs-studio libGL libX11 ];
meta = with lib; {
description = "OBS Studio source plugin for NVIDIA FBC API";
license = licenses.gpl2Only;
maintainers = with maintainers; [ babbaj ];
platforms = [ "x86_64-linux" ];
};
}