2019-02-22 16:36:37 +00:00
|
|
|
{ darwin, stdenv, qtModule, qtdeclarative, qtwebengine }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2019-06-19 19:28:41 +01:00
|
|
|
|
2019-02-22 16:36:37 +00:00
|
|
|
qtModule {
|
|
|
|
name = "qtwebview";
|
|
|
|
qtInputs = [ qtdeclarative qtwebengine ];
|
|
|
|
buildInputs = optional (stdenv.isDarwin) [
|
|
|
|
darwin.apple_sdk.frameworks.CoreFoundation
|
|
|
|
darwin.apple_sdk.frameworks.WebKit
|
|
|
|
];
|
|
|
|
outputs = [ "out" "dev" "bin" ];
|
|
|
|
NIX_LDFLAGS = optionalString stdenv.isDarwin "-framework CoreFoundation -framework WebKit";
|
2019-06-19 19:28:41 +01:00
|
|
|
}
|