2018-07-20 17:44:44 -07:00
|
|
|
{ stdenv, cmake, fetchFromGitHub, bctoolbox, sqlite }:
|
2018-02-09 21:20:51 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "bzrtp";
|
|
|
|
version = "1.0.6";
|
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BelledonneCommunications";
|
2019-09-08 16:38:31 -07:00
|
|
|
repo = baseName;
|
|
|
|
rev = version;
|
2018-02-09 21:20:51 -08:00
|
|
|
sha256 = "0438zzxp82bj5fmvqnwlljkgrz9ab5qm5lgpwwgmg1cp78bp2l45";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bctoolbox sqlite ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2019-01-10 23:35:06 -08:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
|
|
|
|
|
2018-02-09 21:20:51 -08:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "BZRTP is an opensource implementation of ZRTP keys exchange protocol";
|
|
|
|
homepage = https://github.com/BelledonneCommunications/bzrtp;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|