forked from mirrors/nixpkgs
05bdbc55ff
Adapted from <https://apps.kde.org/>.
25 lines
663 B
Nix
25 lines
663 B
Nix
{ mkDerivation, lib
|
|
, extra-cmake-modules, kdoctools
|
|
, qtscript, qtsvg, qtquickcontrols, qtwebengine
|
|
, krunner, shared-mime-info, kparts, knewstuff
|
|
, gpsd, perl
|
|
}:
|
|
|
|
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 = [
|
|
qtscript qtsvg qtquickcontrols qtwebengine shared-mime-info krunner kparts
|
|
knewstuff gpsd
|
|
];
|
|
preConfigure = ''
|
|
cmakeFlags+=" -DINCLUDE_INSTALL_DIR=''${!outputDev}/include"
|
|
'';
|
|
}
|