depot/third_party/nixpkgs/pkgs/development/libraries/libexttextcat/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

19 lines
575 B
Nix

{ 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;
};
}