summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/jami/daemon.nix
blob: 131ca7b913c06069cf1cd4cde3c6e589b9b8e01b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{ src
, version
, jami-meta
, stdenv
, autoreconfHook
, pkg-config
, perl # for pod2man
, alsa-lib
, asio
, dbus
, dbus_cplusplus
, ffmpeg-jami
, fmt
, gmp
, gnutls
, http-parser
, jack
, jsoncpp
, libarchive
, libgit2
, libnatpmp
, libpulseaudio
, libupnp
, libyamlcpp
, msgpack
, opendht-jami
, openssl
, pjsip-jami
, restinio
, secp256k1
, speex
, udev
, webrtc-audio-processing
, zlib
}:

stdenv.mkDerivation {
  pname = "jami-daemon";
  inherit src version;
  sourceRoot = "source/daemon";

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
    perl
  ];

  buildInputs = [
    alsa-lib
    asio
    dbus
    dbus_cplusplus
    fmt
    ffmpeg-jami
    gmp
    gnutls
    http-parser
    jack
    jsoncpp
    libarchive
    libgit2
    libnatpmp
    libpulseaudio
    libupnp
    libyamlcpp
    msgpack
    opendht-jami
    openssl
    pjsip-jami
    restinio
    secp256k1
    speex
    udev
    webrtc-audio-processing
    zlib
  ];

  doCheck = false; # The tests fail to compile due to missing headers.

  enableParallelBuilding = true;

  passthru = {
    updateScript = ./update.sh;
  };

  meta = jami-meta // {
    description = "The daemon" + jami-meta.description;
  };
}