nixpkgs/pkgs/development/libraries/bzrtp/default.nix
Trolli Schmittlauch ccb88fd162 bzrtp: 4.4.0 -> 4.4.9
part of updating linphone and its major dependencies
2020-12-28 17:33:53 +01:00

37 lines
838 B
Nix

{ bctoolbox
, cmake
, fetchFromGitLab
, sqlite
, stdenv
}:
stdenv.mkDerivation rec {
pname = "bzrtp";
version = "4.4.9";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = version;
sha256 = "1yjmsbqmymzl4r7sba6w4a2yld8m6hzafr6jf7sj0syhwpnc3zv6";
};
buildInputs = [ bctoolbox sqlite ];
nativeBuildInputs = [ cmake ];
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
meta = with stdenv.lib; {
description = "An opensource implementation of ZRTP keys exchange protocol";
homepage = "https://gitlab.linphone.org/BC/public/bzrtp";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ jluttine ];
};
}