misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs

Only acts on one-line dependency lists.
This commit is contained in:
John Ericson
2017-09-05 17:26:13 -04:00
parent fd9c7eb2e8
commit 531e4b80c9
932 changed files with 2320 additions and 1149 deletions

View File

@@ -30,7 +30,8 @@ buildPythonPackage rec {
tests/run/cpdef_enums.pyx
'';
buildInputs = [ glibcLocales pkgconfig gdb ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glibcLocales gdb ];
# For testing
nativeBuildInputs = [ numpy ncurses ];

View File

@@ -14,7 +14,8 @@ if isPyPy then throw "dbus-python not supported for interpreter ${python.executa
postPatch = "patchShebangs .";
buildInputs = [ pkgconfig dbus dbus_glib ]
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ dbus dbus_glib ]
++ lib.optionals doCheck [ dbus_tools pygobject3 ]
# My guess why it's sometimes trying to -lncurses.
# It seems not to retain the dependency anyway.

View File

@@ -24,7 +24,8 @@ stdenv.mkDerivation rec {
"--enable-openmp"
];
buildInputs = [ pkgconfig autoreconfHook ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ];
propagatedBuildInputs = [
boost

View File

@@ -28,7 +28,8 @@ in buildPythonPackage rec {
preBuild = if mpiSupport then "export CC=${mpi}/bin/mpicc" else "";
buildInputs = [ hdf5 cython pkgconfig ]
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ hdf5 cython ]
++ optional mpiSupport mpi
;
propagatedBuildInputs = [ numpy six]

View File

@@ -31,7 +31,8 @@ in buildPythonPackage rec {
})
];
buildInputs = [ python pkgconfig cairo xlibsWrapper ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ python cairo xlibsWrapper ];
configurePhase = ''
(

View File

@@ -13,7 +13,8 @@ buildPythonPackage rec {
outputs = [ "out" "dev" ];
buildInputs = [ pkgconfig glib gobjectIntrospection ]
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib gobjectIntrospection ]
++ stdenv.lib.optionals stdenv.isDarwin [ which ncurses ];
propagatedBuildInputs = [ pycairo cairo ];

View File

@@ -20,7 +20,8 @@ buildPythonPackage rec {
configureFlags = "--disable-introspection";
buildInputs = [ pkgconfig glib ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib ];
# in a "normal" setup, pygobject and pygtk are installed into the
# same site-packages: we need a pth file for both. pygtk.py would be

View File

@@ -11,7 +11,8 @@ buildPythonPackage rec {
sha256 = "04k942gn8vl95kwf0qskkv6npclfm31d78ljkrkgyqxxcni1w76d";
};
buildInputs = [ pkgconfig ]
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ]
++ stdenv.lib.optional (libglade != null) libglade;
propagatedBuildInputs = [ gtk2 pygobject2 pycairo ];

View File

@@ -13,7 +13,8 @@ buildPythonPackage {
patches = [ ./codegendir.patch ];
buildInputs = [ python pkgconfig pygobject2 glib pygtk gnome2.gtksourceview ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ python pygobject2 glib pygtk gnome2.gtksourceview ];
meta = {
platforms = lib.platforms.unix;

View File

@@ -37,7 +37,8 @@ in buildPythonPackage {
${python.executable} configure.py $configureFlags "''${configureFlagsArray[@]}"
'';
buildInputs = [ pkgconfig makeWrapper qt4 lndir dbus_libs ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ makeWrapper qt4 lndir dbus_libs ];
propagatedBuildInputs = [ sip ];