Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 19 lines 578 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "libexttextcat"; 5 version = "3.4.6"; 6 7 src = fetchurl { 8 url = "https://dev-www.libreoffice.org/src/libexttextcat/${pname}-${version}.tar.xz"; 9 sha256 = "sha256-bXfqziDp6hBsEzDiaO3nDJpKiXRN3CVxVoJ1TsozaN8="; 10 }; 11 12 meta = with lib; { 13 description = "An N-Gram-Based Text Categorization library primarily intended for language guessing"; 14 homepage = "https://wiki.documentfoundation.org/Libexttextcat"; 15 license = licenses.bsd3; 16 mainProgram = "createfp"; 17 platforms = platforms.all; 18 }; 19}