nixpkgs-suyu/pkgs/data/misc/libkkc-data/default.nix

24 lines
636 B
Nix
Raw Normal View History

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 {
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
meta = with lib; {
2018-01-30 12:29:42 +01:00
description = "Language model data package for libkkc";
homepage = "https://github.com/ueno/libkkc";
2018-01-30 12:29:42 +01:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ vanzef ];
platforms = platforms.linux;
};
}