nixpkgs/pkgs/development/libraries/qt-5/modules/qtserialport.nix
2021-05-14 05:53:30 -05:00

12 lines
258 B
Nix

{ 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"'';
}