mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
24 lines
688 B
Nix
24 lines
688 B
Nix
{ 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"
|
|
'';
|
|
}
|