2017-05-23 17:09:04 +01:00
|
|
|
{ stdenv, qtSubmodule, lib, copyPathsToStore, qtbase, substituteAll, systemd }:
|
2017-03-25 23:16:51 +00:00
|
|
|
|
2017-05-23 17:09:04 +01:00
|
|
|
let inherit (lib) getLib optional; in
|
2017-02-28 15:37:57 +00:00
|
|
|
|
|
|
|
qtSubmodule {
|
|
|
|
name = "qtserialport";
|
|
|
|
qtInputs = [ qtbase ];
|
2017-05-23 17:09:04 +01:00
|
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
|
|
NIX_CFLAGS_COMPILE =
|
|
|
|
optional stdenv.isLinux
|
|
|
|
''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
|
2017-02-28 15:37:57 +00:00
|
|
|
}
|