3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/apps/file-roller/default.nix

41 lines
1.4 KiB
Nix
Raw Normal View History

2018-03-14 00:39:32 +00:00
{ stdenv, fetchurl, glib, gtk, meson, ninja, pkgconfig, gnome3, gettext, itstool, libxml2, libarchive
, file, json-glib, python3, wrapGAppsHook, desktop-file-utils, libnotify, nautilus, glibcLocales }:
stdenv.mkDerivation rec {
name = "file-roller-${version}";
2018-07-31 22:00:17 +01:00
version = "3.28.1";
src = fetchurl {
url = "mirror://gnome/sources/file-roller/${gnome3.versionBranch version}/${name}.tar.xz";
2018-07-31 22:00:17 +01:00
sha256 = "09y2blmlsccfxc2npcayhicq00r9n03897s1aizkahn1m970hjsp";
};
2018-03-14 00:39:32 +00:00
LANG = "en_US.UTF-8"; # postinstall.py
nativeBuildInputs = [ meson ninja gettext itstool pkgconfig libxml2 python3 wrapGAppsHook glibcLocales desktop-file-utils ];
2018-03-14 00:39:32 +00:00
buildInputs = [ glib gtk json-glib libarchive file gnome3.defaultIconTheme libnotify nautilus ];
PKG_CONFIG_LIBNAUTILUS_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/lib/nautilus/extensions-3.0";
2018-03-14 00:39:32 +00:00
postPatch = ''
chmod +x postinstall.py # patchShebangs requires executable file
patchShebangs postinstall.py
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = "file-roller";
attrPath = "gnome3.file-roller";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/FileRoller;
description = "Archive manager for the GNOME desktop environment";
2018-03-14 00:39:32 +00:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}