2021-10-21 07:52:16 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, desktop-file-utils
|
|
|
|
, gettext
|
|
|
|
, glibcLocales
|
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
2024-04-24 23:17:28 +00:00
|
|
|
, wrapGAppsHook4
|
2021-10-21 07:52:16 +00:00
|
|
|
, cpio
|
|
|
|
, glib
|
|
|
|
, gnome
|
2024-03-26 20:26:01 +00:00
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
2022-02-27 11:08:57 +00:00
|
|
|
, libhandy
|
2021-10-21 07:52:16 +00:00
|
|
|
, json-glib
|
|
|
|
, libarchive
|
2024-03-26 20:26:01 +00:00
|
|
|
, libportal-gtk4
|
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";
|
2024-05-25 17:49:38 +00:00
|
|
|
version = "44.3";
|
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";
|
2024-05-25 17:49:38 +00:00
|
|
|
hash = "sha256-BMinRiX+yEJn/exAMGr7QQS9My2FBh4NNtSrBTOt+ko=";
|
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
|
2024-04-24 23:17:28 +00:00
|
|
|
wrapGAppsHook4
|
2021-10-21 07:52:16 +00:00
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-10-21 07:52:16 +00:00
|
|
|
buildInputs = [
|
|
|
|
cpio
|
|
|
|
glib
|
2024-03-26 20:26:01 +00:00
|
|
|
gtk4
|
|
|
|
libadwaita
|
2022-02-27 11:08:57 +00:00
|
|
|
libhandy
|
2021-10-21 07:52:16 +00:00
|
|
|
json-glib
|
|
|
|
libarchive
|
2024-03-26 20:26:01 +00:00
|
|
|
libportal-gtk4
|
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";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-05-01 05:03:10 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/file-roller";
|
2024-10-04 19:35:12 +00:00
|
|
|
changelog = "https://gitlab.gnome.org/GNOME/file-roller/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
|
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
|
|
|
})
|