2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, curl
|
|
|
|
, obs-studio
|
|
|
|
, qtbase
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "obs-vertical-canvas";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "1.2.5";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Aitum";
|
|
|
|
repo = "obs-vertical-canvas";
|
|
|
|
rev = version;
|
2023-08-04 22:07:22 +00:00
|
|
|
sha256 = "sha256-6I73YukhqOLsqVimTfVKYG6LzIYoJRnMaxkPhEAinfQ=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ curl obs-studio qtbase ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DBUILD_OUT_OF_TREE=On"
|
|
|
|
];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
rm -rf $out/data
|
|
|
|
rm -rf $out/obs-plugins
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Plugin for OBS Studio to add vertical canvas";
|
|
|
|
homepage = "https://github.com/Aitum/obs-vertical-canvas";
|
|
|
|
maintainers = with maintainers; [ flexiondotorg ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
|
|
|
};
|
|
|
|
}
|