1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 cmake,
6 obs-studio,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "obs-replay-source";
11 version = "1.8.1";
12
13 src = fetchFromGitHub {
14 owner = "exeldro";
15 repo = "obs-replay-source";
16 rev = version;
17 sha256 = "sha256-+PSALDqHXPyR0J7YnLn3QgPN6eIoH3yTIm1Bp7Li8c8=";
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 = "Replay source for OBS studio";
29 homepage = "https://github.com/exeldro/obs-replay-source";
30 license = licenses.gpl2Only;
31 platforms = platforms.linux;
32 maintainers = with maintainers; [
33 flexiondotorg
34 pschmitt
35 ];
36 };
37}