nixpkgs/pkgs/development/libraries/bctoolbox/default.nix

37 lines
824 B
Nix
Raw Normal View History

2020-03-20 08:31:25 +00:00
{ bcunit
, cmake
, fetchFromGitLab
, mbedtls
, lib, stdenv
2020-03-20 08:31:25 +00:00
}:
2016-09-05 23:16:45 +01:00
stdenv.mkDerivation rec {
pname = "bctoolbox";
2021-07-09 13:10:18 +01:00
version = "5.0.0";
nativeBuildInputs = [ cmake bcunit ];
buildInputs = [ mbedtls ];
2020-03-20 08:31:25 +00:00
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
2019-09-09 00:38:31 +01:00
rev = version;
2021-07-09 13:10:18 +01:00
sha256 = "sha256-/jv59ZeELfP7PokzthvZNL4FS3tyzRmCHp4I/Lp8BJM=";
2016-09-05 23:16:45 +01:00
};
2020-03-20 08:31:25 +00:00
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
2019-12-26 16:29:16 +00:00
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
meta = with lib; {
description = "Utilities library for Linphone";
2020-03-20 08:31:25 +00:00
homepage = "https://gitlab.linphone.org/BC/public/bctoolbox";
license = licenses.gpl3Plus;
2020-03-20 08:31:25 +00:00
maintainers = with maintainers; [ raskin jluttine ];
platforms = platforms.linux;
2016-09-05 23:16:45 +01:00
};
}