2021-08-05 21:33:18 +00:00
|
|
|
{ stdenv, lib, fetchFromGitLab, meson, ninja, pkg-config
|
|
|
|
, obs-studio, libGL, libX11
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "obs-nvfbc";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "0.0.5";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "fzwoch";
|
|
|
|
repo = "obs-nvfbc";
|
|
|
|
rev = "v${version}";
|
2022-01-03 16:56:52 +00:00
|
|
|
sha256 = "sha256-Si+TGYWpNPtUUFT+M571lCYslPyeYX92MdYV9EGgcyQ=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
}
|