Skip to content

Commit 9720d27

Browse files
authored
ekho: use new Darwin SDK pattern (NixOS#365902)
2 parents 9b82ae9 + 4f6ed7e commit 9720d27

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

pkgs/by-name/ek/ekho/package.nix

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
espeak-ng,
1212
sonic,
1313
utf8cpp,
14-
darwin,
1514
}:
1615

1716
stdenv.mkDerivation (finalAttrs: {
@@ -47,9 +46,9 @@ stdenv.mkDerivation (finalAttrs: {
4746
espeak-ng
4847
sonic
4948
utf8cpp
50-
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AudioUnit ];
49+
];
5150

52-
meta = with lib; {
51+
meta = {
5352
description = "Chinese text-to-speech software";
5453
homepage = "http://www.eguidedog.net/ekho.php";
5554
longDescription = ''
@@ -59,9 +58,9 @@ stdenv.mkDerivation (finalAttrs: {
5958
(a dialect in Taiwan), Tibetan, Ngangien (an ancient Chinese before
6059
Yuan Dynasty) and Korean (in trial).
6160
'';
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 ];
6564
mainProgram = "ekho";
6665
};
6766
})

0 commit comments

Comments
 (0)