espeak-ng: backport TextToPhonemesWithTerminator support

This is required for piper 1.3.0. There is no breaking API change.
This commit is contained in:
Martin Weinelt
2025-09-15 18:22:24 +02:00
parent 3ec2ba5c24
commit bc541d8275
@@ -2,6 +2,7 @@
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
replaceVars,
# build system
@@ -70,6 +71,11 @@ stdenv.mkDerivation rec {
patches = [
# https://github.com/espeak-ng/espeak-ng/pull/2274
./libsonic.patch
(fetchpatch {
name = "espeak-ng-text-to-phonemes-with-terminator.patch";
url = "https://github.com/espeak-ng/espeak-ng/commit/2108b1e8ae02f49cc909894a1024efdfde6682fd.patch";
hash = "sha256-XjEc1r7F88xZOfeUey0R6Xv6vu4Wy8GtWxXFG2NTf9g=";
})
]
++ lib.optionals mbrolaSupport [
# Hardcode correct mbrola paths.