nixpkgs/pkgs/desktops/gnome-3/3.12/apps/file-roller/default.nix

31 lines
903 B
Nix
Raw Normal View History

2014-01-09 18:31:27 +01:00
{ stdenv, fetchurl, glib, pkgconfig, gnome3, intltool, itstool, libxml2, libarchive
, attr, bzip2, acl, makeWrapper }:
stdenv.mkDerivation rec {
name = "file-roller-${version}";
2014-05-20 17:14:00 +02:00
majVersion = "3.12";
version = "${majVersion}.2";
2014-01-09 18:31:27 +01:00
src = fetchurl {
url = "mirror://gnome/sources/file-roller/${majVersion}/${name}.tar.xz";
2014-05-20 17:14:00 +02:00
sha256 = "0677be6618dba609eae2d76420e8a5a8d9a414bcec654e7b71e65b941764eacf";
2014-01-09 18:31:27 +01:00
};
# 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 ];
2014-04-08 20:27:37 +02:00
preFixup = ''
2014-01-09 18:31:27 +01:00
wrapProgram "$out/bin/file-roller" \
2014-04-08 20:27:37 +02:00
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
2014-04-20 17:17:08 +02:00
rm $out/share/icons/hicolor/icon-theme.cache
2014-01-09 18:31:27 +01:00
'';
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}