mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
32 lines
866 B
Nix
32 lines
866 B
Nix
{ lib, stdenv, fetchFromGitHub, obs-studio, cmake, qtbase }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "obs-multi-rtmp";
|
|
version = "0.2.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sorayuki";
|
|
repo = "obs-multi-rtmp";
|
|
rev = version;
|
|
sha256 = "sha256-OhatuSlDJ2VDNorM4QfoKPYKyv5YpN8EnIelLdBTlZ0=";
|
|
};
|
|
|
|
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" ];
|
|
};
|
|
}
|