Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
1.0 KiB
Nix
53 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
curl,
|
|
obs-studio,
|
|
qtbase,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "obs-vertical-canvas";
|
|
version = "1.4.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Aitum";
|
|
repo = "obs-vertical-canvas";
|
|
rev = version;
|
|
sha256 = "sha256-0XfJ8q8n2ANO0oDtLZhZjRunZ5S1EouQ6Ak/pxEQYOQ=";
|
|
};
|
|
|
|
# Remove after https://github.com/Aitum/obs-vertical-canvas/pull/25 is released :)
|
|
patches = [ ./obs-vertical-canvas.diff ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
curl
|
|
obs-studio
|
|
qtbase
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DBUILD_OUT_OF_TREE=On"
|
|
''-DCMAKE_CXX_FLAGS="-Wno-error=deprecated-declarations"''
|
|
];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
postInstall = ''
|
|
rm -rf $out/data
|
|
rm -rf $out/obs-plugins
|
|
'';
|
|
|
|
meta = {
|
|
description = "Plugin for OBS Studio to add vertical canvas";
|
|
homepage = "https://github.com/Aitum/obs-vertical-canvas";
|
|
maintainers = with lib.maintainers; [ flexiondotorg ];
|
|
license = lib.licenses.gpl2Plus;
|
|
inherit (obs-studio.meta) platforms;
|
|
};
|
|
}
|