2017-03-25 16:16:51 -07:00
|
|
|
{ stdenv, qtSubmodule, qtbase, substituteAll, systemd }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2017-02-28 07:37:57 -08:00
|
|
|
|
|
|
|
qtSubmodule {
|
|
|
|
name = "qtserialport";
|
|
|
|
qtInputs = [ qtbase ];
|
2017-03-25 16:16:51 -07:00
|
|
|
patches = optionals (stdenv.isLinux) [
|
2017-02-28 07:37:57 -08:00
|
|
|
(substituteAll {
|
|
|
|
src = ./0001-dlopen-serialport-udev.patch;
|
|
|
|
libudev = systemd.lib;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
}
|