diff options
author | misuzu <bakalolka@gmail.com> | 2021-05-10 16:04:03 +0300 |
---|---|---|
committer | misuzu <bakalolka@gmail.com> | 2021-05-10 16:04:03 +0300 |
commit | 91be397a437fe84832330f94e916cf81656c171c (patch) | |
tree | 50310c3ce5dfc5cc2239bc1006ad3ffda53c18cc /pkgs/development/libraries/sofia-sip | |
parent | 63586475587d7e0e078291ad4b49b6f6a6885100 (diff) |
sofia_sip: fix darwin build
Diffstat (limited to 'pkgs/development/libraries/sofia-sip')
-rw-r--r-- | pkgs/development/libraries/sofia-sip/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/sofia-sip/default.nix b/pkgs/development/libraries/sofia-sip/default.nix index 593bd87a98295..c9db54fd59c46 100644 --- a/pkgs/development/libraries/sofia-sip/default.nix +++ b/pkgs/development/libraries/sofia-sip/default.nix @@ -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; }; } |