3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/bzrtp/default.nix
2021-03-18 20:17:04 +02:00

37 lines
837 B
Nix

{ bctoolbox
, cmake
, fetchFromGitLab
, sqlite
, lib, stdenv
}:
stdenv.mkDerivation rec {
pname = "bzrtp";
version = "4.4.34";
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 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 ];
};
}