2017-10-24 13:39:54 +02:00
|
|
|
{ qtModule, stdenv, lib, qtbase, substituteAll, systemd }:
|
2017-03-26 00:16:51 +01:00
|
|
|
|
2017-05-23 18:09:04 +02:00
|
|
|
let inherit (lib) getLib optional; in
|
2017-02-28 16:37:57 +01:00
|
|
|
|
2017-10-24 13:39:54 +02:00
|
|
|
qtModule {
|
2017-02-28 16:37:57 +01:00
|
|
|
name = "qtserialport";
|
|
|
|
qtInputs = [ qtbase ];
|
2017-05-23 18:09:04 +02:00
|
|
|
NIX_CFLAGS_COMPILE =
|
|
|
|
optional stdenv.isLinux
|
|
|
|
''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
|
2017-02-28 16:37:57 +01:00
|
|
|
}
|