nixpkgs/pkgs/development/libraries/qt-5/5.8/qtserialport/default.nix

15 lines
294 B
Nix
Raw Normal View History

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