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

38 lines
889 B
Nix
Raw Normal View History

2016-09-06 09:07:52 +01:00
{ stdenv, fetchurl, antlr3_4, libantlr3c, jre, polarssl, fetchFromGitHub
, 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";
version = "1.5.0";
name = "${baseName}-${version}";
src = fetchFromGitHub {
owner = "BelledonneCommunications";
repo = "${baseName}";
rev = "${version}";
sha256 = "0hnm64hwgq003wicz6c485fryjfhi820fgin8ndknq60kvwxsrzn";
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}"
];
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;
};
}