piper-phonemize: drop espeak-ng pin
This commit is contained in:
@@ -13,25 +13,6 @@
|
||||
onnxruntime,
|
||||
}:
|
||||
|
||||
let
|
||||
espeak-ng' = espeak-ng.overrideAttrs (oldAttrs: {
|
||||
version = "1.52-dev";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhasspy";
|
||||
repo = "espeak-ng";
|
||||
rev = "0f65aa301e0d6bae5e172cc74197d32a6182200f";
|
||||
hash = "sha256-2V0D3QO+v9OqffpNmwJQd3NIBd/IFeLkjaJ3Y0HHw7E=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/espeak-ng/espeak-ng/commit/497c6217d696c1190c3e8b992ff7b9110eb3bedd.patch";
|
||||
hash = "sha256-KfzqnRyQfz6nuMKnsHoUzb9rn9h/Pg54mupW1Cr+Zx0=";
|
||||
})
|
||||
./espeak-mbrola.patch
|
||||
];
|
||||
});
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "piper-phonemize";
|
||||
version = "2023.11.14-4";
|
||||
@@ -50,18 +31,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DONNXRUNTIME_DIR=${onnxruntime.dev}"
|
||||
"-DESPEAK_NG_DIR=${espeak-ng'}"
|
||||
"-DESPEAK_NG_DIR=${espeak-ng}"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
espeak-ng'
|
||||
espeak-ng
|
||||
onnxruntime
|
||||
];
|
||||
|
||||
passthru = {
|
||||
espeak-ng = espeak-ng';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "C++ library for converting text to phonemes for Piper";
|
||||
homepage = "https://github.com/rhasspy/piper-phonemize";
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
espeak-ng,
|
||||
onnxruntime-native,
|
||||
piper-phonemize-native,
|
||||
pybind11,
|
||||
@@ -18,9 +19,9 @@ buildPythonPackage {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
espeak-ng
|
||||
onnxruntime-native
|
||||
piper-phonemize-native
|
||||
piper-phonemize-native.espeak-ng
|
||||
];
|
||||
|
||||
# coredump in onnxruntime::logging::Logger& onnxruntime::logging::LoggingManager::DefaultLogger()
|
||||
|
||||
Reference in New Issue
Block a user