2018-09-28 12:04:21 +03:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, extra-cmake-modules, kdoctools
|
2021-05-11 22:29:00 +03:00
|
|
|
, kinit, kcmutils, khtml, kdesu
|
|
|
|
, qtbase, qtwebengine, qtx11extras, qtscript, qtwayland
|
2018-09-28 12:04:21 +03:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2020-12-25 02:05:07 +03:00
|
|
|
pname = "konqueror";
|
2018-09-28 12:04:21 +03:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
|
|
buildInputs = [
|
2021-05-11 22:29:00 +03:00
|
|
|
kcmutils khtml kinit kdesu
|
|
|
|
qtwebengine qtx11extras qtscript qtwayland
|
2018-09-28 12:04:21 +03:00
|
|
|
];
|
2020-04-28 00:39:11 +03: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 12:04:21 +03:00
|
|
|
meta = {
|
2021-09-18 12:48:23 +03:00
|
|
|
homepage = "https://apps.kde.org/konqueror/";
|
|
|
|
description = "Web browser, file manager and viewer";
|
2018-09-28 12:04:21 +03:00
|
|
|
license = with lib.licenses; [ gpl2 ];
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
2021-02-01 19:43:04 +03:00
|
|
|
broken = lib.versionOlder qtbase.version "5.13";
|
2018-09-28 12:04:21 +03:00
|
|
|
};
|
|
|
|
}
|