python310Packages.ttstokenizer: init at 1.0.0

This commit is contained in:
happysalada 2023-07-31 11:30:04 +08:00 committed by Yt
parent d069bd747a
commit 022d53ede9
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, anyascii
, inflect
, nltk
, numpy
}:
buildPythonPackage rec {
pname = "ttstokenizer";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-HtDXDKlZ3jpwIgb5DvaqurEkRe8TRJ2xqKl2IKElnKU=";
};
propagatedBuildInputs = [
anyascii
inflect
nltk
numpy
];
pythonImportsCheck = [ "ttstokenizer" ];
# no tests
doCheck = false;
meta = with lib; {
description = "Tokenizer for Text to Speech (TTS) models";
homepage = "https://pypi.org/project/ttstokenizer";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ happysalada ];
};
}

View file

@ -12863,6 +12863,8 @@ self: super: with self; {
ttp-templates = callPackage ../development/python-modules/ttp-templates { };
ttstokenizer = callPackage ../development/python-modules/ttstokenizer { };
tubes = callPackage ../development/python-modules/tubes { };
tunigo = callPackage ../development/python-modules/tunigo { };