ekho: use new Darwin SDK pattern (#365902)

authored by

Weijia Wang and committed by
GitHub
9720d271 9b82ae9c

+5 -6
+5 -6
pkgs/by-name/ek/ekho/package.nix
··· 11 11 espeak-ng, 12 12 sonic, 13 13 utf8cpp, 14 - darwin, 15 14 }: 16 15 17 16 stdenv.mkDerivation (finalAttrs: { ··· 47 46 espeak-ng 48 47 sonic 49 48 utf8cpp 50 - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AudioUnit ]; 49 + ]; 51 50 52 - meta = with lib; { 51 + meta = { 53 52 description = "Chinese text-to-speech software"; 54 53 homepage = "http://www.eguidedog.net/ekho.php"; 55 54 longDescription = '' ··· 59 58 (a dialect in Taiwan), Tibetan, Ngangien (an ancient Chinese before 60 59 Yuan Dynasty) and Korean (in trial). 61 60 ''; 62 - license = licenses.gpl2Plus; 63 - platforms = platforms.linux ++ platforms.darwin; 64 - maintainers = with maintainers; [ aaronjheng ]; 61 + license = lib.licenses.gpl2Plus; 62 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 63 + maintainers = with lib.maintainers; [ aaronjheng ]; 65 64 mainProgram = "ekho"; 66 65 }; 67 66 })