ekho: use new Darwin SDK pattern
This commit is contained in:
parent
8a364eb149
commit
4f6ed7ed35
@ -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";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user