587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
49 lines
928 B
Nix
49 lines
928 B
Nix
{ bcunit
|
|
, cmake
|
|
, bc-decaf
|
|
, fetchFromGitLab
|
|
, mbedtls_2
|
|
, lib
|
|
, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bctoolbox";
|
|
version = "5.2.109";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
buildInputs = [
|
|
# Made by BC
|
|
bcunit
|
|
|
|
# Vendored by BC
|
|
bc-decaf
|
|
|
|
mbedtls_2
|
|
];
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.linphone.org";
|
|
owner = "public";
|
|
group = "BC";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-OwwSGzMFwR2ajUUgAy7ea/Q2pWxn3DO72W7ukcjBJnU=";
|
|
};
|
|
|
|
# Do not build static libraries
|
|
cmakeFlags = [ "-DENABLE_STATIC=NO" "-DENABLE_STRICT=NO" ];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = with lib; {
|
|
description = "Utilities library for Linphone";
|
|
mainProgram = "bctoolbox_tester";
|
|
homepage = "https://gitlab.linphone.org/BC/public/bctoolbox";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ raskin jluttine ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|