1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

obs-websocket: init at 4.9.0

This commit is contained in:
Alexandre Iooss 2021-04-10 18:50:47 +02:00
parent 7eedec57e8
commit 9e3118de6b
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02

View file

@ -0,0 +1,39 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, qtbase
, obs-studio
, asio_1_10
, websocketpp
}:
stdenv.mkDerivation rec {
pname = "obs-websocket";
version = "4.9.0";
src = fetchFromGitHub {
owner = "Palakis";
repo = "obs-websocket";
rev = version;
sha256 = "1dxih5czcfs1vczbq48784jvmgs8awbsrwk8mdfi4pg8n577cr1w";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase obs-studio asio_1_10 websocketpp ];
dontWrapQtApps = true;
cmakeFlags = [
"-DLIBOBS_INCLUDE_DIR=${obs-studio.src}/libobs"
];
meta = with lib; {
description = "Remote-control OBS Studio through WebSockets";
homepage = "https://github.com/Palakis/obs-websocket";
maintainers = with maintainers; [ erdnaxe ];
license = licenses.gpl2Plus;
platforms = [ "x86_64-linux" "i686-linux" ];
};
}