06c6d4696d
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.
24 lines
740 B
Nix
24 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;
|
|
};
|
|
}
|