blob: 85606e05f0c1a4a4e320607301eb095c2612ee1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, obs-studio, libGL
, qtbase, flatbuffers }:
stdenv.mkDerivation rec {
pname = "obs-hyperion";
version = "1.0.2";
src = fetchFromGitHub {
owner = "hyperion-project";
repo = "hyperion-obs-plugin";
rev = version;
sha256 = "sha256-UAfjafoZhhhHRSo+eUBLhHaCmn2GYFcYyRb9wHIp/9I=";
};
nativeBuildInputs = [ cmake flatbuffers pkg-config ];
buildInputs = [ obs-studio flatbuffers libGL qtbase ];
dontWrapQtApps = true;
cmakeFlags = [
"-DOBS_SOURCE=${obs-studio.src}"
"-DGLOBAL_INSTALLATION=ON"
"-DUSE_SYSTEM_FLATBUFFERS_LIBS=ON"
];
preConfigure = ''
rm -rf external/flatbuffers
'';
meta = with lib; {
description = "OBS Studio plugin to connect to a Hyperion.ng server";
homepage = "https://github.com/hyperion-project/hyperion-obs-plugin";
license = licenses.mit;
maintainers = with maintainers; [ algram ];
platforms = [ "x86_64-linux" ];
};
}
|