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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.1 KiB
Nix
Raw Normal View History

{ bctoolbox
, belr
, cmake
, fetchFromGitLab
2021-03-19 07:06:05 +01:00
, lib
, libantlr3c
, mbedtls
2021-03-19 07:06:05 +01:00
, stdenv
, zlib
2016-09-06 10:07:52 +02:00
}:
2015-04-07 03:08:42 +02:00
2016-09-06 10:07:52 +02:00
stdenv.mkDerivation rec {
pname = "belle-sip";
version = "linphone-4.4.1";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = "44d5977570280763ee1fecdb920736715bad58a3";
sha256 = "sha256-w++v3YlDZfpCHAbUQA/RftjRNGkz9J/zYoxZqRgtvnA=";
2015-04-07 03:08:42 +02:00
};
nativeBuildInputs = [ 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
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
2019-10-30 02:29:30 +01:00
NIX_CFLAGS_COMPILE = toString [
"-Wno-error=cast-function-type"
2019-01-11 07:48:36 +01:00
"-Wno-error=deprecated-declarations"
"-Wno-error=format-truncation"
"-Wno-error=stringop-overflow"
2019-01-11 07:48:36 +01:00
];
2015-04-07 03:08:42 +02:00
propagatedBuildInputs = [ libantlr3c mbedtls bctoolbox belr ];
2015-04-07 03:08:42 +02:00
meta = with lib; {
homepage = "https://linphone.org/technical-corner/belle-sip";
description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers. Part of the Linphone project.";
license = licenses.gpl3Plus;
2015-04-07 03:08:42 +02:00
platforms = platforms.all;
maintainers = with maintainers; [ jluttine ];
2015-04-07 03:08:42 +02:00
};
}