about summary refs log tree commit diff
path: root/pkgs/desktops/xfce/core/thunarx-2-dev.nix
blob: 2cce01b75e7c2f908dde0efe4c2cae5d563e9b91 (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
38
{ stdenv, fetchurl, pkgconfig, intltool
, gtk, dbus_glib, libstartup_notification, libnotify, libexif, pcre, udev
, exo, libxfce4util
, xfconf, libxfce4ui
}:

stdenv.mkDerivation rec {
  host_p_name = "thunar";
  p_name = "thunarx-2-dev";
  ver_maj = "1.6";
  ver_min = "6";

  src = fetchurl {
    url = "mirror://xfce/src/xfce/${host_p_name}/${ver_maj}/Thunar-${ver_maj}.${ver_min}.tar.bz2";
    sha256 = "1cl9v3rdzipyyxml3pyrzspxfmmssz5h5snpj18irq4an42539dr";
  };
  name = "${p_name}-${ver_maj}.${ver_min}";

  preBuild = ''
    cd thunarx
  '';

  buildInputs = [
    pkgconfig intltool
    gtk dbus_glib libstartup_notification libnotify libexif pcre udev
    exo libxfce4util 
    xfconf libxfce4ui
  ];

  enableParallelBuilding = true;

  meta = {
    homepage = http://thunar.xfce.org/;
    description = "Thunar Extension Framework";
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = stdenv.lib.platforms.linux;
  };
}