Add gnome3.file-roller

This commit is contained in:
Domen Kožar 2014-01-09 18:31:27 +01:00
parent d33e5eadd0
commit e8416dbe40
2 changed files with 31 additions and 0 deletions

View File

@ -56,6 +56,8 @@ rec {
#### Apps (http://ftp.acc.umu.se/pub/GNOME/apps/)
file-roller = callPackage ./desktop/file-roller { };
gnome_dictionary = callPackage ./desktop/gnome-dictionary { };
gnome_desktop = callPackage ./desktop/gnome-desktop { };

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, glib, pkgconfig, gnome3, intltool, itstool, libxml2, libarchive
, attr, bzip2, acl, makeWrapper }:
stdenv.mkDerivation rec {
name = "file-roller-${version}";
majVersion = "3.10";
version = "${majVersion}.2.1";
src = fetchurl {
url = "mirror://gnome/sources/file-roller/${majVersion}/${name}.tar.xz";
sha256 = "14374z1yfbjlgpl4k1ih8b35x8kzvh99y22rwwkc2wfz0d0i1qgx";
};
# TODO: support nautilus
# it tries to create {nautilus}/lib/nautilus/extensions-3.0/libnautilus-fileroller.so
buildInputs = [ glib pkgconfig gnome3.gtk intltool itstool libxml2 libarchive
attr bzip2 acl makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/file-roller" \
--prefix XDG_DATA_DIRS : "${gnome3.gtk}/share:$out/share"
'';
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}