about summary refs log tree commit diff
path: root/pkgs/development/python-modules/g2pkk/default.nix
blob: 98e03806d2ff2ba8c9fded470565afa57e0c242b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, buildPythonPackage
, fetchPypi
, jamo
, nltk
}:

buildPythonPackage rec {
  pname = "g2pkk";
  version = "0.1.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-YarV1Btn1x3Sm4Vw/JDSyJy3ZJMXAQHZJJJklSG0R+Q=";
  };

  propagatedBuildInputs = [
    jamo
    nltk
  ];

  pythonImportsCheck = [
    "g2pkk"
  ];

  doCheck = false;

  meta = with lib; {
    description = "Cross-platform g2p for Korean";
    homepage = "https://github.com/harmlessman/g2pkk";
    license = licenses.asl20;
    maintainers = teams.tts.members;
  };
}