1
0
Fork 0

janus-gateway: init at 0.10.10

master
Andreas Wiese 2021-03-13 21:41:47 +01:00
parent 0045ea5d02
commit d5c57bb2b6
3 changed files with 82 additions and 0 deletions

View File

@ -5,6 +5,8 @@ let
in rec {
janus-gateway = callPackage ./pkgs/janus-gateway { inherit usrsctp; };
usrsctp = callPackage ./pkgs/usrsctp { };
}

View File

@ -28,6 +28,7 @@
let localPkgs = import ./. { pkgs = next; };
in {
inherit (localPkgs)
janus-gateway
usrsctp
;
};

View File

@ -0,0 +1,79 @@
{ stdenv, lib, fetchFromGitHub
, jansson
, libconfig
, libnice
, openssl
, srtp
, usrsctp
, libmicrohttpd
, libwebsockets
, gnumake
#, cmake
, rabbitmq-c
#, paho-mqtt-c
, nanomsg
, curl
, sofia_sip
, libopus
, libogg
, lua
, glib
, zlib
, pkgconfig
, gengetopt
, autoconf
, automake
, libtool
, libuv
}:
stdenv.mkDerivation rec {
pname = "janus-gateway";
version = "0.10.10";
src = fetchFromGitHub {
owner = "meetecho";
repo = pname;
rev = "v${version}";
sha256 = "sha256-aMyae2jpP4ipgRl5Mp2m0v2M4PQtss3EeAil/MWfYrs=";
};
nativeBuildInputs = [
jansson
libconfig
libnice
openssl
srtp
usrsctp
libmicrohttpd
libwebsockets
gnumake
#cmake
rabbitmq-c
#paho-mqtt-c
nanomsg
curl
sofia_sip
libopus
libogg
lua
glib
zlib
pkgconfig
gengetopt
libuv
autoconf
automake
libtool
];
preConfigure = "./autogen.sh";
meta = with lib; {
description = "Janus WebRTC server";
homepage = src.meta.homepage;
license = licenses.gpl3;
maintainers = with maintainers; [ aw ];
};
}