about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/linphone/default.nix
blob: 8882a4388b05fb6fdf8ded52a608c2c6cb9e5c66 (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
{ stdenv, fetchurl, intltool, pkgconfig, gtk, libglade, libosip, libexosip
, speex, readline, mediastreamer }:
        
stdenv.mkDerivation rec {
  name = "linphone-3.5.0";

  src = fetchurl {
    url = "mirror://savannah/linphone/3.5.x/sources/${name}.tar.gz";
    sha256 = "1jrgsyx2mn6y50hjfx79fzqhp42r78cjr63w3bfjdl258zy2f6ix";
  };

  buildInputs = [ gtk libglade libosip libexosip readline mediastreamer speex ];

  nativeBuildInputs = [ intltool pkgconfig ];

  configureFlags = "--enable-external-ortp --enable-external-mediastreamer";

  meta = {
    homepage = http://www.linphone.org/;
    description = "Open Source video SIP softphone";
    license = "GPLv2+";
    platforms = stdenv.lib.platforms.gnu;
  };
}