libgksu: use nativeBuildInputs and wrapGAppsHook

This commit is contained in:
José Romildo Malaquias 2016-06-12 08:20:10 -03:00
parent fd57730897
commit e6e465334d

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, makeWrapper, gtk, gnome, gnome3,
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, gtk, gnome, gnome3,
libstartup_notification, libgtop, perl, perlXMLParser,
autoreconfHook, intltool, gtk_doc, docbook_xsl, xauth, sudo
}:
@ -13,6 +13,17 @@ stdenv.mkDerivation rec {
sha256 = "1brz9j3nf7l2gd3a5grbp0s3nksmlrp6rxmgp5s6gjvxcb1wzy92";
};
nativeBuildInputs = [
pkgconfig autoreconfHook intltool gtk_doc docbook_xsl wrapGAppsHook
];
buildInputs = [
gtk gnome.GConf libstartup_notification
gnome3.libgnome_keyring libgtop gnome.libglade perl perlXMLParser
];
enableParallelBuilding = true;
patches = [
# Patches from the gentoo ebuild
@ -54,19 +65,6 @@ stdenv.mkDerivation rec {
intltoolize --force --copy --automake
'';
buildInputs = [
pkgconfig makeWrapper gtk gnome.GConf libstartup_notification
gnome3.libgnome_keyring libgtop gnome.libglade perl perlXMLParser
autoreconfHook intltool gtk_doc docbook_xsl
];
preFixup = ''
wrapProgram "$out/bin/gksu-properties" \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
'';
enableParallelBuilding = true;
meta = {
description = "A library for integration of su into applications";
longDescription = ''