2020-03-20 15:00:54 +00:00
|
|
|
{ bctoolbox
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitLab
|
2021-01-21 17:00:13 +00:00
|
|
|
, lib, stdenv
|
2020-03-20 15:00:54 +00:00
|
|
|
}:
|
2018-02-10 05:21:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-20 15:00:54 +00:00
|
|
|
pname = "belr";
|
2021-03-18 18:11:23 +00:00
|
|
|
version = "4.4.34";
|
2018-02-10 05:21:47 +00:00
|
|
|
|
2020-03-20 15:00:54 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.linphone.org";
|
|
|
|
owner = "public";
|
|
|
|
group = "BC";
|
|
|
|
repo = pname;
|
2020-12-28 13:11:38 +00:00
|
|
|
rev = version;
|
2021-03-18 18:11:23 +00:00
|
|
|
sha256 = "0w2canwwm0qb99whnangvaybvjzq8xg6vksqxykgr8fbx7clw03h";
|
2018-02-10 05:21:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bctoolbox ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2020-03-20 15:00:54 +00:00
|
|
|
# Do not build static libraries
|
|
|
|
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Belledonne Communications' language recognition library";
|
2020-03-20 15:00:54 +00:00
|
|
|
homepage = "https://gitlab.linphone.org/BC/public/belr";
|
2020-12-28 13:11:38 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2018-02-10 05:21:47 +00:00
|
|
|
platforms = platforms.all;
|
2020-03-20 15:00:54 +00:00
|
|
|
maintainers = with maintainers; [ jluttine ];
|
2018-02-10 05:21:47 +00:00
|
|
|
};
|
|
|
|
}
|