2020-04-24 23:36:52 +00:00
|
|
|
{ bctoolbox
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitLab
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "belr";
|
2020-12-29 15:07:52 +00:00
|
|
|
version = "4.3.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.linphone.org";
|
|
|
|
owner = "public";
|
|
|
|
group = "BC";
|
|
|
|
repo = pname;
|
2020-12-29 15:07:52 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1lda0f89vas38xgmc4yvnrigmrbril3dyqxgb5jh1zfx1xczfh1q";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bctoolbox ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
# Do not build static libraries
|
|
|
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "Belledonne Communications' language recognition library";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://gitlab.linphone.org/BC/public/belr";
|
2020-12-29 15:07:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|