
This is just an alias for propagatedBuildInputs. Having two names for the same thing just makes things confusing.
20 lines
348 B
Nix
20 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 ];
|
|
}
|