summary refs log tree commit diff
path: root/pkgs/applications/kde/konqueror.nix
blob: cf4002a8f67387310f2d4fbefce79e251157dd63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, mkDerivation
, extra-cmake-modules, kdoctools
, kinit, kcmutils, khtml, kdesu
, qtbase, qtwebengine, qtx11extras, qtscript, qtwayland
}:

mkDerivation {
  pname = "konqueror";
  nativeBuildInputs = [ extra-cmake-modules kdoctools ];
  buildInputs = [
    kcmutils khtml kinit kdesu
    qtwebengine qtx11extras qtscript qtwayland
  ];

  # 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
  '';

  meta = {
    homepage = "https://apps.kde.org/konqueror/";
    description = "Web browser, file manager and viewer";
    license = with lib.licenses; [ gpl2 ];
    maintainers = with lib.maintainers; [ ];
    broken = lib.versionOlder qtbase.version "5.13";
  };
}