obs-studio-plugins.advanced-scene-switcher: init at 1.20.5

This commit is contained in:
Pavel Sobolev 2023-03-06 22:53:45 +03:00
parent b13286ad02
commit 7ed8c4cbad
No known key found for this signature in database
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,54 @@
{ lib
, stdenv
, fetchFromGitHub
, asio
, cmake
, curl
, obs-studio
, opencv
, procps
, qtbase
, websocketpp
, xorg
}:
stdenv.mkDerivation rec {
pname = "advanced-scene-switcher";
version = "1.20.5";
src = fetchFromGitHub {
owner = "WarmUpTill";
repo = "SceneSwitcher";
rev = version;
sha256 = "04k7f7v756vdsan95g73cc29lrs61jis738v37a3ihi3ivps3ma3";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
asio
curl
obs-studio
opencv
procps
qtbase
websocketpp
xorg.libXScrnSaver
];
dontWrapQtApps = true;
postInstall = ''
mkdir $out/lib $out/share
mv $out/obs-plugins/64bit $out/lib/obs-plugins
mv $out/data $out/share/obs
'';
meta = {
description = "An automated scene switcher for OBS Studio";
homepage = "https://github.com/WarmUpTill/SceneSwitcher";
maintainers = with lib.maintainers; [ paveloom ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
}

View file

@ -6,6 +6,8 @@
# - Add plugin to it's own directory (because of future patches).
{
advanced-scene-switcher = qt6Packages.callPackage ./advanced-scene-switcher { };
droidcam-obs = callPackage ./droidcam-obs { };
input-overlay = qt6Packages.callPackage ./input-overlay.nix { };