1 { lib, stdenv, fetchurl, fetchpatch, python3, libkkc }:
3 stdenv.mkDerivation rec {
8 url = "${meta.homepage}/releases/download/v${libkkc.version}/${pname}-${version}.tar.xz";
9 sha256 = "16avb50jasq2f1n9xyziky39dhlnlad0991pisk3s11hl1aqfrwy";
14 name = "build-python3.patch";
15 url = "https://github.com/ueno/libkkc/commit/ba1c1bd3eb86d887fc3689c3142732658071b5f7.patch";
16 relative = "data/templates/libkkc-data";
17 hash = "sha256-q4zUclJtDQ1E5v2PW00zRZz6GXllLUcp2h3tugufrRU=";
21 nativeBuildInputs = [ python3.pkgs.marisa ];
26 description = "Language model data package for libkkc";
27 homepage = "https://github.com/ueno/libkkc";
28 license = licenses.gpl3Plus;
29 maintainers = with maintainers; [ vanzef ];
30 platforms = platforms.linux;