mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
40 lines
992 B
Nix
40 lines
992 B
Nix
{ stdenv, mkDerivation, lib, fetchFromGitHub, fetchpatch
|
|
, cmake, extra-cmake-modules, pkg-config
|
|
, libpthreadstubs, libxcb, libXdmcp
|
|
, qtsvg, qttools, qtwebengine, qtx11extras
|
|
, qtwayland, wrapQtAppsHook
|
|
, kwallet, kpurpose, karchive, kio
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "falkon";
|
|
|
|
preConfigure = ''
|
|
export NONBLOCK_JS_DIALOGS=true
|
|
export KDE_INTEGRATION=true
|
|
export GNOME_INTEGRATION=false
|
|
export FALKON_PREFIX=$out
|
|
'';
|
|
|
|
buildInputs = [
|
|
libpthreadstubs libxcb libXdmcp
|
|
qtsvg qttools qtwebengine qtx11extras
|
|
kwallet kpurpose karchive kio
|
|
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
pkg-config
|
|
qttools
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "QtWebEngine based cross-platform web browser";
|
|
homepage = "https://www.falkon.org";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|