nixpkgs/pkgs/applications/kde/marble.nix

25 lines
663 B
Nix
Raw Normal View History

2017-05-16 17:56:41 +02:00
{ mkDerivation, lib
2017-05-17 21:26:11 +02:00
, extra-cmake-modules, kdoctools
, qtscript, qtsvg, qtquickcontrols, qtwebengine
, krunner, shared-mime-info, kparts, knewstuff
, gpsd, perl
2016-09-04 21:29:34 +02:00
}:
2017-05-16 17:56:41 +02:00
mkDerivation {
2020-12-25 00:05:07 +01:00
pname = "marble";
meta = {
homepage = "https://apps.kde.org/marble/";
description = "Virtual globe";
license = with lib.licenses; [ lgpl21 gpl3 ];
};
2018-10-08 21:20:34 +02:00
outputs = [ "out" "dev" ];
2017-05-17 21:26:11 +02:00
nativeBuildInputs = [ extra-cmake-modules kdoctools perl ];
2017-05-16 17:56:41 +02:00
propagatedBuildInputs = [
qtscript qtsvg qtquickcontrols qtwebengine shared-mime-info krunner kparts
2017-05-16 17:56:41 +02:00
knewstuff gpsd
];
preConfigure = ''
cmakeFlags+=" -DINCLUDE_INSTALL_DIR=''${!outputDev}/include"
'';
2016-09-04 21:29:34 +02:00
}