aboutsummaryrefslogtreecommitdiff
path: root/pkgs/desktops/xfce/thunar-plugins
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-05 17:58:20 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-19 18:47:03 -0500
commit4615fb8311bacb845ee536a29a2589a3ffb7d484 (patch)
tree60600ff0655e686ed279e1984909d6b50bf8bb4d /pkgs/desktops/xfce/thunar-plugins
parentaf97f57fdb0dca15ac43fb7fd7060b90d6ecdf95 (diff)
xfce.thunar-archive-plugin: 0.3.1 -> 0.4.0
Diffstat (limited to 'pkgs/desktops/xfce/thunar-plugins')
-rw-r--r--pkgs/desktops/xfce/thunar-plugins/archive/default.nix61
1 files changed, 21 insertions, 40 deletions
diff --git a/pkgs/desktops/xfce/thunar-plugins/archive/default.nix b/pkgs/desktops/xfce/thunar-plugins/archive/default.nix
index 3d621037b027..e3c72d3b50e2 100644
--- a/pkgs/desktops/xfce/thunar-plugins/archive/default.nix
+++ b/pkgs/desktops/xfce/thunar-plugins/archive/default.nix
@@ -1,57 +1,38 @@
-{ stdenv, fetchFromGitHub, pkgconfig, xfce4-dev-tools
-, gtk2
+{ stdenv
+, mkXfceDerivation
+, fetchFromGitHub
+, gtk3
, thunar
-, exo, libxfce4util, libxfce4ui
-, xfconf, udev, libnotify, hicolor-icon-theme
+, exo
+, libxfce4util
+, intltool
+, gettext
}:
-stdenv.mkDerivation rec {
- p_name = "thunar-archive-plugin";
- ver_maj = "0.3";
- ver_min = "1";
- name = "${p_name}-${ver_maj}.${ver_min}";
+mkXfceDerivation rec {
+ category = "thunar-plugins";
+ pname = "thunar-archive-plugin";
+ version = "0.4.0";
- src = fetchFromGitHub {
- owner = "xfce-mirror";
- repo = p_name;
- rev = "72b23eefc348bee31e06a04f968e430bc7dfa51e";
- sha256 = "0l8715x23qmk0jkywiza3qx0xxmafxi4grp7p82kkc5df5ccs8kx";
- };
+ sha256 = "1793zicm00fail4iknliwy2b668j239ndxhc9hy6jarvdyp08h38";
+
+ nativeBuildInputs = [
+ intltool
+ gettext
+ ];
- nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- xfce4-dev-tools
thunar
- exo gtk2 libxfce4util libxfce4ui
- xfconf udev libnotify hicolor-icon-theme
+ exo
+ gtk3
+ libxfce4util
];
preConfigure = ''
./autogen.sh
'';
- /*
- File roller `*.desktop` situation
- ---------------------------------
-
- For some odd reason, in nix os, gnome file-roller's desktop file has the non-standard name
- `org.gnome.FileRoller.desktop`. In order to be compatible with this odd context, create
- a `*.tap` file of the same name.
-
- IMPORTANT: Adapt or remove the symbolic link if the situation changes.
- */
- preFixup = ''
- pushd $out/libexec/thunar-archive-plugin > /dev/null
- ln -s ./file-roller.tap org.gnome.FileRoller.tap
- popd > /dev/null
- '';
-
- enableParallelBuilding = true;
-
meta = with stdenv.lib; {
- homepage = http://foo-projects.org/~benny/projects/thunar-archive-plugin/;
description = "Thunar plugin providing file context menus for archives";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
};
}