ekho: use finalAttrs (#340454)
This commit is contained in:
commit
50878a3258
@ -10,17 +10,17 @@
|
||||
, espeak-ng
|
||||
, sonic
|
||||
, utf8cpp
|
||||
, AudioUnit
|
||||
, darwin
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ekho";
|
||||
version = "9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hgneng";
|
||||
repo = "ekho";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-VYN9tR3BJXd3UA0V5vqQJNItJe1e1knZ+S7tLeaeYYk=";
|
||||
};
|
||||
|
||||
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config autoconf automake libtool ];
|
||||
|
||||
buildInputs = [ libsndfile libpulseaudio espeak-ng sonic utf8cpp ]
|
||||
++ lib.optionals stdenv.isDarwin [ AudioUnit ];
|
||||
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AudioUnit ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Chinese text-to-speech software";
|
||||
@ -51,5 +51,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ aaronjheng ];
|
||||
mainProgram = "ekho";
|
||||
};
|
||||
}
|
||||
})
|
@ -29508,10 +29508,6 @@ with pkgs;
|
||||
|
||||
oed = callPackage ../applications/editors/oed { };
|
||||
|
||||
ekho = callPackage ../applications/audio/ekho {
|
||||
inherit (darwin.apple_sdk.frameworks) AudioUnit;
|
||||
};
|
||||
|
||||
electron-cash = libsForQt5.callPackage ../applications/misc/electron-cash { };
|
||||
|
||||
electrum = libsForQt5.callPackage ../applications/misc/electrum { };
|
||||
|
Loading…
Reference in New Issue
Block a user