lol
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 obs-studio,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "obs-scene-as-transition";
11 version = "1.1.1";
12
13 src = fetchFromGitHub {
14 owner = "andilippi";
15 repo = "obs-scene-as-transition";
16 rev = "v${version}";
17 sha256 = "sha256-qeiJR68MqvhpzvY7yNnR6w77SvavlZTdbnGBWrd7iZM=";
18 };
19
20 nativeBuildInputs = [ cmake ];
21 buildInputs = [ obs-studio ];
22
23 postInstall = ''
24 rm -rf $out/obs-plugins $out/data
25 '';
26
27 meta = with lib; {
28 description = "OBS Studio plugin that will allow you to use a Scene as a transition";
29 homepage = "https://github.com/andilippi/obs-scene-as-transition";
30 maintainers = with maintainers; [ flexiondotorg ];
31 license = licenses.gpl2Plus;
32 inherit (obs-studio.meta) platforms;
33 };
34}