Skip to content

Commit 0e33e80

Browse files
authored
janus-gateway: fix build, 1.2.3 -> 1.2.4 (#350103)
2 parents 22198d7 + f3138af commit 0e33e80

File tree

2 files changed

+55
-12
lines changed

2 files changed

+55
-12
lines changed
Lines changed: 55 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
1-
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gengetopt
2-
, glib, libconfig, libnice, jansson, boringssl, zlib, srtp, libuv
3-
, libmicrohttpd, curl, libwebsockets, sofia_sip, libogg, libopus
4-
, usrsctp, ffmpeg
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
autoreconfHook,
6+
pkg-config,
7+
gengetopt,
8+
glib,
9+
libconfig,
10+
libnice,
11+
jansson,
12+
boringssl,
13+
zlib,
14+
srtp,
15+
libuv,
16+
libmicrohttpd,
17+
curl,
18+
libwebsockets,
19+
sofia_sip,
20+
libogg,
21+
libopus,
22+
usrsctp,
23+
ffmpeg,
524
}:
625

726
let
@@ -15,20 +34,38 @@ in
1534

1635
stdenv.mkDerivation rec {
1736
pname = "janus-gateway";
18-
version = "1.2.3";
37+
version = "1.2.4";
1938

2039
src = fetchFromGitHub {
2140
owner = "meetecho";
2241
repo = pname;
2342
rev = "v${version}";
24-
sha256 = "sha256-3o9XxxTlWppq1mFgIUjstUFz6bT44mvBJa4FBgcc4Pc=";
43+
sha256 = "sha256-oUX9PxiNdmrC03p+DAGkxD+mbi2jzuCgwlgd2JZ4Gwo=";
2544
};
2645

27-
nativeBuildInputs = [ autoreconfHook pkg-config gengetopt ];
46+
nativeBuildInputs = [
47+
autoreconfHook
48+
pkg-config
49+
gengetopt
50+
];
2851

2952
buildInputs = [
30-
glib libconfig libnice jansson boringssl zlib srtp libuv libmicrohttpd
31-
curl libwebsockets_janus sofia_sip libogg libopus usrsctp ffmpeg
53+
glib
54+
libconfig
55+
libnice
56+
jansson
57+
boringssl
58+
zlib
59+
srtp
60+
libuv
61+
libmicrohttpd
62+
curl
63+
libwebsockets_janus
64+
sofia_sip
65+
libogg
66+
libopus
67+
usrsctp
68+
ffmpeg
3269
];
3370

3471
enableParallelBuilding = true;
@@ -44,9 +81,17 @@ stdenv.mkDerivation rec {
4481

4582
makeFlags = [
4683
"BORINGSSL_LIBS=-L${lib.getLib boringssl}/lib"
84+
# Linking with CXX because boringssl static libraries depend on C++ stdlib.
85+
# Upstream issue: https://www.github.com/meetecho/janus-gateway/issues/3456
86+
"CCLD=${stdenv.cc.targetPrefix}c++"
4787
];
4888

49-
outputs = [ "out" "dev" "doc" "man" ];
89+
outputs = [
90+
"out"
91+
"dev"
92+
"doc"
93+
"man"
94+
];
5095

5196
postInstall = ''
5297
moveToOutput share/janus "$doc"

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24368,8 +24368,6 @@ with pkgs;
2436824368

2436924369
ircdHybrid = callPackage ../servers/irc/ircd-hybrid { };
2437024370

24371-
janus-gateway = callPackage ../servers/janus-gateway { };
24372-
2437324371
janusgraph = callPackage ../servers/nosql/janusgraph { };
2437424372

2437524373
jboss = callPackage ../servers/http/jboss { };

0 commit comments

Comments
 (0)