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

12 lines
257 B
Nix
Raw Normal View History

{ qtModule, stdenv, lib, qtbase, systemd }:
2017-03-25 23:16:51 +00:00
let inherit (lib) getLib optional; in
qtModule {
name = "qtserialport";
qtInputs = [ qtbase ];
NIX_CFLAGS_COMPILE =
optional stdenv.isLinux
''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
}