ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
14 lines
419 B
Nix
14 lines
419 B
Nix
{ darwin, lib, stdenv, qtModule, qtdeclarative, qtwebengine }:
|
|
|
|
with 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";
|
|
}
|