mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
37 lines
824 B
Nix
37 lines
824 B
Nix
{ bcunit
|
|
, cmake
|
|
, fetchFromGitLab
|
|
, mbedtls
|
|
, lib, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bctoolbox";
|
|
version = "5.0.0";
|
|
|
|
nativeBuildInputs = [ cmake bcunit ];
|
|
buildInputs = [ mbedtls ];
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.linphone.org";
|
|
owner = "public";
|
|
group = "BC";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-/jv59ZeELfP7PokzthvZNL4FS3tyzRmCHp4I/Lp8BJM=";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|