1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/servers/sip/freeswitch/default.nix

32 lines
998 B
Nix
Raw Normal View History

2016-08-25 00:23:03 +01:00
{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline
, openssl, perl, sqlite, libjpeg, libzrtpcpp, speex, pcre
, ldns, libedit, yasm, which, lua, libopus, libsndfile }:
stdenv.mkDerivation rec {
2016-08-25 00:23:03 +01:00
name = "freeswitch-1.6.9";
src = fetchurl {
2016-08-25 00:23:03 +01:00
url = "http://files.freeswitch.org/freeswitch-releases/${name}.tar.bz2";
sha256 = "0g0x4m8rb2ybpxwrszb4w37rb10v9fbszm7l2skjakf4dx0gw5i7";
};
2016-09-03 11:49:59 +01:00
postPatch = "patchShebangs libs/libvpx/build/make/rtcd.pl";
2016-08-25 00:23:03 +01:00
buildInputs = [
ncurses curl pkgconfig gnutls readline openssl perl libjpeg
sqlite libzrtpcpp pcre speex ldns libedit yasm which lua libopus
libsndfile
];
2016-03-29 11:58:19 +01: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 = http://freeswitch.org/;
license = stdenv.lib.licenses.mpl11;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
}