12 stdenv.mkDerivation rec {
14 version = "linphone-4.4.1";
16 src = fetchFromGitLab {
17 domain = "gitlab.linphone.org";
21 rev = "44d5977570280763ee1fecdb920736715bad58a3";
22 sha256 = "sha256-w++v3YlDZfpCHAbUQA/RftjRNGkz9J/zYoxZqRgtvnA=";
25 nativeBuildInputs = [ cmake ];
27 buildInputs = [ zlib ];
29 # Do not build static libraries
30 cmakeFlags = [ "-DENABLE_STATIC=NO" ];
32 NIX_CFLAGS_COMPILE = toString [
33 "-Wno-error=cast-function-type"
34 "-Wno-error=deprecated-declarations"
35 "-Wno-error=format-truncation"
36 "-Wno-error=stringop-overflow"
39 propagatedBuildInputs = [ libantlr3c mbedtls bctoolbox belr ];
42 homepage = "https://linphone.org/technical-corner/belle-sip";
43 description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers. Part of the Linphone project.";
44 license = licenses.gpl3Plus;
45 platforms = platforms.all;
46 maintainers = with maintainers; [ jluttine ];