nixpkgs/pkgs/development/libraries/qt-6/modules/qtspeech.nix
Alyssa Ross aae53c8f97
qt5.qtModule,qt6.qtModule: deprecate qtInputs
This is just an alias for propagatedBuildInputs.  Having two names for
the same thing just makes things confusing.
2023-09-17 07:04:59 +00:00

19 lines
348 B
Nix

{ 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 ];
}