mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
12 lines
257 B
Nix
12 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"'';
|
|
}
|