20 stdenv.mkDerivation (finalAttrs: {
22 version = "2023.11.14-2";
24 src = fetchFromGitHub {
27 rev = "refs/tags/${finalAttrs.version}";
28 hash = "sha256-3ynWyNcdf1ffU3VoDqrEMrm5Jo5Zc5YJcVqwLreRCsI=";
38 "-DSPDLOG_DIR=${spdlog.src}"
39 "-DPIPER_PHONEMIZE_DIR=${piper-phonemize}"
46 piper-phonemize.espeak-ng
50 env.NIX_CFLAGS_COMPILE = builtins.toString [
51 "-isystem ${lib.getDev piper-phonemize}/include/piper-phonemize"
58 install -m 0755 piper $out/bin
68 changelog = "https://github.com/rhasspy/piper/releases/tag/v${finalAttrs.version}";
69 description = "Fast, local neural text to speech system";
70 homepage = "https://github.com/rhasspy/piper";
71 license = licenses.mit;
72 maintainers = with maintainers; [ hexa ];
73 mainProgram = "piper";