nixpkgs/pkgs/development/python-modules/g2pkk/default.nix
2024-05-22 17:32:03 +02:00

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