28 lines
944 B
Nix
28 lines
944 B
Nix
|
{ stdenv, fetchurl, pkgconfig, libxml2, dbus_glib, shared_mime_info, libexif
|
||
|
, gtk, gnome3, libunique, intltool, gobjectIntrospection
|
||
|
, libnotify, makeWrapper, exempi }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "nautilus-3.10.1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "mirror://gnome/sources/nautilus/3.10/${name}.tar.xz";
|
||
|
sha256 = "09y7dxaw4bjgan3q10azky0h6kndqv2lfn75iip12zchf2hk59gn";
|
||
|
};
|
||
|
|
||
|
configureFlags = [ "--enable-tracker=no" ];
|
||
|
|
||
|
buildInputs = [ pkgconfig libxml2 dbus_glib shared_mime_info libexif gtk libunique intltool exempi
|
||
|
gnome3.gnome_desktop gnome3.gsettings_desktop_schemas libnotify makeWrapper ];
|
||
|
|
||
|
postInstall = ''
|
||
|
wrapProgram "$out/bin/nautilus" \
|
||
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||
|
--prefix XDG_DATA_DIRS : "${gtk}/share:${gnome3.gnome_icon_theme}:${gnome3.gsettings_desktop_schemas}/share:$out/share"
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|