2018-09-28 09:04:21 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, extra-cmake-modules, kdoctools
|
|
|
|
, kdelibs4support, kcmutils, khtml, kdesu
|
2021-02-01 16:43:04 +00:00
|
|
|
, qtbase, qtwebkit, qtwebengine, qtx11extras, qtscript, qtwayland
|
2018-09-28 09:04:21 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2020-12-24 23:05:07 +00:00
|
|
|
pname = "konqueror";
|
2018-09-28 09:04:21 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
|
|
buildInputs = [
|
|
|
|
kdelibs4support kcmutils khtml kdesu
|
|
|
|
qtwebkit qtwebengine qtx11extras qtscript qtwayland
|
|
|
|
];
|
2020-04-27 21:39:11 +00:00
|
|
|
|
|
|
|
# InitialPreference values are too high and any text/html ends up
|
|
|
|
# opening konqueror, even if firefox or chromium are also available.
|
|
|
|
# Resetting to 1, which is the default.
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace kfmclient_html.desktop \
|
|
|
|
--replace InitialPreference=9 InitialPreference=1
|
|
|
|
'';
|
|
|
|
|
2018-09-28 09:04:21 +00:00
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [ gpl2 ];
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
2021-02-01 16:43:04 +00:00
|
|
|
broken = lib.versionOlder qtbase.version "5.13";
|
2018-09-28 09:04:21 +00:00
|
|
|
};
|
|
|
|
}
|