2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "libexttextcat";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "3.4.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "https://dev-www.libreoffice.org/src/libexttextcat/${pname}-${version}.tar.xz";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-bXfqziDp6hBsEzDiaO3nDJpKiXRN3CVxVoJ1TsozaN8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "An N-Gram-Based Text Categorization library primarily intended for language guessing";
|
|
|
|
homepage = "https://wiki.documentfoundation.org/Libexttextcat";
|
|
|
|
license = licenses.bsd3;
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "createfp";
|
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|