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