mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 19:08:30 +00:00
39 lines
940 B
Nix
39 lines
940 B
Nix
{ bctoolbox
|
|
, cmake
|
|
, fetchFromGitLab
|
|
, sqlite
|
|
, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bzrtp";
|
|
version = "4.3.1";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.linphone.org";
|
|
owner = "public";
|
|
group = "BC";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "14fqp6r9rf7z6j5phbsrdxlbjak03hs8kb94b6jgcrcdxrxhy3fy";
|
|
};
|
|
|
|
buildInputs = [ bctoolbox sqlite ];
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
# Do not build static libraries
|
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "BZRTP is an opensource implementation of ZRTP keys exchange protocol";
|
|
homepage = "https://gitlab.linphone.org/BC/public/bzrtp";
|
|
# They have switched to GPLv3 on git HEAD so probably the next release will
|
|
# be GPL3.
|
|
license = licenses.lgpl21;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ jluttine ];
|
|
};
|
|
}
|