presenterm: 0.9.0 -> 0.10.0 (#378946)
[NixPkgs.git] / pkgs / by-name / bz / bzrtp / package.nix
blobdff70855b3f1f488111af7c6cfc430bcd73af700
2   bctoolbox,
3   cmake,
4   fetchFromGitLab,
5   sqlite,
6   lib,
7   stdenv,
8 }:
10 stdenv.mkDerivation rec {
11   pname = "bzrtp";
12   version = "5.2.111";
14   src = fetchFromGitLab {
15     domain = "gitlab.linphone.org";
16     owner = "public";
17     group = "BC";
18     repo = pname;
19     rev = version;
20     hash = "sha256-sLvvQhJ9uVt/dx57xs9ftY/ETi46xmyGDH8372zpqj8=";
21   };
23   buildInputs = [
24     bctoolbox
25     sqlite
26   ];
27   nativeBuildInputs = [ cmake ];
29   # Do not build static libraries
30   cmakeFlags = [ "-DENABLE_STATIC=NO" ];
32   env.NIX_CFLAGS_COMPILE = toString [
33     # Needed with GCC 12
34     "-Wno-error=stringop-overflow"
35     "-Wno-error=unused-parameter"
36   ];
38   meta = with lib; {
39     description = "Opensource implementation of ZRTP keys exchange protocol. Part of the Linphone project";
40     homepage = "https://gitlab.linphone.org/BC/public/bzrtp";
41     license = licenses.gpl3Plus;
42     platforms = platforms.all;
43     maintainers = with maintainers; [ jluttine ];
44   };