python3Packages.g2pkk: init at 0.1.2

This commit is contained in:
Martin Weinelt 2022-11-16 18:27:14 +01:00
parent 31edf9e922
commit a050a54ed2
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,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;
};
}

View File

@ -3562,6 +3562,8 @@ self: super: with self; {
fx2 = callPackage ../development/python-modules/fx2 { };
g2pkk = callPackage ../development/python-modules/g2pkk { };
galario = toPythonModule (pkgs.galario.override {
enablePython = true;
pythonPackages = self;