about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/qt-6/modules/qtspeech.nix
blob: 77c08fa91951adb6e13d9bed10681d96fc8c8a1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ qtModule
, lib
, stdenv
, qtbase
, qtmultimedia
, pkg-config
, flite
, alsa-lib
, speechd
, Cocoa
}:

qtModule {
  pname = "qtspeech";
  nativeBuildInputs = [ pkg-config ];
  buildInputs = lib.optionals stdenv.isLinux [ flite alsa-lib speechd ];
  propagatedBuildInputs = [ qtbase qtmultimedia ]
    ++ lib.optionals stdenv.isDarwin [ Cocoa ];
}