2020-08-20 17:08:02 +00:00
|
|
|
{ stdenv, mkDerivation, lib, fetchFromGitHub, fetchpatch
|
2022-04-27 09:35:20 +00:00
|
|
|
, cmake, extra-cmake-modules, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, libpthreadstubs, libxcb, libXdmcp
|
|
|
|
, qtsvg, qttools, qtwebengine, qtx11extras
|
2020-06-18 07:06:33 +00:00
|
|
|
, qtwayland, wrapQtAppsHook
|
2022-04-27 09:35:20 +00:00
|
|
|
, kwallet, kpurpose, karchive, kio
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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
|
2022-04-27 09:35:20 +00:00
|
|
|
kwallet kpurpose karchive kio
|
2020-04-24 23:36:52 +00:00
|
|
|
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-06-18 07:06:33 +00:00
|
|
|
qttools
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "QtWebEngine based cross-platform web browser";
|
2022-04-27 09:35:20 +00:00
|
|
|
homepage = "https://www.falkon.org";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|