about summary refs log tree commit diff
path: root/pkgs/development/libraries/libexttextcat/default.nix
blob: 6ed3603dd184dd61276df0e4a40321a6cd770374 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "libexttextcat";
  version = "3.4.6";

  src = fetchurl {
    url = "https://dev-www.libreoffice.org/src/libexttextcat/${pname}-${version}.tar.xz";
    sha256 = "sha256-bXfqziDp6hBsEzDiaO3nDJpKiXRN3CVxVoJ1TsozaN8=";
  };

  meta = with lib; {
    description = "N-Gram-Based Text Categorization library primarily intended for language guessing";
    homepage = "https://wiki.documentfoundation.org/Libexttextcat";
    license = licenses.bsd3;
    mainProgram = "createfp";
    platforms = platforms.all;
  };
}