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

48 lines
1.0 KiB
Nix
Raw Normal View History

{ antlr3_4
, bctoolbox
, cmake
, fetchFromGitLab
2021-03-18 23:06:05 -07:00
, lib
, libantlr3c
, mbedtls
2021-03-18 23:06:05 -07:00
, stdenv
, zlib
2016-09-06 01:07:52 -07:00
}:
2015-04-06 18:08:42 -07:00
2016-09-06 01:07:52 -07:00
stdenv.mkDerivation rec {
pname = "belle-sip";
2021-05-13 07:52:54 -07:00
version = "4.5.14";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = version;
2021-05-13 07:52:54 -07:00
sha256 = "sha256-L6dhgBJrzYgBuMNd2eMZJCqB/GIZjKipfn1SffxBFWw=";
2015-04-06 18:08:42 -07:00
};
nativeBuildInputs = [ antlr3_4 cmake ];
2015-04-06 18:08:42 -07:00
2016-09-06 01:07:52 -07:00
buildInputs = [ zlib ];
2015-04-06 18:08:42 -07:00
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
2019-10-29 18:29:30 -07:00
NIX_CFLAGS_COMPILE = toString [
2019-01-10 22:48:36 -08:00
"-Wno-error=deprecated-declarations"
"-Wno-error=format-truncation"
"-Wno-error=cast-function-type"
];
2015-04-06 18:08:42 -07:00
propagatedBuildInputs = [ libantlr3c mbedtls bctoolbox ];
2015-04-06 18:08:42 -07:00
meta = with 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-06 18:08:42 -07:00
platforms = platforms.all;
maintainers = with maintainers; [ jluttine ];
2015-04-06 18:08:42 -07:00
};
}