2021-10-21 07:52:16 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
2022-07-28 01:18:23 +00:00
|
|
|
, fetchpatch
|
2021-10-21 07:52:16 +00:00
|
|
|
, desktop-file-utils
|
|
|
|
, gettext
|
|
|
|
, glibcLocales
|
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, cpio
|
|
|
|
, glib
|
|
|
|
, gnome
|
|
|
|
, gtk3
|
2022-02-27 11:08:57 +00:00
|
|
|
, libhandy
|
2021-10-21 07:52:16 +00:00
|
|
|
, json-glib
|
|
|
|
, libarchive
|
2022-08-18 20:41:05 +00:00
|
|
|
, libportal-gtk3
|
2021-10-21 07:52:16 +00:00
|
|
|
, nautilus
|
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2023-12-08 06:37:59 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "file-roller";
|
2023-12-08 06:37:59 +00:00
|
|
|
version = "43.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-12-08 06:37:59 +00:00
|
|
|
url = "mirror://gnome/sources/file-roller/${lib.versions.major finalAttrs.version}/file-roller-${finalAttrs.version}.tar.xz";
|
|
|
|
sha256 = "hJlAI5lyk76zRdl5Pbj18Lu0H6oVXG/7SDKPIDlXrQg=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2021-10-21 07:52:16 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
glibcLocales
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-10-21 07:52:16 +00:00
|
|
|
buildInputs = [
|
|
|
|
cpio
|
|
|
|
glib
|
|
|
|
gtk3
|
2022-02-27 11:08:57 +00:00
|
|
|
libhandy
|
2021-10-21 07:52:16 +00:00
|
|
|
json-glib
|
|
|
|
libarchive
|
2022-08-18 20:41:05 +00:00
|
|
|
libportal-gtk3
|
2021-10-21 07:52:16 +00:00
|
|
|
nautilus
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-14 00:39:32 +00:00
|
|
|
postPatch = ''
|
2018-09-05 00:43:48 +00:00
|
|
|
patchShebangs data/set-mime-type-entry.py
|
2018-03-14 00:39:32 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-14 00:39:32 +00:00
|
|
|
packageName = "file-roller";
|
2021-05-07 21:18:14 +00:00
|
|
|
attrPath = "gnome.file-roller";
|
2018-03-14 00:39:32 +00:00
|
|
|
};
|
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/FileRoller";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Archive manager for the GNOME desktop environment";
|
2018-03-14 00:39:32 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
2021-10-21 09:07:23 +00:00
|
|
|
maintainers = teams.gnome.members ++ teams.pantheon.members;
|
2023-07-31 19:49:41 +00:00
|
|
|
mainProgram = "file-roller";
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
2023-12-08 06:37:59 +00:00
|
|
|
})
|