mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
20 lines
355 B
Nix
20 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 ];
|
|
}
|