depot/third_party/nixpkgs/pkgs/applications/video/obs-studio/plugins/obs-transition-table.nix

47 lines
893 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
obs-studio,
qtbase,
}:
stdenv.mkDerivation rec {
pname = "obs-transition-table";
version = "0.2.7";
src = fetchFromGitHub {
owner = "exeldro";
repo = "obs-transition-table";
rev = version;
sha256 = "sha256-rGF7hugC5ybpZBAIIXDiy3YDooMawf/yYX2YucQm2/U=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
obs-studio
qtbase
];
cmakeFlags = [
"-DBUILD_OUT_OF_TREE=On"
];
dontWrapQtApps = true;
postInstall = ''
rm -rf $out/obs-plugins $out/data
'';
meta = with lib; {
description = "Plugin for OBS Studio to add a Transition Table to the tools menu";
homepage = "https://github.com/exeldro/obs-transition-table";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
};
}