1{ stdenv, lib, buildPythonPackage, fetchPypi, espeak-ng }:
2
3buildPythonPackage rec {
4 pname = "pyttsx3";
5 version = "2.90";
6 format = "wheel";
7
8 src = fetchPypi {
9 inherit pname version format;
10 sha256 = "a585b6d8cffc19bd92db1e0ccbd8aa9c6528dd2baa5a47045d6fed542a44aa19";
11 dist = "py3";
12 python = "py3";
13 };
14
15 # This package has no tests
16 doCheck = false;
17
18 meta = with lib; {
19 broken = stdenv.isDarwin;
20 description = "Offline text-to-speech synthesis library";
21 homepage = "https://github.com/nateshmbhat/pyttsx3";
22 license = licenses.mpl20;
23 maintainers = [ maintainers.ethindp ];
24 };
25}