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