2017-12-18 22:43:00 +00:00
|
|
|
{ stdenv, intltool, fetchurl, python3
|
2018-12-02 11:41:15 +00:00
|
|
|
, pkgconfig, gtk3, glib, gobject-introspection
|
2017-10-04 22:50:14 +01:00
|
|
|
, wrapGAppsHook, itstool, libxml2, docbook_xsl
|
2019-04-17 01:38:26 +01:00
|
|
|
, gnome3, gdk_pixbuf, libxslt, gsettings-desktop-schemas }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "glade-${version}";
|
2018-04-13 22:52:39 +01:00
|
|
|
version = "3.22.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/glade/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-04-13 22:52:39 +01:00
|
|
|
sha256 = "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "glade"; attrPath = "gnome3.glade"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-11-05 16:52:09 +00:00
|
|
|
nativeBuildInputs = [
|
2018-12-02 11:41:15 +00:00
|
|
|
pkgconfig intltool itstool wrapGAppsHook docbook_xsl libxslt gobject-introspection
|
2017-11-05 16:52:09 +00:00
|
|
|
];
|
2017-12-18 22:43:00 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk3 glib libxml2 python3 python3.pkgs.pygobject3
|
2019-04-17 01:38:26 +01:00
|
|
|
gsettings-desktop-schemas
|
2019-02-13 21:47:50 +00:00
|
|
|
gdk_pixbuf gnome3.adwaita-icon-theme
|
2017-12-18 22:43:00 +00:00
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Glade;
|
|
|
|
description = "User interface designer for GTK+ applications";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|