mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
freeswitch: build on darwin
- relax platform requirement - include required apple framework
This commit is contained in:
parent
189fbae95b
commit
5234948642
@ -1,6 +1,9 @@
|
|||||||
{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline
|
{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline
|
||||||
, openssl, perl, sqlite, libjpeg, speex, pcre
|
, openssl, perl, sqlite, libjpeg, speex, pcre
|
||||||
, ldns, libedit, yasm, which, lua, libopus, libsndfile }:
|
, ldns, libedit, yasm, which, lua, libopus, libsndfile
|
||||||
|
|
||||||
|
, SystemConfiguration
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "freeswitch-1.6.20";
|
name = "freeswitch-1.6.20";
|
||||||
@ -20,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
openssl ncurses curl gnutls readline perl libjpeg
|
openssl ncurses curl gnutls readline perl libjpeg
|
||||||
sqlite pcre speex ldns libedit yasm which lua libopus
|
sqlite pcre speex ldns libedit yasm which lua libopus
|
||||||
libsndfile
|
libsndfile
|
||||||
];
|
] ++ stdenv.lib.optionals stdenv.isDarwin [ SystemConfiguration ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||||
|
|
||||||
@ -31,6 +34,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = https://freeswitch.org/;
|
homepage = https://freeswitch.org/;
|
||||||
license = stdenv.lib.licenses.mpl11;
|
license = stdenv.lib.licenses.mpl11;
|
||||||
maintainers = with stdenv.lib.maintainers; [ ];
|
maintainers = with stdenv.lib.maintainers; [ ];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -13435,6 +13435,7 @@ in
|
|||||||
|
|
||||||
freeswitch = callPackage ../servers/sip/freeswitch {
|
freeswitch = callPackage ../servers/sip/freeswitch {
|
||||||
openssl = openssl_1_0_2;
|
openssl = openssl_1_0_2;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||||
};
|
};
|
||||||
|
|
||||||
fusionInventory = callPackage ../servers/monitoring/fusion-inventory { };
|
fusionInventory = callPackage ../servers/monitoring/fusion-inventory { };
|
||||||
|
Loading…
Reference in New Issue
Block a user