16 stdenv.mkDerivation (finalAttrs: {
20 src = fetchFromGitHub {
23 rev = "v${finalAttrs.version}";
24 hash = "sha256-VYN9tR3BJXd3UA0V5vqQJNItJe1e1knZ+S7tLeaeYYk=";
33 "-I${lib.getDev utf8cpp}/include/utf8cpp"
36 nativeBuildInputs = [ pkg-config autoconf automake libtool ];
38 buildInputs = [ libsndfile libpulseaudio espeak-ng sonic utf8cpp ]
39 ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AudioUnit ];
42 description = "Chinese text-to-speech software";
43 homepage = "http://www.eguidedog.net/ekho.php";
45 Ekho (余音) is a free, open source and multilingual text-to-speech (TTS)
46 software. It supports Cantonese (Chinese dialect spoken in Hong Kong and
47 part of Guangdong province), Mandarin (standard Chinese), Zhaoan Hakka
48 (a dialect in Taiwan), Tibetan, Ngangien (an ancient Chinese before
49 Yuan Dynasty) and Korean (in trial).
51 license = licenses.gpl2Plus;
52 platforms = platforms.linux ++ platforms.darwin;
53 maintainers = with maintainers; [ aaronjheng ];