2019-09-02 16:45:54 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, gettext
|
|
|
|
, libxml2
|
|
|
|
, desktop-file-utils
|
|
|
|
, python3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gtk3
|
|
|
|
, gnome3
|
|
|
|
, gnome-autoar
|
|
|
|
, glib-networking
|
|
|
|
, shared-mime-info
|
|
|
|
, libnotify
|
|
|
|
, libexif
|
|
|
|
, libseccomp
|
|
|
|
, exempi
|
|
|
|
, librsvg
|
|
|
|
, tracker
|
|
|
|
, tracker-miners
|
|
|
|
, gexiv2
|
|
|
|
, libselinux
|
|
|
|
, gdk-pixbuf
|
|
|
|
, substituteAll
|
|
|
|
, gnome-desktop
|
|
|
|
, gst_all_1
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, gobject-introspection
|
2018-12-13 08:13:18 +00:00
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2019-09-02 16:45:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-15 12:25:39 +00:00
|
|
|
pname = "nautilus";
|
2020-04-08 05:10:27 +00:00
|
|
|
version = "3.36.1.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-09-02 16:45:54 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-04-08 05:10:27 +00:00
|
|
|
sha256 = "1pkvxyfm2fl06fpyq2jr147hhpc91y4rgdlxlilg7n8ih982y9gr";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-12-13 08:13:18 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
2019-09-02 16:45:54 +00:00
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
libxml2
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
2018-12-13 08:13:18 +00:00
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-15 12:25:39 +00:00
|
|
|
buildInputs = [
|
2019-09-02 16:45:54 +00:00
|
|
|
exempi
|
|
|
|
gexiv2
|
|
|
|
glib-networking
|
|
|
|
gnome-desktop
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gtk3
|
|
|
|
libexif
|
|
|
|
libnotify
|
|
|
|
libseccomp
|
|
|
|
libselinux
|
|
|
|
shared-mime-info
|
|
|
|
tracker
|
|
|
|
tracker-miners
|
2018-03-15 12:25:39 +00:00
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2019-09-02 16:45:54 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
gnome-autoar
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2017-09-30 22:22:36 +00:00
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
# Thumbnailers
|
2019-05-22 11:03:39 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
|
2017-09-30 22:22:36 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "${librsvg}/share"
|
2018-02-25 02:23:58 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
|
2017-09-30 22:22:36 +00:00
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
2017-10-04 21:50:14 +00:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs build-aux/meson/postinstall.py
|
|
|
|
'';
|
|
|
|
|
2018-12-13 08:13:18 +00:00
|
|
|
patches = [
|
|
|
|
./extension_dir.patch
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-15 12:25:39 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-03-15 12:25:39 +00:00
|
|
|
description = "The file manager for GNOME";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Files";
|
2018-03-15 12:25:39 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
}
|