ekho: use new Darwin SDK pattern

This commit is contained in:
Aaron Jheng 2024-12-17 13:23:43 +00:00
parent 8a364eb149
commit 4f6ed7ed35
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -11,7 +11,6 @@
espeak-ng, espeak-ng,
sonic, sonic,
utf8cpp, utf8cpp,
darwin,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -47,9 +46,9 @@ stdenv.mkDerivation (finalAttrs: {
espeak-ng espeak-ng
sonic sonic
utf8cpp utf8cpp
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AudioUnit ]; ];
meta = with lib; { meta = {
description = "Chinese text-to-speech software"; description = "Chinese text-to-speech software";
homepage = "http://www.eguidedog.net/ekho.php"; homepage = "http://www.eguidedog.net/ekho.php";
longDescription = '' longDescription = ''
@ -59,9 +58,9 @@ stdenv.mkDerivation (finalAttrs: {
(a dialect in Taiwan), Tibetan, Ngangien (an ancient Chinese before (a dialect in Taiwan), Tibetan, Ngangien (an ancient Chinese before
Yuan Dynasty) and Korean (in trial). Yuan Dynasty) and Korean (in trial).
''; '';
license = licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
platforms = platforms.linux ++ platforms.darwin; platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with maintainers; [ aaronjheng ]; maintainers = with lib.maintainers; [ aaronjheng ];
mainProgram = "ekho"; mainProgram = "ekho";
}; };
}) })