2017-10-24 12:39:54 +01:00
|
|
|
{ qtModule, stdenv, lib, 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
|
|
|
|
2017-10-24 12:39:54 +01:00
|
|
|
qtModule {
|
2017-02-28 15:37:57 +00:00
|
|
|
name = "qtserialport";
|
|
|
|
qtInputs = [ qtbase ];
|
2017-05-23 17:09:04 +01:00
|
|
|
NIX_CFLAGS_COMPILE =
|
|
|
|
optional stdenv.isLinux
|
|
|
|
''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
|
2017-02-28 15:37:57 +00:00
|
|
|
}
|