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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

79 lines
1.3 KiB
Nix
Raw Normal View History

2021-10-21 07:52:16 +00:00
{ lib
, stdenv
, fetchurl
, 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
, libhandy
2021-10-21 07:52:16 +00:00
, json-glib
, libarchive
, libportal-gtk3
2021-10-21 07:52:16 +00:00
, nautilus
}:
stdenv.mkDerivation (finalAttrs: {
pname = "file-roller";
version = "43.1";
src = fetchurl {
url = "mirror://gnome/sources/file-roller/${lib.versions.major finalAttrs.version}/file-roller-${finalAttrs.version}.tar.xz";
sha256 = "hJlAI5lyk76zRdl5Pbj18Lu0H6oVXG/7SDKPIDlXrQg=";
};
2021-10-21 07:52:16 +00:00
nativeBuildInputs = [
desktop-file-utils
gettext
glibcLocales
itstool
libxml2
meson
ninja
pkg-config
python3
wrapGAppsHook
];
2021-10-21 07:52:16 +00:00
buildInputs = [
cpio
glib
gtk3
libhandy
2021-10-21 07:52:16 +00:00
json-glib
libarchive
libportal-gtk3
2021-10-21 07:52:16 +00:00
nautilus
];
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 = {
updateScript = gnome.updateScript {
2018-03-14 00:39:32 +00:00
packageName = "file-roller";
attrPath = "gnome.file-roller";
2018-03-14 00:39:32 +00:00
};
};
meta = with 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;
2021-10-21 09:07:23 +00:00
maintainers = teams.gnome.members ++ teams.pantheon.members;
mainProgram = "file-roller";
};
})