summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/kde-frameworks/kwayland.nix
blob: e9f76c10bed2c266b3025b23283dca784bffc9f7 (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
42
{
  mkDerivation,
  lib,
  cmake,
  pkg-config,
  extra-cmake-modules,
  wayland-scanner,
  kdePackages,
  qtbase,
  wayland,
  wayland-protocols,
  fetchpatch,
}:

mkDerivation {
  pname = "kwayland";

  patches = [
    (fetchpatch {
      url = "https://invent.kde.org/plasma/kwayland/-/commit/0954a179d4ef72597efea44a91071eb9a55a385f.diff";
      hash = "sha256-TB9ZIYV58E41rA8mP5MXjIKZUOdH/rZfOYsgUlV+QLk=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config
    extra-cmake-modules
    wayland-scanner
  ];
  buildInputs = [
    kdePackages.plasma-wayland-protocols
    wayland
    wayland-protocols
  ];
  propagatedBuildInputs = [ qtbase ];
  outputs = [
    "out"
    "dev"
  ];
  meta.platforms = lib.platforms.linux ++ lib.platforms.freebsd;
}