nixpkgs/pkgs/development/libraries/belle-sip/default.nix

38 lines
879 B
Nix
Raw Normal View History

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