gnome3.gedit: clean up

This commit is contained in:
Jan Tojnar 2018-03-22 19:47:02 +01:00
parent b4b00016a2
commit cb23f4dbee
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,7 +1,7 @@
{ stdenv, intltool, fetchurl, enchant, isocodes
{ stdenv, intltool, fetchurl
, pkgconfig, gtk3, glib
, bash, wrapGAppsHook, itstool, libsoup, libxml2
, gnome3, librsvg, gdk_pixbuf, file, gspell }:
, wrapGAppsHook, itstool, libsoup, libxml2
, gnome3, gspell }:
stdenv.mkDerivation rec {
name = "gedit-${version}";
@ -12,24 +12,23 @@ stdenv.mkDerivation rec {
sha256 = "0pyam0zi44xq776x20ycqnvmf86l98jns8ldv4m81gnp9wnhmycv";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gedit"; attrPath = "gnome3.gedit"; };
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool itstool libxml2 ];
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard ];
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = [ gtk3 glib intltool itstool enchant isocodes
gdk_pixbuf gnome3.defaultIconTheme librsvg libsoup
gnome3.libpeas gnome3.gtksourceview libxml2
gnome3.gsettings-desktop-schemas gnome3.dconf file gspell ];
buildInputs = [
gtk3 glib
gnome3.defaultIconTheme libsoup
gnome3.libpeas gnome3.gtksourceview
gnome3.gsettings-desktop-schemas gspell
];
enableParallelBuilding = true;
preFixup = ''
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ gnome3.libpeas gnome3.gtksourceview ]}")
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = "gedit";
attrPath = "gnome3.gedit";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Gedit;