about summary refs log tree commit diff
path: root/pkgs/applications/kde/marble.nix
blob: 78fc52996dc51934fa06864283425469e182ffbb (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
{ mkDerivation, lib
, extra-cmake-modules, kdoctools
, qtscript, qtsvg, qtquickcontrols, qtwebengine
, krunner, shared-mime-info, kparts, knewstuff
, gpsd, perl, protobuf_21
}:

mkDerivation {
  pname = "marble";
  meta = {
    homepage = "https://apps.kde.org/marble/";
    description = "Virtual globe";
    license = with lib.licenses; [ lgpl21 gpl3 ];
  };
  outputs = [ "out" "dev" ];
  nativeBuildInputs = [ extra-cmake-modules kdoctools perl ];
  propagatedBuildInputs = [
    protobuf_21 qtscript qtsvg qtquickcontrols qtwebengine shared-mime-info krunner kparts
    knewstuff gpsd
  ];
  preConfigure = ''
    cmakeFlags+=" -DINCLUDE_INSTALL_DIR=''${!outputDev}/include"
  '';
}