blob: 621d1dc4a817972c6086451cafa5454a366f8145 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchPypi,
anyascii,
inflect,
nltk,
numpy,
}:
buildPythonPackage rec {
pname = "ttstokenizer";
version = "1.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-akXiscw57CMp2JDdJq7wqeBeML41yLyFh7fTZwEBlVA=";
};
propagatedBuildInputs = [
anyascii
inflect
nltk
numpy
];
pythonImportsCheck = [ "ttstokenizer" ];
# no tests
doCheck = false;
meta = {
description = "Tokenizer for Text to Speech (TTS) models";
homepage = "https://pypi.org/project/ttstokenizer";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ happysalada ];
};
}
|