48af15f7a5
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
23 lines
636 B
Nix
23 lines
636 B
Nix
{ lib, stdenv, fetchurl, python2, libkkc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libkkc-data";
|
|
version = "0.2.7";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/releases/download/v${libkkc.version}/${pname}-${version}.tar.xz";
|
|
sha256 = "16avb50jasq2f1n9xyziky39dhlnlad0991pisk3s11hl1aqfrwy";
|
|
};
|
|
|
|
nativeBuildInputs = [ python2.pkgs.marisa ];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = with lib; {
|
|
description = "Language model data package for libkkc";
|
|
homepage = "https://github.com/ueno/libkkc";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ vanzef ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|