misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
This commit is contained in:
@@ -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 ];
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -24,7 +24,8 @@ stdenv.mkDerivation rec {
|
||||
"--enable-openmp"
|
||||
];
|
||||
|
||||
buildInputs = [ pkgconfig autoreconfHook ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
boost
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -31,7 +31,8 @@ in buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ python pkgconfig cairo xlibsWrapper ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ python cairo xlibsWrapper ];
|
||||
|
||||
configurePhase = ''
|
||||
(
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -11,7 +11,8 @@ buildPythonPackage rec {
|
||||
sha256 = "04k942gn8vl95kwf0qskkv6npclfm31d78ljkrkgyqxxcni1w76d";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig ]
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ]
|
||||
++ stdenv.lib.optional (libglade != null) libglade;
|
||||
|
||||
propagatedBuildInputs = [ gtk2 pygobject2 pycairo ];
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user