8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
14 lines
421 B
Nix
14 lines
421 B
Nix
{ darwin, stdenv, qtModule, qtdeclarative, qtwebengine }:
|
|
|
|
with stdenv.lib;
|
|
|
|
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";
|
|
}
|