mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
09e0cc7cc7
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
32 lines
977 B
Nix
32 lines
977 B
Nix
{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline
|
|
, openssl, perl, sqlite, libjpeg, speex, pcre
|
|
, ldns, libedit, yasm, which, lua, libopus, libsndfile }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "freeswitch-1.6.15";
|
|
|
|
src = fetchurl {
|
|
url = "http://files.freeswitch.org/freeswitch-releases/${name}.tar.bz2";
|
|
sha256 = "071g7229shr9srwzspx29fcx3ccj3rwakkydpc4vdf1q3lldd2ld";
|
|
};
|
|
postPatch = "patchShebangs libs/libvpx/build/make/rtcd.pl";
|
|
|
|
buildInputs = [
|
|
openssl ncurses curl pkgconfig gnutls readline perl libjpeg
|
|
sqlite pcre speex ldns libedit yasm which lua libopus
|
|
libsndfile
|
|
];
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
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;
|
|
};
|
|
}
|