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

47 lines
1.0 KiB
Nix
Raw Normal View History

{ antlr3_4
, bctoolbox
, cmake
, fetchFromGitLab
, libantlr3c
, mbedtls
, stdenv
, zlib
2016-09-06 09:07:52 +01:00
}:
2015-04-07 02:08:42 +01:00
2016-09-06 09:07:52 +01:00
stdenv.mkDerivation rec {
pname = "belle-sip";
version = "4.4.21";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = version;
sha256 = "0ylv1jsqnfhw23i6p3lfqqzw48lwii8zwkq3y34q0hhnngn26iiw";
2015-04-07 02:08:42 +01:00
};
nativeBuildInputs = [ antlr3_4 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
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
2019-10-30 01:29:30 +00:00
NIX_CFLAGS_COMPILE = toString [
2019-01-11 06:48:36 +00:00
"-Wno-error=deprecated-declarations"
"-Wno-error=format-truncation"
"-Wno-error=cast-function-type"
];
2015-04-07 02:08:42 +01:00
propagatedBuildInputs = [ libantlr3c mbedtls bctoolbox ];
2015-04-07 02:08:42 +01: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";
license = licenses.gpl3Plus;
2015-04-07 02:08:42 +01:00
platforms = platforms.all;
maintainers = with maintainers; [ jluttine ];
2015-04-07 02:08:42 +01:00
};
}