nixpkgs/pkgs/applications/kde/marble.nix

25 lines
663 B
Nix
Raw Normal View History

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