at 23.05-pre 23 lines 636 B view raw
1{ lib, stdenv, fetchurl, python2, libkkc }: 2 3stdenv.mkDerivation rec { 4 pname = "libkkc-data"; 5 version = "0.2.7"; 6 7 src = fetchurl { 8 url = "${meta.homepage}/releases/download/v${libkkc.version}/${pname}-${version}.tar.xz"; 9 sha256 = "16avb50jasq2f1n9xyziky39dhlnlad0991pisk3s11hl1aqfrwy"; 10 }; 11 12 nativeBuildInputs = [ python2.pkgs.marisa ]; 13 14 strictDeps = true; 15 16 meta = with lib; { 17 description = "Language model data package for libkkc"; 18 homepage = "https://github.com/ueno/libkkc"; 19 license = licenses.gpl3Plus; 20 maintainers = with maintainers; [ vanzef ]; 21 platforms = platforms.linux; 22 }; 23}