2018-01-30 12:29:42 +01:00
|
|
|
{ stdenv, fetchurl, marisa, libkkc }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libkkc-data";
|
|
|
|
version = "0.2.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "${meta.homepage}/releases/download/v${libkkc.version}/${pname}-${version}.tar.xz";
|
2018-01-30 12:29:42 +01:00
|
|
|
sha256 = "16avb50jasq2f1n9xyziky39dhlnlad0991pisk3s11hl1aqfrwy";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ marisa ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Language model data package for libkkc";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ueno/libkkc";
|
2018-01-30 12:29:42 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ vanzef ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|