nixpkgs/pkgs/development/libraries/qt-5/5.8/qtserialport/default.nix
2017-04-08 09:54:46 +02:00

14 lines
294 B
Nix

{ stdenv, qtSubmodule, qtbase, substituteAll, systemd }:
with stdenv.lib;
qtSubmodule {
name = "qtserialport";
qtInputs = [ qtbase ];
patches = optionals (stdenv.isLinux) [
(substituteAll {
src = ./0001-dlopen-serialport-udev.patch;
libudev = systemd.lib;
})
];
}