ec92d4d331
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
14 lines
420 B
Nix
14 lines
420 B
Nix
{ darwin, lib, stdenv, qtModule, qtdeclarative, qtwebengine }:
|
|
|
|
with lib;
|
|
|
|
qtModule {
|
|
pname = "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";
|
|
}
|