summary refs log tree commit diff
path: root/pkgs/desktops/xfce4-14/exo/default.nix
blob: 933fa595aada68e38b2f7da2df27dd5853b82876 (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
{ mkXfceDerivation, docbook_xsl, libxslt, perlPackages, gtk3
, libxfce4ui, libxfce4util }:

mkXfceDerivation rec {
  category = "xfce";
  pname = "exo";
  version = "4.14pre2";
  rev = "xfce-4.14pre2";

  sha256 = "0s91fv4yzafmdi25c63yin15sa25cfcyarpvavr4q3mmmiamzpi0";

  nativeBuildInputs = [ libxslt perlPackages.URI ];
  buildInputs = [ gtk3 libxfce4ui libxfce4util ];

  postPatch = ''
    substituteInPlace exo-helper/Makefile.am \
      --replace 'exo_helper_2_CFLAGS =' \
                'exo_helper_2_CFLAGS = $(GIO_UNIX_CFLAGS)'

    substituteInPlace docs/reference/Makefile.am \
      --replace http://docbook.sourceforge.net/release/xsl/current \
                ${docbook_xsl}/share/xml/docbook-xsl
  '';

  meta = {
    description = "Application library for Xfce";
  };
}