nixpkgs/pkgs/development/python-modules/ttstokenizer/default.nix
2023-07-31 15:27:05 +00:00

39 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 ];
};
}