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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
756 B
Nix
Raw Normal View History

2020-03-20 15:00:54 +00:00
{ bctoolbox
, cmake
, fetchFromGitLab
, 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";
2022-03-05 10:35:43 +00:00
version = "5.1.3";
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;
rev = version;
2022-03-05 10:35:43 +00:00
sha256 = "sha256-0JDwNKqPkzbXqDhgMV+okPMHPFJwmLwLsDrdD55Jcs4=";
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" ];
meta = with lib; {
description = "Belledonne Communications' language recognition library";
2020-03-20 15:00:54 +00:00
homepage = "https://gitlab.linphone.org/BC/public/belr";
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
};
}