1{ stdenv, fetchurl, cmake, fetchFromGitHub, bctoolbox, sqlite }:
2
3stdenv.mkDerivation rec {
4 baseName = "bzrtp";
5 version = "1.0.6";
6 name = "${baseName}-${version}";
7
8 src = fetchFromGitHub {
9 owner = "BelledonneCommunications";
10 repo = "${baseName}";
11 rev = "${version}";
12 sha256 = "0438zzxp82bj5fmvqnwlljkgrz9ab5qm5lgpwwgmg1cp78bp2l45";
13 };
14
15 buildInputs = [ bctoolbox sqlite ];
16 nativeBuildInputs = [ cmake ];
17
18 meta = with stdenv.lib; {
19 description = "BZRTP is an opensource implementation of ZRTP keys exchange protocol";
20 homepage = https://github.com/BelledonneCommunications/bzrtp;
21 license = licenses.lgpl21;
22 platforms = platforms.all;
23 };
24}