about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/qt-6/modules/qtconnectivity.nix
blob: 46d8f925beb0a28cf639a523bb2a222874844161 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ qtModule
, lib
, stdenv
, qtbase
, qtdeclarative
, bluez
, pkg-config
, IOBluetooth
, PCSC
}:

qtModule {
  pname = "qtconnectivity";
  nativeBuildInputs = [ pkg-config ];
  buildInputs = lib.optionals stdenv.isLinux [ bluez ];
  propagatedBuildInputs = [
    qtbase
    qtdeclarative
  ] ++ lib.optionals stdenv.isDarwin [
    IOBluetooth
    PCSC
  ];
}