mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 22:45:08 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
20 lines
575 B
Nix
20 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;
|
|
};
|
|
}
|