mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
13 lines
364 B
Nix
13 lines
364 B
Nix
{ stdenv, qtSubmodule, lib, copyPathsToStore, qtbase, substituteAll, systemd }:
|
|
|
|
let inherit (lib) getLib optional; in
|
|
|
|
qtSubmodule {
|
|
name = "qtserialport";
|
|
qtInputs = [ qtbase ];
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
NIX_CFLAGS_COMPILE =
|
|
optional stdenv.isLinux
|
|
''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
|
|
}
|