nixpkgs/pkgs/servers/sip/freeswitch/default.nix

32 lines
977 B
Nix
Raw Normal View History

2016-08-24 23:23:03 +00:00
{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline
2017-02-14 08:43:33 +00:00
, openssl, perl, sqlite, libjpeg, speex, pcre
2016-08-24 23:23:03 +00:00
, ldns, libedit, yasm, which, lua, libopus, libsndfile }:
stdenv.mkDerivation rec {
2017-02-14 08:43:33 +00:00
name = "freeswitch-1.6.15";
src = fetchurl {
2016-08-24 23:23:03 +00:00
url = "http://files.freeswitch.org/freeswitch-releases/${name}.tar.bz2";
2017-02-14 08:43:33 +00:00
sha256 = "071g7229shr9srwzspx29fcx3ccj3rwakkydpc4vdf1q3lldd2ld";
};
2016-09-03 10:49:59 +00:00
postPatch = "patchShebangs libs/libvpx/build/make/rtcd.pl";
2016-08-24 23:23:03 +00:00
buildInputs = [
2017-02-14 08:43:33 +00:00
openssl ncurses curl pkgconfig gnutls readline perl libjpeg
sqlite pcre speex ldns libedit yasm which lua libopus
2016-08-24 23:23:03 +00:00
libsndfile
];
2016-03-29 10:58:19 +00:00
NIX_CFLAGS_COMPILE = "-Wno-error";
hardeningDisable = [ "format" ];
2016-02-11 01:38:14 +00:00
meta = {
description = "Cross-Platform Scalable FREE Multi-Protocol Soft Switch";
homepage = https://freeswitch.org/;
license = stdenv.lib.licenses.mpl11;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
}