glade: format with nixpkgs-fmt

also switch away from dependency aliases and reorder the attributes a bit
This commit is contained in:
Jan Tojnar 2020-05-15 17:30:40 +02:00
parent 6b17638dc6
commit fe7e564467
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,7 +1,20 @@
{ stdenv, intltool, fetchurl, python3
, pkgconfig, gtk3, glib, gobject-introspection
, wrapGAppsHook, itstool, libxml2, docbook_xsl
, gnome3, gdk-pixbuf, libxslt, gsettings-desktop-schemas }:
{ stdenv
, intltool
, fetchurl
, python3
, pkg-config
, gtk3
, glib
, gobject-introspection
, wrapGAppsHook
, itstool
, libxml2
, docbook-xsl-nons
, gnome3
, gdk-pixbuf
, libxslt
, gsettings-desktop-schemas
}:
stdenv.mkDerivation rec {
pname = "glade";
@ -12,21 +25,36 @@ stdenv.mkDerivation rec {
sha256 = "08bayb1rrpblxf6jhhbw2n3c425w170is4l94pampldl4kmsdvzd";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "glade"; };
};
nativeBuildInputs = [
pkgconfig intltool itstool wrapGAppsHook docbook_xsl libxslt libxml2 gobject-introspection
pkg-config
intltool
itstool
wrapGAppsHook
docbook-xsl-nons
libxslt
libxml2
gobject-introspection
];
buildInputs = [
gtk3 glib libxml2 python3 python3.pkgs.pygobject3
gtk3
glib
libxml2
python3
python3.pkgs.pygobject3
gsettings-desktop-schemas
gdk-pixbuf gnome3.adwaita-icon-theme
gdk-pixbuf
gnome3.adwaita-icon-theme
];
enableParallelBuilding = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
homepage = "https://wiki.gnome.org/Apps/Glade";
description = "User interface designer for GTK applications";