sofia_sip: fix darwin build

This commit is contained in:
misuzu
2021-05-10 16:04:03 +03:00
parent 6358647558
commit 91be397a43
2 changed files with 6 additions and 4 deletions
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, glib, openssl, pkg-config, autoreconfHook }:
{ lib, stdenv, fetchFromGitHub, glib, openssl, pkg-config, autoreconfHook, SystemConfiguration }:
stdenv.mkDerivation rec {
pname = "sofia-sip";
@@ -11,13 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-qMgZpLo/BHGJbJ0DDN8COHAhU3ujWgVK9oZOnnMwKas=";
};
buildInputs = [ glib openssl ];
buildInputs = [ glib openssl ] ++ lib.optional stdenv.isDarwin SystemConfiguration;
nativeBuildInputs = [ autoreconfHook pkg-config ];
meta = with lib; {
description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification";
homepage = "https://github.com/freeswitch/sofia-sip";
platforms = platforms.linux;
platforms = platforms.unix;
license = licenses.lgpl2;
};
}