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-21 15:49:53 -04:00
parent fd9c7eb2e8
commit 531e4b80c9
932 changed files with 2320 additions and 1149 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1abn4amsyys6vwn7csxsxny94n24ycca3xhqxqcmdc4j0dzn3kmb";
};
buildInputs = [ pkgconfig glib gtk2 python2Packages.python python2Packages.wrapPython python2Packages.pygtk ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib gtk2 python2Packages.python python2Packages.wrapPython python2Packages.pygtk ];
pythonPath = with python2Packages; [ pygtk pycairo ];
installPhase = ''
+2 -1
View File
@@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
name = "chase-${version}";
version = "0.5.2";
buildInputs = [ pkgconfig libatomic_ops boehmgc ] ;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libatomic_ops boehmgc ] ;
src = fetchurl {
url = "mirror://debian/pool/main/c/chase/chase_${version}.orig.tar.gz";
sha256 = "68d95c2d4dc45553b75790fcea4413b7204a2618dff148116ca9bdb0310d737f";
+2 -1
View File
@@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "02y1vfb3wh4908xjj1kpyf8kgxk29x8dw7yl3pnl220qz2gi99vr";
};
buildInputs = [ libgtop xmessage which pkgconfig ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libgtop xmessage which ];
installPhase = ''
mkdir -p $out/bin/
+2 -1
View File
@@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "1ls3y97qqfcfd3z0balz94xq1gskfk04pg85x6b7wjw8dm4030qd";
};
buildInputs = [ autoreconfHook perl ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ perl ];
meta = with stdenv.lib; {
homepage = https://github.com/dex4er/fakechroot;
+2 -1
View File
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0nr8l88cg19zj585hczj8v73yh21k7j13xivhlzl8jdk0j0cj052";
};
buildInputs = [ gtk2 pkgconfig libxml2 intltool gettext ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 libxml2 intltool gettext ];
patches = [ ./get_sensitive.patch ./set_flags.patch ];
+2 -1
View File
@@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
# Not adding 'hostname' command, the build shouldn't depend on what the build
# host is called.
buildInputs = [ which pkgconfig gtk2 pcre glib libxml2 libsoup ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ which gtk2 pcre glib libxml2 libsoup ];
# Fixes '#error You must compile this program without "-O"'
hardeningDisable = [ "all" ];
+2 -1
View File
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "05v3hz7n6b1mlhc6zqijblh1vpl0ja1y8y0lafw7mjdz03wxhfdb";
};
buildInputs = [ pkgconfig ninja libevdev libev ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ninja libevdev libev ];
configurePhase = ''
bash ./configure
+2 -1
View File
@@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
sha256 = "147wyr5m185f8swsmb4q1ahs9r1rycapbpa2548aqbv298bbish3";
})];
buildInputs = lib.optionals withGUI [ gtk2 pkgconfig sqlite ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = lib.optionals withGUI [ gtk2 sqlite ];
makeFlags = [ "PREFIX=$(out)" ];
+2 -1
View File
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec{
sha256 = "1fv01jnbgwbafsxavlji90zdqizn8m4nfg9ivc4sbi05j036bg6n";
};
buildInputs = [ autoreconfHook zlib pkgconfig libuuid ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ zlib libuuid ];
# Allow UI to load when running as non-root
patches = [ ./web_access.patch ];
+2 -1
View File
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1d62f8fa192f90e61c35a6fc15ff3cb9a7a792f782407acc42ef67817c5939f5";
};
buildInputs = [ pkgconfig zlib kmod which ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib kmod which ];
makeFlags = "SHARED=yes PREFIX=\${out}";
+2 -1
View File
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1qzvmzkzdrmwrzfbxb2rz1i39j5zskjxiiv1w9m0xyg08p2wr7h3";
};
buildInputs = [ autoconf automake libtool pkgconfig dbus_libs dbus_glib libxml2 ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake libtool dbus_libs dbus_glib libxml2 ];
patchPhase = ''sed -e 's/upstartconfdir = \/etc\/init/upstartconfdir = $(out)\/etc\/init/' -i data/Makefile.am'';
@@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "14d3a93ha5k4al4ib43nyn1ppx7kgb12xw6mkflhx8nxmx8827nc";
};
buildInputs = [ pkgconfig openssl stdenv.cc.libc.static ]
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl stdenv.cc.libc.static ]
++ stdenv.lib.optional (libuuid != null)
(libuuid.overrideAttrs (attrs:
{ configureFlags = attrs.configureFlags ++ [ "--enable-static" ]; }));
+2 -1
View File
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "03ay6sa4ii8h6rr3l2qiqqml8xl6gplrlg4v2avdh9y6sihfyvvn";
};
buildInputs = [ autoconf automake libtool pkgconfig openwsman openssl ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake libtool openwsman openssl ];
preConfigure = ''
./bootstrap