summary refs log tree commit diff
path: root/pkgs/servers/sip/freeswitch/default.nix
blob: 5b6ff15cb10a84a4f3f1f28fa3c6b2bf81223912 (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
{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline, openssl, perl, libjpeg
, libzrtpcpp }:

stdenv.mkDerivation rec {
  name = "freeswitch-1.2.3";

  src = fetchurl {
    url = http://files.freeswitch.org/freeswitch-1.2.3.tar.bz2;
    sha256 = "0kfvn5f75c6r6yp18almjz9p6llvpm66gpbxcjswrg3ddgbkzg0k";
  };

  buildInputs = [ ncurses curl pkgconfig gnutls readline openssl perl libjpeg
    libzrtpcpp ];

  NIX_CFLAGS_COMPILE = "-Wno-error=cpp";

  meta = {
    description = "Cross-Platform Scalable FREE Multi-Protocol Soft Switch";
    homepage = http://freeswitch.org/;
    license = stdenv.lib.licenses.mpl11;
    maintainers = with stdenv.lib.maintainers; [ viric ];
    platforms = with stdenv.lib.platforms; linux;
  };
}