about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/qt-5/modules/qtwebview.nix
blob: 6d5274cbc586d7a11a0f0dafcf46cbdc6a4cf43a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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

    # For:
    # _OBJC_CLASS_$_NSArray
    # _OBJC_CLASS_$_NSDate
    # _OBJC_CLASS_$_NSURL
    darwin.cf-private
  ];
  outputs = [ "out" "dev" "bin" ];
  NIX_LDFLAGS = optionalString stdenv.isDarwin "-framework CoreFoundation -framework WebKit";
}