mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +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"'';
|
|
}
|