2495e3f88b
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
36 lines
825 B
Nix
36 lines
825 B
Nix
{ bcunit
|
|
, cmake
|
|
, fetchFromGitLab
|
|
, mbedtls
|
|
, lib, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bctoolbox";
|
|
version = "5.0.58";
|
|
|
|
nativeBuildInputs = [ cmake bcunit ];
|
|
buildInputs = [ mbedtls ];
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.linphone.org";
|
|
owner = "public";
|
|
group = "BC";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-N7XxGTZkMSL+zyKHteVeRoZ63ZdT5Pq60xi9v6QURxA=";
|
|
};
|
|
|
|
# Do not build static libraries
|
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
|
|
|
|
meta = with lib; {
|
|
description = "Utilities library for Linphone";
|
|
homepage = "https://gitlab.linphone.org/BC/public/bctoolbox";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ raskin jluttine ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|