summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/kde-frameworks/kguiaddons.nix
blob: 4619dea4f0817017fb49cde99e6da9fb1ee1315c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  lib,
  stdenv,
  mkDerivation,
  cmake,
  pkg-config,
  extra-cmake-modules,
  wayland-scanner,
  qtbase,
  qtx11extras,
  wayland,
  kdePackages,
}:

mkDerivation {
  pname = "kguiaddons";

  nativeBuildInputs = [
    cmake
    pkg-config
    extra-cmake-modules
  ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [
    wayland-scanner
  ];
  buildInputs = [
    qtx11extras
  ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [
    wayland
    kdePackages.plasma-wayland-protocols
  ];
  propagatedBuildInputs = [ qtbase ];

  outputs = [
    "out"
    "dev"
  ];

  meta.homepage = "https://invent.kde.org/frameworks/kguiaddons";
}