sofia_sip: fix darwin build
This commit is contained in:
parent
6358647558
commit
91be397a43
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, glib, openssl, pkg-config, autoreconfHook }:
|
{ lib, stdenv, fetchFromGitHub, glib, openssl, pkg-config, autoreconfHook, SystemConfiguration }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sofia-sip";
|
pname = "sofia-sip";
|
||||||
@ -11,13 +11,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-qMgZpLo/BHGJbJ0DDN8COHAhU3ujWgVK9oZOnnMwKas=";
|
sha256 = "sha256-qMgZpLo/BHGJbJ0DDN8COHAhU3ujWgVK9oZOnnMwKas=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glib openssl ];
|
buildInputs = [ glib openssl ] ++ lib.optional stdenv.isDarwin SystemConfiguration;
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification";
|
description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification";
|
||||||
homepage = "https://github.com/freeswitch/sofia-sip";
|
homepage = "https://github.com/freeswitch/sofia-sip";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
license = licenses.lgpl2;
|
license = licenses.lgpl2;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -17593,7 +17593,9 @@ in
|
|||||||
|
|
||||||
socket_wrapper = callPackage ../development/libraries/socket_wrapper { };
|
socket_wrapper = callPackage ../development/libraries/socket_wrapper { };
|
||||||
|
|
||||||
sofia_sip = callPackage ../development/libraries/sofia-sip { };
|
sofia_sip = callPackage ../development/libraries/sofia-sip {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||||
|
};
|
||||||
|
|
||||||
soil = callPackage ../development/libraries/soil {
|
soil = callPackage ../development/libraries/soil {
|
||||||
inherit (darwin.apple_sdk.frameworks) Carbon;
|
inherit (darwin.apple_sdk.frameworks) Carbon;
|
||||||
|
Loading…
Reference in New Issue
Block a user