gnucash: use nativeBuildInputs

This commit is contained in:
Orivej Desh 2017-11-28 23:47:06 +00:00
parent 6baf21f6bb
commit 0707699406

View File

@ -1,8 +1,9 @@
{ fetchurl, stdenv, pkgconfig, libxml2, libxslt, perl, perlPackages, gconf, guile { fetchurl, fetchpatch, stdenv, intltool, pkgconfig, file, makeWrapper
, intltool, glib, gtk2, libofx, aqbanking, gwenhywfar, libgnomecanvas, goffice , libxml2, libxslt, perl, perlPackages, gconf, guile
, webkit, glibcLocales, gsettings_desktop_schemas, makeWrapper, dconf, file , glib, gtk2, libofx, aqbanking, gwenhywfar, libgnomecanvas, goffice
, webkit, glibcLocales, gsettings_desktop_schemas, dconf
, gettext, swig, slibGuile, enchant, bzip2, isocodes, libdbi, libdbiDrivers , gettext, swig, slibGuile, enchant, bzip2, isocodes, libdbi, libdbiDrivers
, pango, gdk_pixbuf, fetchpatch , pango, gdk_pixbuf
}: }:
/* /*
@ -28,9 +29,11 @@ stdenv.mkDerivation rec {
}) })
]; ];
nativeBuildInputs = [ intltool pkgconfig file makeWrapper ];
buildInputs = [ buildInputs = [
# general # general
intltool pkgconfig libxml2 libxslt glibcLocales file gettext swig enchant libxml2 libxslt glibcLocales gettext swig enchant
bzip2 isocodes bzip2 isocodes
# glib, gtk... # glib, gtk...
glib gtk2 goffice webkit glib gtk2 goffice webkit
@ -44,12 +47,10 @@ stdenv.mkDerivation rec {
guile slibGuile guile slibGuile
# database backends # database backends
libdbi libdbiDrivers libdbi libdbiDrivers
# build
makeWrapper
]; ];
postPatch = '' postPatch = ''
patchShebangs ./src patchShebangs ./src
''; '';
configureFlags = [ configureFlags = [