forked from mirrors/nixpkgs
22b10bac78
Qt 5.8 is immediately removed because its support window is ended. The qtlocation module is built with `enableParallelBuilding = false` so that the clipper library will be built before the components which link to it. kjs now depends directly on pcre. The dependency was previously propagated from qtbase, which now depends on pcre2.
21 lines
528 B
Nix
21 lines
528 B
Nix
{ stdenv, qtSubmodule, copyPathsToStore, python2, qtbase, qtsvg, qtxmlpatterns }:
|
|
|
|
with stdenv.lib;
|
|
|
|
qtSubmodule {
|
|
name = "qtdeclarative";
|
|
patches = copyPathsToStore (readPathsFromFile ./. ./series);
|
|
qtInputs = [ qtbase qtsvg qtxmlpatterns ];
|
|
nativeBuildInputs = [ python2 ];
|
|
outputs = [ "out" "dev" "bin" ];
|
|
|
|
preConfigure = ''
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
|
|
'';
|
|
|
|
postInstall = ''
|
|
moveToOutput "$qtPluginPrefix" "$bin"
|
|
moveToOutput "$qtQmlPrefix" "$bin"
|
|
'';
|
|
}
|