2020-04-24 23:36:52 +00:00
|
|
|
{ bcunit
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitLab
|
|
|
|
, mbedtls
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bctoolbox";
|
2020-12-29 15:07:52 +00:00
|
|
|
version = "4.4.21";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake bcunit ];
|
|
|
|
buildInputs = [ mbedtls ];
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.linphone.org";
|
|
|
|
owner = "public";
|
|
|
|
group = "BC";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-12-03 08:41:04 +00:00
|
|
|
sha256 = "0bfswwvvdshaahg4jd2j10f0sci8809s4khajd0m6b059zwc7y25";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Do not build static libraries
|
|
|
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit version;
|
|
|
|
description = "Utilities library for Linphone";
|
|
|
|
homepage = "https://gitlab.linphone.org/BC/public/bctoolbox";
|
2020-12-29 15:07:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ raskin jluttine ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|