2015-10-10 18:16:42 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool
|
2018-02-25 03:23:58 +01:00
|
|
|
, gtk, dbus-glib, libstartup_notification, libnotify, libexif, pcre, udev
|
2018-07-21 23:20:01 +02:00
|
|
|
, exo, libxfce4util, xfconf, xfce4-panel, hicolor-icon-theme, wrapGAppsHook
|
2015-10-10 18:16:42 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "thunar";
|
|
|
|
ver_maj = "1.6";
|
|
|
|
ver_min = "10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/Thunar-${ver_maj}.${ver_min}.tar.bz2";
|
|
|
|
sha256 = "7e9d24067268900e5e44d3325e60a1a2b2f8f556ec238ec12574fbea15fdee8a";
|
|
|
|
};
|
|
|
|
|
|
|
|
name = "${p_name}-build-${ver_maj}.${ver_min}";
|
|
|
|
|
|
|
|
patches = [ ./thunarx_plugins_directory.patch ];
|
|
|
|
|
2016-05-30 01:10:28 +02:00
|
|
|
postPatch = ''
|
|
|
|
sed -i -e 's|thunar_dialogs_show_insecure_program (parent, _(".*"), file, exec)|1|' thunar/thunar-file.c
|
|
|
|
'';
|
|
|
|
|
2017-11-16 11:06:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
2015-10-10 18:16:42 +02:00
|
|
|
buildInputs = [
|
2017-09-14 21:24:37 +02:00
|
|
|
intltool
|
2018-02-25 03:23:58 +01:00
|
|
|
gtk dbus-glib libstartup_notification libnotify libexif pcre udev
|
2018-03-12 23:55:30 +01:00
|
|
|
exo libxfce4util xfconf xfce4-panel
|
2018-07-21 23:20:01 +02:00
|
|
|
hicolor-icon-theme
|
2015-10-10 18:16:42 +02:00
|
|
|
];
|
|
|
|
# TODO: optionality?
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://thunar.xfce.org/;
|
|
|
|
description = "Xfce file manager";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
};
|
2016-05-30 01:10:28 +02:00
|
|
|
}
|