2021-03-25 12:40:55 +01:00
|
|
|
{ lib, stdenv, fetchurl, python2, libkkc }:
|
2018-01-30 12:29:42 +01:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2021-03-25 12:40:55 +01:00
|
|
|
nativeBuildInputs = [ python2.pkgs.marisa ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2018-01-30 12:29:42 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-01-30 12:29:42 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|