about summary refs log tree commit diff
path: root/pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin/default.nix
blob: 53c154bdeecc7edcf1a003a2f4382091e27b2cfd (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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib
, mkXfceDerivation
, imagemagick
, libwnck
, libxfce4ui
, python3
, xfce4-panel
, xfconf
}:

mkXfceDerivation {
  category = "panel-plugins";
  pname = "xfce4-windowck-plugin";
  version = "0.5.0";
  rev-prefix = "v";
  odd-unstable = false;
  sha256 = "sha256-MhNSgI74VLdoS5yL6nfRrVrPvv7+0P5meO4zQheYFzo=";

  buildInputs = [
    imagemagick
    libwnck
    libxfce4ui
    python3
    xfce4-panel
    xfconf
  ];

  postPatch = ''
    patchShebangs themes/windowck{,-dark}/{xfwm4,unity}/generator.py
  '';

  meta = with lib; {
    description = "Xfce panel plugin for displaying window title and buttons";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ ] ++ teams.xfce.members;
  };
}