summary refs log tree commit diff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-09-05 17:26:13 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-09-21 15:49:53 -0400
commit531e4b80c97002a542beb8fe356177ebd66cdd8e (patch)
tree4fb5b90d44ecb5a7b15fdc7d6e10bda66f4542f0 /pkgs/development/ruby-modules
parentfd9c7eb2e8c1755b606cb0d7dab2ba0bb93e36ed (diff)
downloadnixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.gz
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.bz2
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.lz
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.xz
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.zst
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.zip
misc pkgs: Basic sed to get fix `pkgconfig` and `autoreconfHook` `buildInputs`
Only acts on one-line dependency lists.
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/gem-config/default.nix36
1 files changed, 24 insertions, 12 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix
index bf1f9d14b77..2b0b43478aa 100644
--- a/pkgs/development/ruby-modules/gem-config/default.nix
+++ b/pkgs/development/ruby-modules/gem-config/default.nix
@@ -39,7 +39,8 @@ let
 in
 
 {
-  atk = attrs: { buildInputs = [ gtk2 pcre pkgconfig ]; };
+  nativeBuildInputs = [ pkgconfig ];
+  atk = attrs: { buildInputs = [ gtk2 pcre ]; };
 
   bundler = attrs:
     let
@@ -57,7 +58,8 @@ in
     };
 
   cairo = attrs: {
-    buildInputs = [ gtk2 pcre pkgconfig xlibs.libpthreadstubs xlibs.libXdmcp];
+  nativeBuildInputs = [ pkgconfig ];
+    buildInputs = [ gtk2 pcre xlibs.libpthreadstubs xlibs.libXdmcp];
   };
 
   capybara-webkit = attrs: {
@@ -81,29 +83,35 @@ in
   };
 
   ffi = attrs: {
-    buildInputs = [ libffi pkgconfig ];
+  nativeBuildInputs = [ pkgconfig ];
+    buildInputs = [ libffi ];
   };
 
   gpgme = attrs: {
     buildInputs = [ gpgme ];
   };
 
-  gio2 = attrs: { buildInputs = [ gtk2 pcre pkgconfig ]; };
+  nativeBuildInputs = [ pkgconfig ];
+  gio2 = attrs: { buildInputs = [ gtk2 pcre ]; };
 
   gitlab-markup = attrs: { meta.priority = 1; };
 
-  glib2 = attrs: { buildInputs = [ gtk2 pcre pkgconfig ]; };
+  nativeBuildInputs = [ pkgconfig ];
+  glib2 = attrs: { buildInputs = [ gtk2 pcre ]; };
 
   gtk2 = attrs: {
-    buildInputs = [ gtk2 pcre pkgconfig xlibs.libpthreadstubs xlibs.libXdmcp];
+  nativeBuildInputs = [ pkgconfig ];
+    buildInputs = [ gtk2 pcre xlibs.libpthreadstubs xlibs.libXdmcp];
     # CFLAGS must be set for this gem to detect gdkkeysyms.h correctly
     CFLAGS = "-I${gtk2.dev}/include/gtk-2.0 -I/non-existent-path";
   };
 
-  gobject-introspection = attrs: { buildInputs = [ gtk2 pcre pkgconfig ]; };
+  nativeBuildInputs = [ pkgconfig ];
+  gobject-introspection = attrs: { buildInputs = [ gtk2 pcre ]; };
 
   grpc = attrs: {
-    buildInputs = [ openssl pkgconfig ];
+  nativeBuildInputs = [ pkgconfig ];
+    buildInputs = [ openssl ];
   };
 
   hitimes = attrs: {
@@ -166,7 +174,8 @@ in
   };
 
   pango = attrs: {
-    buildInputs = [ gtk2 xlibs.libXdmcp pcre pkgconfig xlibs.libpthreadstubs ];
+  nativeBuildInputs = [ pkgconfig ];
+    buildInputs = [ gtk2 xlibs.libXdmcp pcre xlibs.libpthreadstubs ];
   };
 
   patron = attrs: {
@@ -204,7 +213,8 @@ in
   };
 
   rmagick = attrs: {
-    buildInputs = [ imagemagick pkgconfig which ];
+  nativeBuildInputs = [ pkgconfig ];
+    buildInputs = [ imagemagick which ];
   };
 
   ruby-lxc = attrs: {
@@ -219,7 +229,8 @@ in
     ];
   };
   rugged = attrs: {
-    buildInputs = [ cmake pkgconfig openssl libssh2 zlib ];
+  nativeBuildInputs = [ pkgconfig ];
+    buildInputs = [ cmake openssl libssh2 zlib ];
   };
 
   scrypt = attrs:
@@ -296,7 +307,8 @@ in
   xapian-ruby = attrs: {
     # use the system xapian
     dontBuild = false;
-    buildInputs = [ xapian_1_2_22 pkgconfig zlib ];
+  nativeBuildInputs = [ pkgconfig ];
+    buildInputs = [ xapian_1_2_22 zlib ];
     postPatch = ''
       cp ${./xapian-Rakefile} Rakefile
     '';