diff --git a/pkgs/desktops/gnome-3/apps/vinagre/default.nix b/pkgs/desktops/gnome-3/apps/vinagre/default.nix index 2299aa1fb26d..a8fe76ee03f9 100644 --- a/pkgs/desktops/gnome-3/apps/vinagre/default.nix +++ b/pkgs/desktops/gnome-3/apps/vinagre/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pkgconfig, gtk3, gnome3, vte, libxml2, gtk-vnc, intltool -, libsecret, itstool, makeWrapper, librsvg }: +, libsecret, itstool, wrapGAppsHook, librsvg }: stdenv.mkDerivation rec { name = "vinagre-${version}"; @@ -10,25 +10,25 @@ stdenv.mkDerivation rec { sha256 = "cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82"; }; - passthru = { - updateScript = gnome3.updateScript { packageName = "vinagre"; attrPath = "gnome3.vinagre"; }; - }; - - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ gtk3 vte libxml2 gtk-vnc intltool libsecret - itstool makeWrapper gnome3.defaultIconTheme librsvg ]; + nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook ]; + buildInputs = [ + gtk3 vte libxml2 gtk-vnc libsecret gnome3.defaultIconTheme librsvg + ]; NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral"; - preFixup = '' - wrapProgram "$out/bin/vinagre" \ - --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:$out/share" - ''; + passthru = { + updateScript = gnome3.updateScript { + packageName = "vinagre"; + attrPath = "gnome3.vinagre"; + }; + }; meta = with stdenv.lib; { - homepage = https://wiki.gnome.org/Apps/Vinagre; description = "Remote desktop viewer for GNOME"; - platforms = platforms.linux; + homepage = https://wiki.gnome.org/Apps/Vinagre; + license = licenses.gpl2Plus; maintainers = gnome3.maintainers; + platforms = platforms.linux; }; }