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.
13 lines
364 B
Nix
13 lines
364 B
Nix
{ stdenv, qtSubmodule, lib, copyPathsToStore, qtbase, substituteAll, systemd }:
|
|
|
|
let inherit (lib) getLib optional; in
|
|
|
|
qtSubmodule {
|
|
name = "qtserialport";
|
|
qtInputs = [ qtbase ];
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
NIX_CFLAGS_COMPILE =
|
|
optional stdenv.isLinux
|
|
''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
|
|
}
|