2021-01-16 18:21:50 -08:00
|
|
|
{ lib, stdenv, fetchurl, glib, gtk3, meson, ninja, pkg-config, gnome3, gettext, itstool, libxml2, libarchive
|
2018-09-03 15:13:41 -07:00
|
|
|
, file, json-glib, python3, wrapGAppsHook, desktop-file-utils, libnotify, nautilus, glibcLocales }:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "file-roller";
|
2020-08-21 08:27:22 -07:00
|
|
|
version = "3.38.0";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 05:21:58 -08:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-08-21 08:27:22 -07:00
|
|
|
sha256 = "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
|
|
|
|
2018-03-13 17:39:32 -07:00
|
|
|
LANG = "en_US.UTF-8"; # postinstall.py
|
|
|
|
|
2021-01-16 18:21:50 -08:00
|
|
|
nativeBuildInputs = [ meson ninja gettext itstool pkg-config libxml2 python3 wrapGAppsHook glibcLocales desktop-file-utils ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2019-02-13 13:47:50 -08:00
|
|
|
buildInputs = [ glib gtk3 json-glib libarchive file gnome3.adwaita-icon-theme libnotify nautilus ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2018-04-26 13:59:34 -07:00
|
|
|
PKG_CONFIG_LIBNAUTILUS_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/lib/nautilus/extensions-3.0";
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2018-03-13 17:39:32 -07:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x postinstall.py # patchShebangs requires executable file
|
|
|
|
patchShebangs postinstall.py
|
2018-09-04 17:43:48 -07:00
|
|
|
patchShebangs data/set-mime-type-entry.py
|
2018-03-13 17:39:32 -07:00
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "file-roller";
|
|
|
|
attrPath = "gnome3.file-roller";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/FileRoller";
|
2016-09-18 12:35:23 -07:00
|
|
|
description = "Archive manager for the GNOME desktop environment";
|
2018-03-13 17:39:32 -07:00
|
|
|
license = licenses.gpl2Plus;
|
2016-09-18 12:35:23 -07:00
|
|
|
platforms = platforms.linux;
|
2020-04-01 05:40:51 -07:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 12:35:23 -07:00
|
|
|
};
|
|
|
|
}
|