bba55970ba
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
36 lines
836 B
Nix
36 lines
836 B
Nix
{ bctoolbox
|
|
, cmake
|
|
, fetchFromGitLab
|
|
, sqlite
|
|
, lib, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bzrtp";
|
|
version = "4.5.1";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.linphone.org";
|
|
owner = "public";
|
|
group = "BC";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1a500ncgznwha0j3c27ak3p4jh5jm6fnnb531k7c0a4i91745agj";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|