mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
20 lines
567 B
Nix
20 lines
567 B
Nix
{ mkDerivation, lib
|
|
, extra-cmake-modules, kdoctools
|
|
, qtscript, qtsvg, qtquickcontrols, qtwebengine
|
|
, krunner, shared-mime-info, kparts, knewstuff
|
|
, gpsd, perl
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "marble";
|
|
meta.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"
|
|
'';
|
|
}
|