obs-studio-plugins.obs-mute-filter: init at 0.2.2

This commit is contained in:
Martin Wimpress 2023-04-26 15:50:54 +01:00 committed by Cole Helbling
parent adb66130e7
commit fe6d03548f
2 changed files with 38 additions and 0 deletions

View File

@ -30,6 +30,8 @@
obs-multi-rtmp = qt6Packages.callPackage ./obs-multi-rtmp { };
obs-mute-filter = callPackage ./obs-mute-filter.nix { };
obs-ndi = qt6Packages.callPackage ./obs-ndi { };
obs-nvfbc = callPackage ./obs-nvfbc.nix { };

View File

@ -0,0 +1,36 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, obs-studio
}:
stdenv.mkDerivation rec {
pname = "obs-mute-filter";
version = "0.2.2";
src = fetchFromGitHub {
owner = "norihiro";
repo = "obs-mute-filter";
rev = version;
sha256 = "sha256-SiutSmp+DnzMU62kxtBUL0xgMXTe0k+nKwSU3wQe4+g=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ obs-studio ];
postInstall = ''
mkdir $out/lib $out/share
mv $out/obs-plugins/64bit $out/lib/obs-plugins
rm -rf $out/obs-plugins
mv $out/data $out/share/obs
'';
meta = with lib; {
description = "OBS Studio plugin to mute audio of a source";
homepage = "https://github.com/norihiro/obs-mute-filter";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [ "x86_64-linux" "i686-linux" ];
};
}