2022-09-30 11:47:45 +00:00
|
|
|
{ qtModule
|
2022-12-17 10:02:37 +00:00
|
|
|
, lib
|
|
|
|
, stdenv
|
2022-09-30 11:47:45 +00:00
|
|
|
, qtbase
|
|
|
|
, qtmultimedia
|
|
|
|
, pkg-config
|
|
|
|
, flite
|
|
|
|
, alsa-lib
|
|
|
|
, speechd
|
2022-12-17 10:02:37 +00:00
|
|
|
, Cocoa
|
2022-09-30 11:47:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
qtModule {
|
|
|
|
pname = "qtspeech";
|
|
|
|
qtInputs = [ qtbase qtmultimedia ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2022-12-17 10:02:37 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isLinux [ flite alsa-lib speechd ];
|
|
|
|
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ Cocoa ];
|
2022-09-30 11:47:45 +00:00
|
|
|
}
|