2021-04-12 18:23:04 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, obs-studio, cmake, qtbase }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "obs-multi-rtmp";
|
2021-08-10 14:31:46 +00:00
|
|
|
version = "0.2.6.1";
|
2021-04-12 18:23:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sorayuki";
|
|
|
|
repo = "obs-multi-rtmp";
|
|
|
|
rev = version;
|
2021-08-10 14:31:46 +00:00
|
|
|
sha256 = "sha256-ZcvmiE9gbDUHAO36QAIaUdjV14ZfPabD9CW7Ogeqdro=";
|
2021-04-12 18:23:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ obs-studio qtbase ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DLIBOBS_INCLUDE_DIR=${obs-studio}/include/obs"
|
|
|
|
];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/sorayuki/obs-multi-rtmp/";
|
|
|
|
changelog = "https://github.com/sorayuki/obs-multi-rtmp/releases/tag/${version}";
|
|
|
|
description = "Multi-site simultaneous broadcast plugin for OBS Studio";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ jk ];
|
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
|
|
|
};
|
|
|
|
}
|