2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2012-08-31 08:01:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 14:15:21 +00:00
|
|
|
pname = "libexttextcat";
|
2021-12-10 07:27:43 +00:00
|
|
|
version = "3.4.6";
|
2012-08-31 08:01:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-20 14:15:21 +00:00
|
|
|
url = "https://dev-www.libreoffice.org/src/libexttextcat/${pname}-${version}.tar.xz";
|
2021-12-10 07:27:43 +00:00
|
|
|
sha256 = "sha256-bXfqziDp6hBsEzDiaO3nDJpKiXRN3CVxVoJ1TsozaN8=";
|
2012-08-31 08:01:57 +00:00
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2012-08-31 08:01:57 +00:00
|
|
|
description = "An N-Gram-Based Text Categorization library primarily intended for language guessing";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.documentfoundation.org/Libexttextcat";
|
2018-10-17 18:12:38 +00:00
|
|
|
license = licenses.bsd3;
|
2022-05-05 00:52:27 +00:00
|
|
|
mainProgram = "createfp";
|
|
|
|
platforms = platforms.all;
|
2012-08-31 08:01:57 +00:00
|
|
|
};
|
|
|
|
}
|