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