2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, antlr3_4, libantlr3c, jre, polarssl, fetchFromGitHub
|
2016-09-06 09:07:52 +01:00
|
|
|
, cmake, zlib, bctoolbox
|
|
|
|
}:
|
2015-04-07 02:08:42 +01:00
|
|
|
|
2016-09-06 09:07:52 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "belle-sip";
|
2018-02-10 05:19:08 +00:00
|
|
|
version = "1.6.3";
|
2016-09-06 09:07:52 +01: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 02:08:42 +01:00
|
|
|
};
|
|
|
|
|
2016-09-06 09:07:52 +01:00
|
|
|
nativeBuildInputs = [ jre cmake ];
|
2015-04-07 02:08:42 +01:00
|
|
|
|
2016-09-06 09:07:52 +01:00
|
|
|
buildInputs = [ zlib ];
|
2015-04-07 02:08:42 +01:00
|
|
|
|
2016-09-06 09:07:52 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
2015-04-07 02:08:42 +01:00
|
|
|
|
2016-09-06 09:07:52 +01:00
|
|
|
propagatedBuildInputs = [ antlr3_4 libantlr3c polarssl bctoolbox ];
|
2015-04-07 02:08:42 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-polarssl=${polarssl}"
|
|
|
|
];
|
|
|
|
|
2016-09-01 09:46:11 +01:00
|
|
|
enableParallelBuilding = true;
|
2015-04-07 02:08:42 +01: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;
|
|
|
|
};
|
|
|
|
}
|