mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
13 lines
376 B
Nix
13 lines
376 B
Nix
{ lib, stdenv, qtModule, qtdeclarative, qtwebengine, CoreFoundation, WebKit }:
|
|
|
|
qtModule {
|
|
pname = "qtwebview";
|
|
qtInputs = [ qtdeclarative qtwebengine ];
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
CoreFoundation
|
|
WebKit
|
|
];
|
|
outputs = [ "out" "dev" "bin" ];
|
|
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework CoreFoundation -framework WebKit";
|
|
}
|