nixpkgs/pkgs/desktops/gnome-3/core/nautilus/default.nix
Domen Kožar d33e5eadd0 Add gnome3.nautilus and remove gnome2.nautilus (didn't compile)
Some icons are still missing (and theme), didn't find a way to fix that.
2014-01-10 01:45:34 +01:00

27 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;
};
}