belr: 0.1.3 -> unstable-2020-03-09

+23 -12
+23 -12
pkgs/development/libraries/belr/default.nix
··· 1 - { stdenv, cmake, fetchFromGitHub, bctoolbox }: 1 + { bctoolbox 2 + , cmake 3 + , fetchFromGitLab 4 + , stdenv 5 + }: 2 6 3 7 stdenv.mkDerivation rec { 4 - baseName = "belr"; 5 - version = "0.1.3"; 6 - name = "${baseName}-${version}"; 8 + pname = "belr"; 9 + # Using master branch for linphone-desktop caused a chain reaction that many 10 + # of its dependencies needed to use master branch too. 11 + version = "unstable-2020-03-09"; 7 12 8 - src = fetchFromGitHub { 9 - owner = "BelledonneCommunications"; 10 - repo = baseName; 11 - rev = version; 12 - sha256 = "0mf8lsyq1z3b5p47c00lnwc8n7v9nzs1fd2g9c9hnz6fjd2ka44w"; 13 + src = fetchFromGitLab { 14 + domain = "gitlab.linphone.org"; 15 + owner = "public"; 16 + group = "BC"; 17 + repo = pname; 18 + rev = "326d030ca9db12525c2a6d2a65f386f36f3c2ed5"; 19 + sha256 = "1cdblb9smncq3al0crqp5651b02k1g6whlw1ib769p61gad0rs3v"; 13 20 }; 14 21 15 22 buildInputs = [ bctoolbox ]; 16 23 nativeBuildInputs = [ cmake ]; 17 24 18 - meta = with stdenv.lib;{ 25 + # Do not build static libraries 26 + cmakeFlags = [ "-DENABLE_STATIC=NO" ]; 27 + 28 + meta = with stdenv.lib; { 19 29 description = "Belr is Belledonne Communications' language recognition library"; 20 - homepage = https://github.com/BelledonneCommunications/belr; 21 - license = licenses.lgpl21; 30 + homepage = "https://gitlab.linphone.org/BC/public/belr"; 31 + license = licenses.gpl3; 22 32 platforms = platforms.all; 33 + maintainers = with maintainers; [ jluttine ]; 23 34 }; 24 35 }