depot/third_party/nixpkgs/pkgs/development/python-modules/g2pkk/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

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;
};
}