mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
24 lines
636 B
Nix
24 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;
|
|
};
|
|
}
|