depot/third_party/nixpkgs/pkgs/development/libraries/belr/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

34 lines
787 B
Nix

{ bctoolbox
, cmake
, fetchFromGitLab
, lib
, stdenv
}:
stdenv.mkDerivation rec {
pname = "belr";
version = "5.2.98";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = version;
hash = "sha256-4keVUAsTs1DAhOfV71VD28I0PEHnyvW95blplY690LY=";
};
buildInputs = [ bctoolbox ];
nativeBuildInputs = [ cmake ];
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
meta = with lib; {
description = "Belledonne Communications' language recognition library. Part of the Linphone project.";
homepage = "https://gitlab.linphone.org/BC/public/belr";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ jluttine ];
};
}