mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
15 lines
261 B
Nix
15 lines
261 B
Nix
{ lib
|
|
, stdenv
|
|
, qtModule
|
|
, qtdeclarative
|
|
, qtwebengine
|
|
, WebKit
|
|
}:
|
|
|
|
qtModule {
|
|
pname = "qtwebview";
|
|
qtInputs = [ qtdeclarative ]
|
|
++ lib.optionals (!stdenv.isDarwin) [ qtwebengine ];
|
|
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ WebKit ];
|
|
}
|