2018-03-22 18:47:02 +00:00
|
|
|
{ stdenv, intltool, fetchurl
|
2016-09-18 20:35:23 +01:00
|
|
|
, pkgconfig, gtk3, glib
|
2018-03-22 18:47:02 +00:00
|
|
|
, wrapGAppsHook, itstool, libsoup, libxml2
|
|
|
|
, gnome3, gspell }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "gedit-${version}";
|
2018-09-05 01:44:32 +01:00
|
|
|
version = "3.30.2";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-09-05 01:44:32 +01:00
|
|
|
sha256 = "0qwig35hzvjaqic9x92jcpmycnvcybsbnbiw6rppryx0arwb3wza";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-03-22 18:47:02 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool itstool libxml2 ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-22 18:47:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk3 glib
|
|
|
|
gnome3.defaultIconTheme libsoup
|
|
|
|
gnome3.libpeas gnome3.gtksourceview
|
|
|
|
gnome3.gsettings-desktop-schemas gspell
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-03-22 18:47:02 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gedit";
|
|
|
|
attrPath = "gnome3.gedit";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Gedit;
|
|
|
|
description = "Official text editor of the GNOME desktop environment";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|