2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, cmake, fetchFromGitHub, bctoolbox }:
|
2018-02-10 05:21:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "belr";
|
|
|
|
version = "0.1.3";
|
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BelledonneCommunications";
|
2019-09-08 23:38:31 +00:00
|
|
|
repo = baseName;
|
|
|
|
rev = version;
|
2018-02-10 05:21:47 +00:00
|
|
|
sha256 = "0mf8lsyq1z3b5p47c00lnwc8n7v9nzs1fd2g9c9hnz6fjd2ka44w";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bctoolbox ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib;{
|
|
|
|
description = "Belr is Belledonne Communications' language recognition library";
|
|
|
|
homepage = https://github.com/BelledonneCommunications/belr;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|