diff --git a/pkgs/applications/networking/instant-messengers/linphone/default.nix b/pkgs/applications/networking/instant-messengers/linphone/default.nix index 781d10cbc4f9..e46151f1c0ec 100644 --- a/pkgs/applications/networking/instant-messengers/linphone/default.nix +++ b/pkgs/applications/networking/instant-messengers/linphone/default.nix @@ -1,20 +1,22 @@ { stdenv, fetchurl, intltool, pkgconfig, readline, openldap, cyrus_sasl, libupnp -, zlib, libxml2, gtk2, libnotify, speex, ffmpeg, libX11, polarssl, libsoup, udev +, zlib, libxml2, gtk2, libnotify, speex, ffmpeg, libX11, libsoup, udev , ortp, mediastreamer, sqlite, belle-sip, libosip, libexosip , mediastreamer-openh264, makeWrapper }: stdenv.mkDerivation rec { - name = "linphone-3.8.5"; + name = "linphone-${version}"; + major = "3.9"; + version = "${major}.1"; src = fetchurl { - url = "mirror://savannah/linphone/3.8.x/sources/${name}.tar.gz"; - sha256 = "10brlbwkk61nhd5v2sim1vfv11xm138l1cqqh3imhs2sigmzzlax"; + url = "mirror://savannah/linphone/${major}.x/sources/${name}.tar.gz"; + sha256 = "1b14gwq36d0sbn1125if9zydll9kliigk19zchbqiy9n2gjymrl4"; }; buildInputs = [ readline openldap cyrus_sasl libupnp zlib libxml2 gtk2 libnotify speex ffmpeg libX11 - polarssl libsoup udev ortp mediastreamer sqlite belle-sip libosip libexosip + libsoup udev ortp mediastreamer sqlite belle-sip libosip libexosip ]; nativeBuildInputs = [ intltool pkgconfig makeWrapper ]; @@ -22,8 +24,6 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-ldap" "--with-ffmpeg=${ffmpeg.dev}" - "--with-polarssl=${polarssl}" - "--enable-lime" "--enable-external-ortp" "--enable-external-mediastreamer" ];