2020-05-21 16:28:29 +01:00
|
|
|
{ stdenv, mkDerivation, lib, fetchFromGitHub, fetchpatch
|
2021-01-19 06:50:56 +00:00
|
|
|
, cmake, extra-cmake-modules, pkg-config, qmake
|
2018-11-05 21:12:25 +00:00
|
|
|
, libpthreadstubs, libxcb, libXdmcp
|
|
|
|
, qtsvg, qttools, qtwebengine, qtx11extras
|
2020-06-03 10:12:46 +01:00
|
|
|
, qtwayland, wrapQtAppsHook
|
2018-11-05 21:12:25 +00:00
|
|
|
, kwallet
|
|
|
|
}:
|
2017-09-11 11:08:45 +01:00
|
|
|
|
2019-08-29 08:33:37 +01:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "falkon";
|
2022-02-03 17:50:42 +00:00
|
|
|
version = "3.2.0";
|
2017-09-11 11:08:45 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "falkon";
|
2018-03-05 06:37:23 +00:00
|
|
|
rev = "v${version}";
|
2022-02-03 17:50:42 +00:00
|
|
|
sha256 = "sha256-esi9YWd1PtQpDBhI1NtWEjZIoMoNUpAF+kQad67mLzE=";
|
2017-09-11 11:08:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export NONBLOCK_JS_DIALOGS=true
|
|
|
|
export KDE_INTEGRATION=true
|
|
|
|
export GNOME_INTEGRATION=false
|
|
|
|
export FALKON_PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libpthreadstubs libxcb libXdmcp
|
2018-11-05 21:12:25 +00:00
|
|
|
qtsvg qttools qtwebengine qtx11extras
|
2017-09-11 11:08:45 +01:00
|
|
|
kwallet
|
2018-11-05 21:12:25 +00:00
|
|
|
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
|
2017-09-11 11:08:45 +01:00
|
|
|
|
2020-06-03 10:12:46 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2020-06-03 10:12:46 +01:00
|
|
|
qmake
|
|
|
|
qttools
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
2017-09-11 11:08:45 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-11 11:08:45 +01:00
|
|
|
description = "QtWebEngine based cross-platform web browser";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://community.kde.org/Incubator/Projects/Falkon";
|
2017-09-11 11:08:45 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|