about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/qt-5/modules/qtserialport.nix
blob: caeaedbcf3d5fb088d79144632c1b89ce53aeb4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ qtModule, stdenv, lib, qtbase, systemd }:

let inherit (lib) getLib optional; in

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