2020-11-19 00:13:47 +00:00
|
|
|
{ stdenv, fetchFromGitHub, glib, openssl, pkgconfig, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-11-19 00:13:47 +00:00
|
|
|
pname = "sofia-sip";
|
|
|
|
version = "1.13.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-19 00:13:47 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "freeswitch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "01xj30hhm1ji76igkqkn63rw42vvzq3azkr9qz6fy83iwqaybgyn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ glib openssl ];
|
2020-11-19 00:13:47 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification";
|
2020-11-19 00:13:47 +00:00
|
|
|
homepage = "https://github.com/freeswitch/sofia-sip";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|