nixpkgs/pkgs/development/libraries/belr/default.nix
Felix Singer 59d92ec2d1 belr: 5.1.12 -> 5.1.55
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2022-08-23 07:24:17 +02:00

34 lines
789 B
Nix

{ bctoolbox
, cmake
, fetchFromGitLab
, lib
, stdenv
}:
stdenv.mkDerivation rec {
pname = "belr";
version = "5.1.55";
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = version;
sha256 = "sha256-0JDwNKqPkzbXqDhgMV+okPMHPFJwmLwLsDrdD55Jcs4=";
};
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 ];
};
}