1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/servers/sip/freeswitch/default.nix
Vladimír Čunát 06c6d4696d *: fix builds by disregarding warning from new glibc
Also, in case of collectd, the -lgcc_s shouldn't be needed anymore,
as the library is in ${glibc}/lib/ now, which is practically always on RPATH.

In case of seyren it was some stdenv change uncovering the mistake of
putting src into buildInputs.
2014-11-28 18:42:03 +01:00

25 lines
740 B
Nix

{ 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;
};
}