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

38 lines
965 B
Nix
Raw Normal View History

{ stdenv, antlr3_4, libantlr3c, jre, mbedtls, 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 {
pname = "belle-sip";
2018-02-10 06:19:08 +01:00
version = "1.6.3";
2016-09-06 10:07:52 +02:00
src = fetchFromGitHub {
owner = "BelledonneCommunications";
repo = pname;
2019-09-09 01:38:31 +02:00
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
2019-01-11 07:48:36 +01:00
NIX_CFLAGS_COMPILE = [
"-Wno-error=deprecated-declarations"
"-Wno-error=format-truncation"
"-Wno-error=cast-function-type"
];
2015-04-07 03:08:42 +02:00
propagatedBuildInputs = [ antlr3_4 libantlr3c mbedtls bctoolbox ];
2015-04-07 03:08:42 +02:00
2019-01-11 07:48:36 +01:00
# Fails to build with lots of parallel jobs
enableParallelBuilding = false;
2015-04-07 03:08:42 +02:00
meta = with stdenv.lib; {
homepage = https://linphone.org/technical-corner/belle-sip;
description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
2015-04-07 03:08:42 +02:00
license = licenses.gpl2;
platforms = platforms.all;
};
}