depot/third_party/nixpkgs/pkgs/applications/video/obs-studio/plugins/obs-vertical-canvas.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

42 lines
854 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, curl
, obs-studio
, qtbase
}:
stdenv.mkDerivation rec {
pname = "obs-vertical-canvas";
version = "1.4.4";
src = fetchFromGitHub {
owner = "Aitum";
repo = "obs-vertical-canvas";
rev = version;
sha256 = "sha256-RBsdYG73SoX+dB4sUq641SL0ETUFE+PVAmr/DaqMuLI=";
};
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" ];
};
}