mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
15 lines
419 B
Nix
15 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";
|
|
}
|