2018-07-20 17:44:44 -07:00
|
|
|
{ qtModule, stdenv, lib, qtbase, systemd }:
|
2017-03-25 16:16:51 -07:00
|
|
|
|
2017-05-23 09:09:04 -07:00
|
|
|
let inherit (lib) getLib optional; in
|
2017-02-28 07:37:57 -08:00
|
|
|
|
2017-10-24 04:39:54 -07:00
|
|
|
qtModule {
|
2017-02-28 07:37:57 -08:00
|
|
|
name = "qtserialport";
|
|
|
|
qtInputs = [ qtbase ];
|
2017-05-23 09:09:04 -07:00
|
|
|
NIX_CFLAGS_COMPILE =
|
|
|
|
optional stdenv.isLinux
|
|
|
|
''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
|
2017-02-28 07:37:57 -08:00
|
|
|
}
|