obs-studio-plugins.obs-source-switcher: refactor

This commit is contained in:
emaryn
2025-02-22 23:18:17 +08:00
parent f2acf15f1d
commit a5baed85f2

View File

@@ -6,7 +6,7 @@
obs-studio,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "obs-source-switcher";
version = "0.4.1";
@@ -14,25 +14,24 @@ stdenv.mkDerivation rec {
owner = "exeldro";
repo = "obs-source-switcher";
rev = "8babf207d140e52114b6db63d98749d7a0a2758b";
sha256 = "sha256-J/NdIGsSXCtSOGF72pJZqqN5Y73eJfrA72LgZcTlP5o=";
hash = "sha256-J/NdIGsSXCtSOGF72pJZqqN5Y73eJfrA72LgZcTlP5o=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ obs-studio ];
cmakeFlags = [
"-DBUILD_OUT_OF_TREE=On"
];
cmakeFlags = [ "-DBUILD_OUT_OF_TREE=On" ];
postInstall = ''
rm -rf $out/obs-plugins $out/data
'';
meta = with lib; {
meta = {
description = "Plugin for OBS Studio to switch between a list of sources";
homepage = "https://github.com/exeldro/obs-source-switcher";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
maintainers = with lib.maintainers; [ flexiondotorg ];
license = lib.licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"