1 { lib, stdenv, fetchFromGitHub, glib, openssl, pkg-config, autoreconfHook, SystemConfiguration }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-xF2LFbxGhA/gF7Z2LX3WYq3nXOLi0ARGGR4Dd3PCftk=";
14 buildInputs = [ glib openssl ] ++ lib.optional stdenv.isDarwin SystemConfiguration;
15 nativeBuildInputs = [ autoreconfHook pkg-config ];
18 description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification";
19 homepage = "https://github.com/freeswitch/sofia-sip";
20 platforms = platforms.unix;
21 license = licenses.lgpl2;