01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
36 lines
584 B
Nix
36 lines
584 B
Nix
{ 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;
|
|
};
|
|
}
|
|
|