mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
40 lines
700 B
Nix
40 lines
700 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|