3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/belr/default.nix

36 lines
940 B
Nix
Raw Normal View History

2020-03-20 15:00:54 +00:00
{ bctoolbox
, cmake
, fetchFromGitLab
, stdenv
}:
2018-02-10 05:21:47 +00:00
stdenv.mkDerivation rec {
2020-03-20 15:00:54 +00: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 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 = "326d030ca9db12525c2a6d2a65f386f36f3c2ed5";
sha256 = "1cdblb9smncq3al0crqp5651b02k1g6whlw1ib769p61gad0rs3v";
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 stdenv.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.gpl3;
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
};
}