a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
19 lines
355 B
Nix
19 lines
355 B
Nix
{ qtModule
|
|
, lib
|
|
, stdenv
|
|
, qtbase
|
|
, qtmultimedia
|
|
, pkg-config
|
|
, flite
|
|
, alsa-lib
|
|
, speechd
|
|
, Cocoa
|
|
}:
|
|
|
|
qtModule {
|
|
pname = "qtspeech";
|
|
qtInputs = [ qtbase qtmultimedia ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = lib.optionals stdenv.isLinux [ flite alsa-lib speechd ];
|
|
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ Cocoa ];
|
|
}
|