d0d8e8fc71
GitOrigin-RevId: d3f7e969b9860fb80750147aeb56dab1c730e756
36 lines
837 B
Nix
36 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 ];
|
|
};
|
|
}
|