2016-08-24 16:23:03 -07:00
|
|
|
{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline
|
|
|
|
, openssl, perl, sqlite, libjpeg, libzrtpcpp, speex, pcre
|
|
|
|
, ldns, libedit, yasm, which, lua, libopus, libsndfile }:
|
2011-01-21 14:12:34 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-08-24 16:23:03 -07:00
|
|
|
name = "freeswitch-1.6.9";
|
2011-01-21 14:12:34 -08:00
|
|
|
|
2012-09-26 13:34:55 -07:00
|
|
|
src = fetchurl {
|
2016-08-24 16:23:03 -07:00
|
|
|
url = "http://files.freeswitch.org/freeswitch-releases/${name}.tar.bz2";
|
|
|
|
sha256 = "0g0x4m8rb2ybpxwrszb4w37rb10v9fbszm7l2skjakf4dx0gw5i7";
|
2011-01-21 14:12:34 -08:00
|
|
|
};
|
|
|
|
|
2016-08-24 16:23:03 -07:00
|
|
|
buildInputs = [
|
|
|
|
ncurses curl pkgconfig gnutls readline openssl perl libjpeg
|
|
|
|
sqlite libzrtpcpp pcre speex ldns libedit yasm which lua libopus
|
|
|
|
libsndfile
|
|
|
|
];
|
2011-01-21 14:12:34 -08:00
|
|
|
|
2016-03-29 03:58:19 -07:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
2014-11-28 09:40:19 -08:00
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-10 17:38:14 -08:00
|
|
|
|
2011-01-21 14:12:34 -08:00
|
|
|
meta = {
|
|
|
|
description = "Cross-Platform Scalable FREE Multi-Protocol Soft Switch";
|
|
|
|
homepage = http://freeswitch.org/;
|
2014-11-05 16:44:33 -08:00
|
|
|
license = stdenv.lib.licenses.mpl11;
|
2011-01-21 14:12:34 -08:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|