3
0
Fork 0
forked from mirrors/nixpkgs

xfce.thunar-archive-plugin: 0.3.1 -> 0.4.0

This commit is contained in:
worldofpeace 2019-11-05 17:58:20 -05:00
parent af97f57fdb
commit 4615fb8311

View file

@ -1,57 +1,38 @@
{ stdenv, fetchFromGitHub, pkgconfig, xfce4-dev-tools { stdenv
, gtk2 , mkXfceDerivation
, fetchFromGitHub
, gtk3
, thunar , thunar
, exo, libxfce4util, libxfce4ui , exo
, xfconf, udev, libnotify, hicolor-icon-theme , libxfce4util
, intltool
, gettext
}: }:
stdenv.mkDerivation rec { mkXfceDerivation rec {
p_name = "thunar-archive-plugin"; category = "thunar-plugins";
ver_maj = "0.3"; pname = "thunar-archive-plugin";
ver_min = "1"; version = "0.4.0";
name = "${p_name}-${ver_maj}.${ver_min}";
src = fetchFromGitHub { sha256 = "1793zicm00fail4iknliwy2b668j239ndxhc9hy6jarvdyp08h38";
owner = "xfce-mirror";
repo = p_name; nativeBuildInputs = [
rev = "72b23eefc348bee31e06a04f968e430bc7dfa51e"; intltool
sha256 = "0l8715x23qmk0jkywiza3qx0xxmafxi4grp7p82kkc5df5ccs8kx"; gettext
}; ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ buildInputs = [
xfce4-dev-tools
thunar thunar
exo gtk2 libxfce4util libxfce4ui exo
xfconf udev libnotify hicolor-icon-theme gtk3
libxfce4util
]; ];
preConfigure = '' preConfigure = ''
./autogen.sh ./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; { meta = with stdenv.lib; {
homepage = http://foo-projects.org/~benny/projects/thunar-archive-plugin/;
description = "Thunar plugin providing file context menus for archives"; description = "Thunar plugin providing file context menus for archives";
license = licenses.gpl2Plus;
platforms = platforms.linux;
}; };
} }