2021-05-10 15:04:03 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, glib, openssl, pkg-config, autoreconfHook, SystemConfiguration }:
|
2012-03-29 18:33:32 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-03 03:46:35 +02:00
|
|
|
pname = "sofia-sip";
|
2021-03-09 18:10:40 +01:00
|
|
|
version = "1.13.3";
|
2012-03-29 18:33:32 +02:00
|
|
|
|
2020-09-03 03:46:35 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "freeswitch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-09 18:10:40 +01:00
|
|
|
sha256 = "sha256-qMgZpLo/BHGJbJ0DDN8COHAhU3ujWgVK9oZOnnMwKas=";
|
2012-03-29 18:33:32 +02:00
|
|
|
};
|
|
|
|
|
2021-05-10 15:04:03 +02:00
|
|
|
buildInputs = [ glib openssl ] ++ lib.optional stdenv.isDarwin SystemConfiguration;
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2016-08-02 18:06:29 +02:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2018-10-27 15:29:37 +02:00
|
|
|
description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification";
|
2020-09-03 03:46:35 +02:00
|
|
|
homepage = "https://github.com/freeswitch/sofia-sip";
|
2021-05-10 15:04:03 +02:00
|
|
|
platforms = platforms.unix;
|
2018-10-27 15:29:37 +02:00
|
|
|
license = licenses.lgpl2;
|
2016-08-02 18:06:29 +02:00
|
|
|
};
|
2012-03-29 18:33:32 +02:00
|
|
|
}
|