2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, antlr3_4, libantlr3c, jre, polarssl, fetchFromGitHub
|
2016-09-06 08:07:52 +00:00
|
|
|
, cmake, zlib, bctoolbox
|
|
|
|
}:
|
2015-04-07 01:08:42 +00:00
|
|
|
|
2016-09-06 08:07:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "belle-sip";
|
2018-02-10 05:19:08 +00:00
|
|
|
version = "1.6.3";
|
2016-09-06 08:07:52 +00:00
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BelledonneCommunications";
|
|
|
|
repo = "${baseName}";
|
|
|
|
rev = "${version}";
|
2018-02-10 05:19:08 +00:00
|
|
|
sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk";
|
2015-04-07 01:08:42 +00:00
|
|
|
};
|
|
|
|
|
2016-09-06 08:07:52 +00:00
|
|
|
nativeBuildInputs = [ jre cmake ];
|
2015-04-07 01:08:42 +00:00
|
|
|
|
2016-09-06 08:07:52 +00:00
|
|
|
buildInputs = [ zlib ];
|
2015-04-07 01:08:42 +00:00
|
|
|
|
2016-09-06 08:07:52 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
2015-04-07 01:08:42 +00:00
|
|
|
|
2016-09-06 08:07:52 +00:00
|
|
|
propagatedBuildInputs = [ antlr3_4 libantlr3c polarssl bctoolbox ];
|
2015-04-07 01:08:42 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-polarssl=${polarssl}"
|
|
|
|
];
|
|
|
|
|
2016-09-01 08:46:11 +00:00
|
|
|
enableParallelBuilding = true;
|
2015-04-07 01:08:42 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.linphone.org/index.php/eng;
|
|
|
|
description = "A Voice-over-IP phone";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|