at 18.09-beta 24 lines 654 B view raw
1{ stdenv, cmake, fetchFromGitHub, bctoolbox }: 2 3stdenv.mkDerivation rec { 4 baseName = "belr"; 5 version = "0.1.3"; 6 name = "${baseName}-${version}"; 7 8 src = fetchFromGitHub { 9 owner = "BelledonneCommunications"; 10 repo = "${baseName}"; 11 rev = "${version}"; 12 sha256 = "0mf8lsyq1z3b5p47c00lnwc8n7v9nzs1fd2g9c9hnz6fjd2ka44w"; 13 }; 14 15 buildInputs = [ bctoolbox ]; 16 nativeBuildInputs = [ cmake ]; 17 18 meta = with stdenv.lib;{ 19 description = "Belr is Belledonne Communications' language recognition library"; 20 homepage = https://github.com/BelledonneCommunications/belr; 21 license = licenses.lgpl21; 22 platforms = platforms.all; 23 }; 24}