nixpkgs-suyu/pkgs/development/libraries/qt-5/modules/qtserialport.nix

11 lines
257 B
Nix

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