summary refs log tree commit diff
path: root/pkgs/development/libraries/sofia-sip
diff options
context:
space:
mode:
authormisuzu <bakalolka@gmail.com>2021-05-10 16:04:03 +0300
committermisuzu <bakalolka@gmail.com>2021-05-10 16:04:03 +0300
commit91be397a437fe84832330f94e916cf81656c171c (patch)
tree50310c3ce5dfc5cc2239bc1006ad3ffda53c18cc /pkgs/development/libraries/sofia-sip
parent63586475587d7e0e078291ad4b49b6f6a6885100 (diff)
downloadnixpkgs-91be397a437fe84832330f94e916cf81656c171c.tar
nixpkgs-91be397a437fe84832330f94e916cf81656c171c.tar.gz
nixpkgs-91be397a437fe84832330f94e916cf81656c171c.tar.bz2
nixpkgs-91be397a437fe84832330f94e916cf81656c171c.tar.lz
nixpkgs-91be397a437fe84832330f94e916cf81656c171c.tar.xz
nixpkgs-91be397a437fe84832330f94e916cf81656c171c.tar.zst
nixpkgs-91be397a437fe84832330f94e916cf81656c171c.zip
sofia_sip: fix darwin build
Diffstat (limited to 'pkgs/development/libraries/sofia-sip')
-rw-r--r--pkgs/development/libraries/sofia-sip/default.nix6
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 593bd87a982..c9db54fd59c 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;
   };
 }