aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/libraries/qt-5/modules/qtserialport.nix
blob: 516d38340dc5364e1da4b1eec2d4f0419808b939 (plain)
1
2
3
4
5
6
7
8
9
10
11
{ qtModule, stdenv, lib, qtbase, systemd }:

let inherit (lib) getLib optional; in

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