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

36 lines
948 B
Nix
Raw Normal View History

2020-03-20 16:00:54 +01:00
{ bctoolbox
, cmake
, fetchFromGitLab
, stdenv
}:
2018-02-10 06:21:47 +01:00
stdenv.mkDerivation rec {
2020-03-20 16:00:54 +01:00
pname = "belr";
# Using master branch for linphone-desktop caused a chain reaction that many
# of its dependencies needed to use master branch too.
version = "unstable-2020-03-09";
2018-02-10 06:21:47 +01:00
2020-03-20 16:00:54 +01:00
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
rev = "326d030ca9db12525c2a6d2a65f386f36f3c2ed5";
sha256 = "1cdblb9smncq3al0crqp5651b02k1g6whlw1ib769p61gad0rs3v";
2018-02-10 06:21:47 +01:00
};
buildInputs = [ bctoolbox ];
nativeBuildInputs = [ cmake ];
2020-03-20 16:00:54 +01:00
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
meta = with stdenv.lib; {
2018-02-10 06:21:47 +01:00
description = "Belr is Belledonne Communications' language recognition library";
2020-03-20 16:00:54 +01:00
homepage = "https://gitlab.linphone.org/BC/public/belr";
license = licenses.gpl3;
2018-02-10 06:21:47 +01:00
platforms = platforms.all;
2020-03-20 16:00:54 +01:00
maintainers = with maintainers; [ jluttine ];
2018-02-10 06:21:47 +01:00
};
}