nixpkgs/pkgs/development/libraries/bctoolbox/default.nix
Trolli Schmittlauch 4ea84190f1 bctoolbox: 4.4.13 -> 4.4.21
part of updating linphone and its major dependencies
2020-12-28 17:33:51 +01:00

38 lines
849 B
Nix

{ bcunit
, cmake
, fetchFromGitLab
, mbedtls
, stdenv
}:
stdenv.mkDerivation rec {
pname = "bctoolbox";
version = "4.4.21";
nativeBuildInputs = [ cmake bcunit ];
buildInputs = [ mbedtls ];
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = version;
sha256 = "0bfswwvvdshaahg4jd2j10f0sci8809s4khajd0m6b059zwc7y25";
};
# 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";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ raskin jluttine ];
platforms = platforms.linux;
};
}