2019-02-22 17:36:37 +01:00
|
|
|
{ darwin, stdenv, qtModule, qtdeclarative, qtwebengine }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2019-06-19 20:28:41 +02:00
|
|
|
|
2019-02-22 17:36:37 +01: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 20:28:41 +02:00
|
|
|
}
|