8 stdenv.mkDerivation rec {
9 pname = "obs-command-source";
12 src = fetchFromGitHub {
14 repo = "obs-command-source";
16 sha256 = "sha256-yrzY4pHSupkkdRlx725oSVtQTH1Ci9zFolHN3i2Vm28=";
19 nativeBuildInputs = [ cmake ];
20 buildInputs = [ obs-studio ];
23 mkdir $out/lib $out/share
24 mv $out/obs-plugins/64bit $out/lib/obs-plugins
25 rm -rf $out/obs-plugins
26 mv $out/data $out/share/obs
30 description = "OBS Studio plugin that provides a dummy source to execute arbitrary commands when a scene is switched";
31 homepage = "https://github.com/norihiro/command-source";
32 maintainers = with maintainers; [ flexiondotorg ];
33 license = licenses.gpl2Plus;
34 platforms = [ "x86_64-linux" "i686-linux" ];