nixpkgs/pkgs/by-name/li/libexttextcat/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
575 B
Nix
Raw Normal View History

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