depot/third_party/nixpkgs/pkgs/development/python-modules/ttstokenizer/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

38 lines
691 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 ];
};
}