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