status-desktop/nix/pkgs/qt-5/modules/qtserialport.nix

8 lines
225 B
Nix

{ qtModule, stdenv, lib, qtbase, systemd }:
qtModule {
pname = "qtserialport";
qtInputs = [ qtbase ];
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isLinux "-DNIXPKGS_LIBUDEV=\"${lib.getLib systemd}/lib/libudev\"";
}