gksu: use nativeBuildInputs and wrapGAppsHook

This commit is contained in:
José Romildo Malaquias 2016-06-12 08:27:19 -03:00
parent e6e465334d
commit 106c5b58f1
1 changed files with 14 additions and 11 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, makeWrapper, gtk, gnome3, libgksu, { stdenv, fetchurl, pkgconfig, gtk, gnome3, libgksu,
intltool, libstartup_notification, gtk_doc intltool, libstartup_notification, gtk_doc, wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,6 +12,18 @@ stdenv.mkDerivation rec {
sha256 = "0npfanlh28daapkg25q4fncxd89rjhvid5fwzjaw324x0g53vpm1"; sha256 = "0npfanlh28daapkg25q4fncxd89rjhvid5fwzjaw324x0g53vpm1";
}; };
nativeBuildInputs = [
pkgconfig intltool gtk_doc wrapGAppsHook
];
buildInputs = [
gtk gnome3.gconf libstartup_notification gnome3.libgnome_keyring
];
propagatedBuildInputs = [
libgksu
];
patches = [ patches = [
# https://savannah.nongnu.org/bugs/index.php?36127 # https://savannah.nongnu.org/bugs/index.php?36127
./gksu-2.0.2-glib-2.31.patch ./gksu-2.0.2-glib-2.31.patch
@ -23,15 +35,6 @@ stdenv.mkDerivation rec {
configureFlags = "--disable-nautilus-extension"; configureFlags = "--disable-nautilus-extension";
buildInputs = [
pkgconfig makeWrapper gtk gnome3.gconf intltool
libstartup_notification gnome3.libgnome_keyring gtk_doc
];
propagatedBuildInputs = [
libgksu
];
meta = { meta = {
description = "A graphical frontend for libgksu"; description = "A graphical frontend for libgksu";
longDescription = '' longDescription = ''