2012-09-26 22:34:55 +02:00
|
|
|
{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline, openssl, perl, libjpeg
|
2015-08-27 11:54:27 +02:00
|
|
|
, libzrtpcpp, gcc48 }:
|
2011-01-21 23:12:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-09-26 22:34:55 +02:00
|
|
|
name = "freeswitch-1.2.3";
|
2011-01-21 23:12:34 +01:00
|
|
|
|
2012-09-26 22:34:55 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://files.freeswitch.org/freeswitch-1.2.3.tar.bz2;
|
|
|
|
sha256 = "0kfvn5f75c6r6yp18almjz9p6llvpm66gpbxcjswrg3ddgbkzg0k";
|
2011-01-21 23:12:34 +01:00
|
|
|
};
|
|
|
|
|
2012-07-02 22:17:38 +02:00
|
|
|
buildInputs = [ ncurses curl pkgconfig gnutls readline openssl perl libjpeg
|
2015-08-27 11:54:27 +02:00
|
|
|
libzrtpcpp gcc48 ];
|
2011-01-21 23:12:34 +01:00
|
|
|
|
2014-11-28 18:40:19 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
|
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 02:38:14 +01:00
|
|
|
|
2011-01-21 23:12:34 +01:00
|
|
|
meta = {
|
|
|
|
description = "Cross-Platform Scalable FREE Multi-Protocol Soft Switch";
|
|
|
|
homepage = http://freeswitch.org/;
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.mpl11;
|
2011-01-21 23:12:34 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|