diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-10-23 01:06:42 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-10-23 01:17:48 +0200 |
commit | 20550edf35252dd38d81a52301a60d05a48224a0 (patch) | |
tree | 34fc18b54b0315b07688daa0b4c5a93087439e86 /pkgs/tools/audio/piper | |
parent | 94ecc3da74ce1595460f3657b0e00c708465a94c (diff) |
piper-tts: 1.2.0 -> 2023.9.27-1
https://github.com/rhasspy/piper/releases/tag/2023.9.9-1 https://github.com/rhasspy/piper/releases/tag/2023.9.27-1
Diffstat (limited to 'pkgs/tools/audio/piper')
-rw-r--r-- | pkgs/tools/audio/piper/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/tools/audio/piper/default.nix b/pkgs/tools/audio/piper/default.nix index d753d7bb3e1ea..d68ffa2b77ead 100644 --- a/pkgs/tools/audio/piper/default.nix +++ b/pkgs/tools/audio/piper/default.nix @@ -7,6 +7,7 @@ , pkg-config # runtime +, fmt , onnxruntime , pcaudiolib , piper-phonemize @@ -18,22 +19,26 @@ stdenv.mkDerivation (finalAttrs: { pname = "piper"; - version = "1.2.0"; + version = "2023.9.27-1"; src = fetchFromGitHub { owner = "rhasspy"; repo = "piper"; - rev = "refs/tags/v${finalAttrs.version}"; - hash = "sha256-6WNWqJt0PO86vnf+3iHaRRg2KwBOEj4aicmB+P2phlk="; + rev = "refs/tags/${finalAttrs.version}"; + hash = "sha256-U7yOiqNvE0WqZB8qaKf3U7gnTJ6q+9W5lviW79b6h/o="; }; - sourceRoot = "${finalAttrs.src.name}/src/cpp"; - nativeBuildInputs = [ cmake pkg-config ]; + cmakeFlags = [ + "-DFMT_DIR=${fmt}" + "-DSPDLOG_DIR=${spdlog.src}" + "-DPIPER_PHONEMIZE_DIR=${piper-phonemize}" + ]; + buildInputs = [ onnxruntime pcaudiolib |