qt5: rename qmakeHook to qmake
commit210f6888023c1df8aff2d053a5e41f5e1effdfe7
authorThomas Tuegel <ttuegel@mailbox.org>
dateFri 2 Jun 2017, 10:40 (9 years ago)
parent3f3d33a
pkgs/applications/audio/dfasma/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmakeHook, makeQtWrapper }:
1+{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmake, makeQtWrapper }:
22
33let
44
@@ -37,9 +37,9 @@ in stdenv.mkDerivation rec {
3737 owner = "gillesdegottex";
3838 };
3939
40− buildInputs = [ fftw libsndfile qtbase qtmultimedia qmakeHook ];
40+ buildInputs = [ fftw libsndfile qtbase qtmultimedia ];
4141
42− nativeBuildInputs = [ makeQtWrapper ];
42+ nativeBuildInputs = [ makeQtWrapper qmake ];
4343
4444 postPatch = ''
4545 substituteInPlace dfasma.pro --replace '$$DFASMAVERSIONGITPRO' '${version}'
pkgs/applications/audio/fmit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fftw, freeglut, mesa_glu, qtbase, qtmultimedia, qmakeHook
1+{ stdenv, fetchFromGitHub, fftw, freeglut, mesa_glu, qtbase, qtmultimedia, qmake
22, alsaSupport ? true, alsaLib ? null
33, jackSupport ? false, libjack2 ? null
44, portaudioSupport ? false, portaudio ? null }:
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 owner = "gillesdegottex";
2121 };
2222
23− nativeBuildInputs = [ qmakeHook ];
23+ nativeBuildInputs = [ qmake ];
2424 buildInputs = [ fftw qtbase qtmultimedia ]
2525 ++ optionals alsaSupport [ alsaLib ]
2626 ++ optionals jackSupport [ libjack2 ]
pkgs/applications/audio/iannix/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, qtbase, qtscript, qmakeHook
1+{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, qtbase, qtscript, qmake
22}:
33
44stdenv.mkDerivation rec {
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
1111 sha256 = "184ydb9f1303v332k5k3f1ki7cb6nkxhh6ij0yn72v7dp7figrgj";
1212 };
1313
14− buildInputs = [ alsaLib pkgconfig qtbase qtscript qmakeHook ];
14+ nativeBuildInputs = [ qmake ];
15+ buildInputs = [ alsaLib pkgconfig qtbase qtscript ];
1516
1617 qmakeFlags = [ "PREFIX=/" ];
1718
pkgs/applications/audio/keyfinder/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, qmakeHook, taglib }:
1+{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, qmake, taglib }:
22
33stdenv.mkDerivation rec {
44 name = "keyfinder-${version}";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
1111 owner = "ibsh";
1212 };
1313
14− buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns qmakeHook taglib ];
14+ nativeBuildInputs = [ qmake ];
15+ buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns taglib ];
1516
1617 postPatch = ''
1718 substituteInPlace is_KeyFinder.pro \
pkgs/applications/audio/sonic-visualiser/default.nix+3−4
@@ -3,7 +3,7 @@
33{ stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo
44, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
55, libsndfile, pkgconfig, libpulseaudio, makeQtWrapper, qtbase, redland
6−, qmakeHook, rubberband, serd, sord, vampSDK, fftwFloat
6+, qmake, rubberband, serd, sord, vampSDK, fftwFloat
77}:
88
99stdenv.mkDerivation rec {
@@ -16,11 +16,10 @@ stdenv.mkDerivation rec {
1616 };
1717
1818 buildInputs =
19− [ libsndfile qtbase qmakeHook fftw fftwFloat bzip2 librdf rubberband
19+ [ libsndfile qtbase fftw fftwFloat bzip2 librdf rubberband
2020 libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
2121 serd
2222 sord
23− pkgconfig
2423 # optional
2524 libjack2
2625 # portaudio
@@ -32,7 +31,7 @@ stdenv.mkDerivation rec {
3231 libX11
3332 ];
3433
35− nativeBuildInputs = [ makeQtWrapper qmakeHook ];
34+ nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ];
3635
3736 configurePhase = ''
3837 for i in sonic-visualiser svapp svcore svgui;
pkgs/applications/editors/rstudio/default.nix+3−2
@@ -10,7 +10,8 @@ in
1010stdenv.mkDerivation rec {
1111 name = "RStudio-${version}";
1212
13− buildInputs = [ cmake boost163 zlib openssl R qt5.full qt5.qtwebkit qt5.qmakeHook libuuid unzip ant jdk makeWrapper pandoc ];
13+ buildInputs = [ cmake boost163 zlib openssl R qt5.full qt5.qtwebkit libuuid unzip ant jdk makeWrapper pandoc ];
14+ nativeBuildInputs = [ qt5.qmake ];
1415
1516 src = fetchurl {
1617 url = "https://github.com/rstudio/rstudio/archive/v${version}.tar.gz";
@@ -90,7 +91,7 @@ stdenv.mkDerivation rec {
9091 cp ${pandoc}/bin/pandoc dependencies/common/pandoc/
9192 '';
9293
93− cmakeFlags = [ "-DRSTUDIO_TARGET=Desktop" "-DQT_QMAKE_EXECUTABLE=${qt5.qmakeHook}/bin/qmake" ];
94+ cmakeFlags = [ "-DRSTUDIO_TARGET=Desktop" "-DQT_QMAKE_EXECUTABLE=${qt5.qmake}/bin/qmake" ];
9495
9596 desktopItem = makeDesktopItem {
9697 name = name;
pkgs/applications/editors/tiled/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, qmakeHook
1+{ stdenv, fetchFromGitHub, pkgconfig, qmake
22, python, qtbase, qttools, zlib }:
33
44let
@@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
1414 sha256 = "087jl36g6w2g5l70gz573iwyvx3r7i8fijl3y4mmmf8pyqdyq1n2";
1515 };
1616
17− nativeBuildInputs = [ pkgconfig qmakeHook ];
17+ nativeBuildInputs = [ pkgconfig qmake ];
1818 buildInputs = [ python qtbase qttools ];
1919
2020 enableParallelBuilding = true;
pkgs/applications/graphics/awesomebump/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, qtbase, qmakeHook, makeWrapper }:
1+{ lib, stdenv, fetchurl, qtbase, qmake, makeWrapper }:
22
33stdenv.mkDerivation {
44 name = "awesomebump-4.0";
@@ -10,7 +10,8 @@ stdenv.mkDerivation {
1010
1111 setSourceRoot = "sourceRoot=$(echo */Sources)";
1212
13− buildInputs = [ qtbase qmakeHook makeWrapper ];
13+ nativeBuildInputs = [ makeWrapper qmake ];
14+ buildInputs = [ qtbase ];
1415
1516 enableParallelBuilding = true;
1617
pkgs/applications/graphics/phototonic/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qtbase, qmakeHook, exiv2 }:
1+{ stdenv, fetchFromGitHub, qtbase, qmake, exiv2 }:
22
33stdenv.mkDerivation rec {
44 name = "phototonic-${version}";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 };
1515
1616 buildInputs = [ qtbase exiv2 ];
17− nativeBuildInputs = [ qmakeHook ];
17+ nativeBuildInputs = [ qmake ];
1818
1919 preConfigure = ''
2020 sed -i 's;/usr;$$PREFIX/;g' phototonic.pro
pkgs/applications/graphics/rapcad/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, fetchurl, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline
2−, qtbase, qmakeHook, mesa_glu
2+, qtbase, qmake, mesa_glu
33}:
44
55stdenv.mkDerivation rec {
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 })
2222 ];
2323
24− nativeBuildInputs = [ qmakeHook ];
24+ nativeBuildInputs = [ qmake ];
2525 buildInputs = [ qtbase cgal boost gmp mpfr flex bison dxflib readline mesa_glu ];
2626
2727 meta = with stdenv.lib; {
pkgs/applications/misc/calibre/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, fetchpatch, poppler_utils, pkgconfig, libpng
2−, imagemagick, libjpeg, fontconfig, podofo, qtbase, qmakeHook, icu, sqlite
2+, imagemagick, libjpeg, fontconfig, podofo, qtbase, qmake, icu, sqlite
33, makeWrapper, unrarSupport ? false, chmlib, python2Packages, xz, libusb1, libmtp
44, xdg_utils, makeDesktopItem, wrapGAppsHook
55}:
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
4949
5050 enableParallelBuilding = true;
5151
52− nativeBuildInputs = [ makeWrapper pkgconfig qmakeHook ];
52+ nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
5353
5454 buildInputs = [
5555 poppler_utils libpng imagemagick libjpeg
pkgs/applications/misc/cool-retro-term/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget,
2−qtquickcontrols, qtgraphicaleffects, qmakeHook }:
2+qtquickcontrols, qtgraphicaleffects, qmake }:
33
44stdenv.mkDerivation rec {
55 version = "1.0.0";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 '';
1818
1919 buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
20− nativeBuildInputs = [ makeQtWrapper qmakeHook ];
20+ nativeBuildInputs = [ makeQtWrapper qmake ];
2121
2222 installFlags = [ "INSTALL_ROOT=$(out)" ];
2323
pkgs/applications/misc/golden-cheetah/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl
22, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools, qtconnectivity
3−, yacc, flex, zlib, config, qmakeHook, makeQtWrapper
3+, yacc, flex, zlib, config, qmake, makeQtWrapper
44}:
55stdenv.mkDerivation rec {
66 name = "golden-cheetah-${version}";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools yacc flex zlib
1515 qtconnectivity
1616 ];
17− nativeBuildInputs = [ makeQtWrapper qmakeHook ] ++ qtInputs;
17+ nativeBuildInputs = [ makeQtWrapper qmake ] ++ qtInputs;
1818 preConfigure = ''
1919 cp src/gcconfig.pri.in src/gcconfig.pri
2020 cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
pkgs/applications/misc/goldendict/default.nix+6−3
@@ -1,7 +1,8 @@
11{ stdenv, fetchurl, pkgconfig, libXtst, libvorbis, hunspell
22, libao, ffmpeg, libeb, lzo, xz, libtiff
3−, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmakeHook }:
3+, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
44stdenv.mkDerivation rec {
5+
56 name = "goldendict-1.5.0.rc2";
67 src = fetchurl {
78 url = "https://github.com/goldendict/goldendict/archive/1.5.0-RC2.tar.gz";
@@ -9,10 +10,12 @@ stdenv.mkDerivation rec {
910 };
1011
1112 buildInputs = [
12− pkgconfig qtbase qtsvg qtwebkit qtx11extras qttools libXtst libvorbis hunspell libao ffmpeg libeb
13− lzo xz libtiff qmakeHook
13+ pkgconfig qtbase qtsvg qtwebkit qtx11extras qttools
14+ libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff
1415 ];
1516
17+ nativeBuildInputs = [ qmake ];
18+
1619 qmakeFlags = [ "CONFIG+=zim_support" ];
1720
1821 meta = {
pkgs/applications/misc/gpxsee/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qmakeHook, qtbase, qttools, makeQtWrapper }:
1+{ stdenv, fetchFromGitHub, qmake, qtbase, qttools, makeQtWrapper }:
22
33stdenv.mkDerivation rec {
44 name = "gpxsee-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "17s1v6b1j7pi0yj554bd0cg14bl854gssp5gj2pl51rxji6zr0wp";
1212 };
1313
14− nativeBuildInputs = [ qmakeHook qttools makeQtWrapper ];
14+ nativeBuildInputs = [ qmake qttools makeQtWrapper ];
1515
1616 preConfigure = ''
1717 substituteInPlace src/config.h --replace /usr/share/gpxsee $out/share/gpxsee
pkgs/applications/misc/openbrf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qtbase, vcg, glew, qmakeHook, makeQtWrapper, mesa }:
1+{ stdenv, fetchFromGitHub, qtbase, vcg, glew, qmake, makeQtWrapper, mesa }:
22
33
44stdenv.mkDerivation {
@@ -12,9 +12,9 @@ stdenv.mkDerivation {
1212 };
1313
1414 buildInputs = [ qtbase vcg glew ];
15− nativeBuildInputs = [ qmakeHook makeQtWrapper ];
1615
1716 enableParallelBuilding = true;
17+ nativeBuildInputs = [ qmake makeQtWrapper ];
1818
1919 qmakeFlags = [ "openBrf.pro" ];
2020
pkgs/applications/misc/qtpass/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, git, gnupg, makeQtWrapper, pass, qtbase, qtsvg, qttools, qmakeHook }:
1+{ stdenv, fetchFromGitHub, git, gnupg, makeQtWrapper, pass, qtbase, qtsvg, qttools, qmake }:
22
33stdenv.mkDerivation rec {
44 name = "qtpass-${version}";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 buildInputs = [ git gnupg pass qtbase qtsvg qttools ];
1515
16− nativeBuildInputs = [ makeQtWrapper qmakeHook ];
16+ nativeBuildInputs = [ makeQtWrapper qmake ];
1717
1818 preConfigure = ''
1919 qmakeFlags="$qmakeFlags CONFIG+=release DESTDIR=$out"
pkgs/applications/misc/redis-desktop-manager/default.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, lib, fetchgit, pkgconfig , libssh2
22, qtbase, qtdeclarative, qtgraphicaleffects, qtimageformats, qtquickcontrols
33, qtsvg, qttools, qtquick1
4−, makeQtWrapper, qmakeHook
4+, makeQtWrapper, qmake
55}:
66
77let
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 sha256 = "0a7xa39qp1q32zkypw32mm3wi8wbhxhvrm6l3xsa3k1jzih7hzxr";
2525 };
2626
27− nativeBuildInputs = [ makeQtWrapper qmakeHook ];
27+ nativeBuildInputs = [ makeQtWrapper qmake ];
2828
2929 buildInputs = [
3030 pkgconfig libssh2 qtbase qtdeclarative qtgraphicaleffects qtimageformats
pkgs/applications/misc/twmn/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, fetchgit, qtbase, qtx11extras, qmakeHook, pkgconfig, boost }:
1+{ fetchurl, stdenv, fetchgit, qtbase, qtx11extras, qmake, pkgconfig, boost }:
22
33stdenv.mkDerivation rec {
44 name = "twmn-git-2014-09-23";
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
99 sha256 = "1a68gka9gyxyzhc9rn8df59rzcdwkjw90cxp1kk0rdfp6svhxhsa";
1010 };
1111
12− buildInputs = [ qtbase qtx11extras pkgconfig boost qmakeHook ];
12+ nativeBuildInputs = [ pkgconfig qmake ];
13+ buildInputs = [ qtbase qtx11extras boost ];
1314
1415 postPatch = ''
1516 sed -i s/-Werror// twmnd/twmnd.pro
pkgs/applications/networking/instant-messengers/ricochet/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, pkgconfig, makeDesktopItem, unzip
22, qtbase, qttools, makeQtWrapper, qtmultimedia, qtquick1, qtquickcontrols
3−, openssl, protobuf, qmakeHook
3+, openssl, protobuf, qmake
44}:
55
66stdenv.mkDerivation rec {
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 openssl protobuf
2828 ];
2929
30− nativeBuildInputs = [ pkgconfig makeQtWrapper qmakeHook ];
30+ nativeBuildInputs = [ pkgconfig makeQtWrapper qmake ];
3131
3232 preConfigure = ''
3333 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags openssl)"
pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix+2−2
@@ -3,7 +3,7 @@
33, qtimageformats, qtgraphicaleffects, qtwebkit
44, telegram-qml, libqtelegram-aseman-edition
55, gst_all_1
6−, makeQtWrapper, qmakeHook }:
6+, makeQtWrapper, qmake }:
77
88stdenv.mkDerivation rec {
99 name = "cutegram-${meta.version}";
@@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
2020 telegram-qml libqtelegram-aseman-edition
2121 ] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ]);
2222
23− nativeBuildInputs = [ makeQtWrapper qmakeHook ];
2423
2524 enableParallelBuilding = true;
25+ nativeBuildInputs = [ makeQtWrapper qmake ];
2626
2727 fixupPhase = ''
2828 wrapQtProgram $out/bin/cutegram \
pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub
2−, qtbase, qtmultimedia, qtquick1, qmakeHook }:
2+, qtbase, qtmultimedia, qtquick1, qmake }:
33
44stdenv.mkDerivation rec {
55 name = "libqtelegram-aseman-edition-${meta.version}";
@@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
1212 };
1313
1414 buildInputs = [ qtbase qtmultimedia qtquick1 ];
15− nativeBuildInputs = [ qmakeHook ];
1615 enableParallelBuilding = true;
16+ nativeBuildInputs = [ qmake ];
1717
1818 patchPhase = ''
1919 substituteInPlace libqtelegram-ae.pro --replace "/libqtelegram-ae" ""
pkgs/applications/networking/instant-messengers/telegram/telegram-qml/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub
2−, qtbase, qtmultimedia, qtquick1, qmakeHook
2+, qtbase, qtmultimedia, qtquick1, qmake
33, libqtelegram-aseman-edition }:
44
55stdenv.mkDerivation rec {
@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
1313 };
1414
1515 propagatedBuildInputs = [ qtbase qtmultimedia qtquick1 libqtelegram-aseman-edition ];
16− nativeBuildInputs = [ qmakeHook ];
1716 enableParallelBuilding = true;
17+ nativeBuildInputs = [ qmake ];
1818
1919 patchPhase = ''
2020 substituteInPlace telegramqml.pro --replace "/\$\$LIB_PATH" ""
pkgs/applications/networking/instant-messengers/tensor/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, qtbase, qtquickcontrols, qmakeHook, makeQtWrapper, makeDesktopItem }:
1+{ stdenv, fetchgit, qtbase, qtquickcontrols, qmake, makeQtWrapper, makeDesktopItem }:
22
33stdenv.mkDerivation rec {
44 name = "tensor-git-${version}";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 enableParallelBuilding = true;
1515
1616 buildInputs = [ qtbase qtquickcontrols ];
17− nativeBuildInputs = [ qmakeHook makeQtWrapper ];
17+ nativeBuildInputs = [ qmake makeQtWrapper ];
1818
1919 desktopItem = makeDesktopItem {
2020 name = "tensor";
pkgs/applications/networking/irc/communi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchgit, libcommuni, makeQtWrapper, qtbase, qmakeHook, stdenv }:
1+{ fetchgit, libcommuni, makeQtWrapper, qtbase, qmake, stdenv }:
22
33stdenv.mkDerivation rec {
44 name = "communi-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 fetchSubmodules = true;
1212 };
1313
14− nativeBuildInputs = [ makeQtWrapper qmakeHook ];
14+ nativeBuildInputs = [ makeQtWrapper qmake ];
1515
1616 buildInputs = [ libcommuni qtbase ];
1717
pkgs/applications/networking/linssid/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qtbase, qtsvg, qmakeHook, pkgconfig, boost, wirelesstools, iw, qwt6 }:
1+{ stdenv, fetchurl, qtbase, qtsvg, qmake, pkgconfig, boost, wirelesstools, iw, qwt6 }:
22
33stdenv.mkDerivation rec {
44 name = "linssid-${version}";
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
99 sha256 = "13d35rlcjncd8lx3khkgn9x8is2xjd5fp6ns5xsn3w6l4xj9b4gl";
1010 };
1111
12− buildInputs = [ qtbase qtsvg pkgconfig boost qwt6 qmakeHook ];
12+ nativeBuildInputs = [ qmake ];
13+ buildInputs = [ qtbase qtsvg pkgconfig boost qwt6 ];
1314
1415 patches = [ ./0001-unbundled-qwt.patch ];
1516
pkgs/applications/networking/mumble/default.nix+1−1
@@ -20,7 +20,7 @@ let
2020 patches = optional jackSupport ./mumble-jack-support.patch;
2121
2222 nativeBuildInputs = [ pkgconfig python ]
23− ++ { qt4 = [ qmake4Hook ]; qt5 = [ qt5.qmakeHook ]; }."qt${toString source.qtVersion}"
23+ ++ { qt4 = [ qmake4Hook ]; qt5 = [ qt5.qmake ]; }."qt${toString source.qtVersion}"
2424 ++ (overrides.nativeBuildInputs or [ ]);
2525 buildInputs = [ boost protobuf avahi ]
2626 ++ { qt4 = [ qt4 ]; qt5 = [ qt5.qtbase ]; }."qt${toString source.qtVersion}"
pkgs/applications/networking/newsreaders/quiterss/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qt5, qmakeHook, makeQtWrapper, pkgconfig, sqlite }:
1+{ stdenv, fetchFromGitHub, qtbase, qmake, qttools, qtwebkit, makeQtWrapper, pkgconfig, sqlite }:
22
33stdenv.mkDerivation rec {
44 name = "quiterss-${version}";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
1111 sha256 = "1y0n5ps1z4wgf9hkfjrw7dfyncrw22bf9mi3052vmf3s7xzz6vbb";
1212 };
1313
14− buildInputs = [ qt5.qtbase qt5.qttools qt5.qtwebkit qmakeHook makeQtWrapper pkgconfig sqlite.dev ];
14+ nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ];
15+ buildInputs = [ qtbase qttools qtwebkit sqlite.dev ];
1516
1617 postInstall = ''
1718 wrapQtProgram "$out/bin/quiterss"
pkgs/applications/networking/p2p/qbittorrent/default.nix+3−3
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, pkgconfig, which
2−, boost, libtorrentRasterbar, qmakeHook, qt5
2+, boost, libtorrentRasterbar, qmake, qtbase, qttools
33, debugSupport ? false # Debugging
44, guiSupport ? true, dbus_libs ? null # GUI (disable to run headless)
55, webuiSupport ? true # WebUI
@@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
1717 sha256 = "0vs626khavhqqnq2hrwrxyc8ihbngharcf1fd37nwccvy13qqljn";
1818 };
1919
20− nativeBuildInputs = [ pkgconfig which ];
20+ nativeBuildInputs = [ pkgconfig which qmake ];
2121
22− buildInputs = [ boost libtorrentRasterbar qt5.qtbase qt5.qttools ]
22+ buildInputs = [ boost libtorrentRasterbar qtbase qttools ]
2323 ++ optional guiSupport dbus_libs;
2424
2525 preConfigure = ''
pkgs/applications/office/cb2bib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qmakeHook, qtbase, qtwebkit, qtx11extras, lzo, libX11 }:
1+{ stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11 }:
22
33stdenv.mkDerivation rec {
44 name = pname + "-" + version;
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "0yz79v023w1229wzck3gij0iqah1xg8rg4a352q8idvg7bdmyfin";
1010 };
1111 buildInputs = [ qtbase qtwebkit qtx11extras lzo libX11 ];
12− nativeBuildInputs = [ qmakeHook ];
12+ nativeBuildInputs = [ qmake ];
1313
1414 configurePhase = ''
1515 runHook preConfigure
pkgs/applications/office/mytetra/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qmakeHook, makeQtWrapper, qtsvg }:
1+{ stdenv, fetchurl, qmake, makeQtWrapper, qtsvg }:
22
33let
44 version = "1.42.2";
@@ -9,7 +9,8 @@ in stdenv.mkDerivation rec {
99 sha256 = "1ah44nf4ksxkh01a2zmgvvby4pwczhyq5vcp270rf6visp8v9804";
1010 };
1111
12− buildInputs = [ qmakeHook makeQtWrapper qtsvg ];
12+ nativeBuildInputs = [ makeQtWrapper qmake ];
13+ buildInputs = [ qtsvg ];
1314
1415 hardeningDisable = [ "format" ];
1516
pkgs/applications/science/electronics/fritzing/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchpatch, fetchFromGitHub, makeQtWrapper, qmakeHook, pkgconfig
1+{ stdenv, fetchpatch, fetchFromGitHub, makeQtWrapper, qmake, pkgconfig
22, qtbase, qtsvg, qtserialport, boost, libgit2
33}:
44
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 buildInputs = [ qtbase qtsvg qtserialport boost libgit2 ];
3030
31− nativeBuildInputs = [ qmakeHook makeQtWrapper pkgconfig ];
31+ nativeBuildInputs = [ qmake makeQtWrapper pkgconfig ];
3232
3333 qmakeFlags = [ "phoenix.pro" ];
3434
pkgs/applications/science/robotics/qgroundcontrol/default.nix+8−12
@@ -1,19 +1,16 @@
11{ stdenv, fetchgit, git, espeak, SDL, udev, doxygen, cmake
2− , qtbase, qtlocation, qtserialport, qtdeclarative, qtconnectivity, qtxmlpatterns
3− , qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects, qmakeHook
4− , makeQtWrapper, lndir
5− , gst_all_1, qt-gstreamer1, pkgconfig, glibc
6− , version ? "2.9.4"
2+, qtbase, qtlocation, qtserialport, qtdeclarative, qtconnectivity, qtxmlpatterns
3+, qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects, qmake
4+, makeQtWrapper, lndir
5+, gst_all_1, qt-gstreamer1, pkgconfig, glibc
6+, version ? "2.9.4"
77}:
88
99stdenv.mkDerivation rec {
1010 name = "qgroundcontrol-${version}";
11− buildInputs = [
12− SDL udev doxygen git
13− ] ++ gstInputs;
1411
1512 qtInputs = [
16− qtbase qtlocation qtserialport qtdeclarative qtconnectivity qtxmlpatterns qtsvg
13+ qtbase qtlocation qtserialport qtdeclarative qtconnectivity qtxmlpatterns qtsvg
1714 qtquick1 qtquickcontrols qtgraphicaleffects
1815 ];
1916
@@ -22,9 +19,8 @@ stdenv.mkDerivation rec {
2219 ];
2320
2421 enableParallelBuilding = true;
25− nativeBuildInputs = [
26− pkgconfig makeQtWrapper qmakeHook
27− ] ++ qtInputs;
22+ buildInputs = [ SDL udev doxygen git ] ++ gstInputs ++ qtInputs;
23+ nativeBuildInputs = [ pkgconfig makeQtWrapper qmake ];
2824
2925 patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ];
3026 postPatch = ''
pkgs/applications/video/bomi/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, perl, python, which, makeQtWrapper
22, libX11, libxcb, mesa
3−, qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmakeHook
3+, qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmake
44, libchardet
55, ffmpeg
66
@@ -104,7 +104,7 @@ stdenv.mkDerivation rec {
104104 ++ optional cddaSupport "--enable-cdda"
105105 ;
106106
107− nativeBuildInputs = [ pkgconfig perl python which qttools makeQtWrapper qmakeHook ];
107+ nativeBuildInputs = [ pkgconfig perl python which qttools makeQtWrapper qmake ];
108108
109109 enableParallelBuilding = true;
110110
pkgs/applications/video/shotcut/default.nix+7−3
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, SDL, frei0r, gettext, mlt, jack1, pkgconfig, qtbase,
22qtmultimedia, qtwebkit, qtx11extras, qtwebsockets, qtquickcontrols,
33qtgraphicaleffects,
4−qmakeHook, makeQtWrapper }:
4+qmake, makeQtWrapper }:
55
66stdenv.mkDerivation rec {
77 name = "shotcut-${version}";
@@ -12,10 +12,14 @@ stdenv.mkDerivation rec {
1212 sha256 = "09nygz1x9fvqf33gqpc6jnr1j7ny0yny3w2ngwqqfkf3f8n83qhr";
1313 };
1414
15− buildInputs = [ SDL frei0r gettext mlt pkgconfig qtbase qtmultimedia qtwebkit
16− qtx11extras qtwebsockets qtquickcontrols qtgraphicaleffects qmakeHook makeQtWrapper ];
1715
1816 enableParallelBuilding = true;
17+ nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ];
18+ buildInputs = [
19+ SDL frei0r gettext mlt
20+ qtbase qtmultimedia qtwebkit qtx11extras qtwebsockets qtquickcontrols
21+ qtgraphicaleffects
22+ ];
1923
2024 prePatch = ''
2125 sed 's_shotcutPath, "qmelt"_"${mlt}/bin/melt"_' -i src/jobs/meltjob.cpp
pkgs/applications/video/smplayer/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qmakeHook, qtscript }:
1+{ stdenv, fetchurl, qmake, qtscript }:
22
33stdenv.mkDerivation rec {
44 name = "smplayer-17.6.0";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 };
1010
1111 buildInputs = [ qtscript ];
12− nativeBuildInputs = [ qmakeHook ];
12+ nativeBuildInputs = [ qmake ];
1313
1414 dontUseQmakeConfigure = true;
1515
pkgs/applications/video/smtube/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qmakeHook, qtscript, qtwebkit }:
1+{ stdenv, fetchurl, qmake, qtscript, qtwebkit }:
22
33stdenv.mkDerivation rec {
44 version = "17.5.0";
@@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
1515
1616 dontUseQmakeConfigure = true;
1717
18− buildInputs = [ qmakeHook qtscript qtwebkit ];
18+ nativeBuildInputs = [ qmake ];
19+ buildInputs = [ qtscript qtwebkit ];
1920
2021 meta = with stdenv.lib; {
2122 description = "Play and download Youtube videos";
pkgs/applications/video/vokoscreen/default.nix+2−3
@@ -1,5 +1,5 @@
11{ stdenv, fetchgit
2−, pkgconfig, qtbase, qttools, qmakeHook, qtx11extras, alsaLib, libv4l, libXrandr
2+, pkgconfig, qtbase, qttools, qmake, qtx11extras, alsaLib, libv4l, libXrandr
33, ffmpeg
44}:
55
@@ -11,13 +11,12 @@ stdenv.mkDerivation {
1111 sha256 = "1hvw7xz1mj16ishbaip73wddbmgibsz0pad4y586zbarpynss25z";
1212 };
1313
14+ nativeBuildInputs = [ pkgconfig qmake ];
1415 buildInputs = [
1516 alsaLib
1617 libv4l
17− pkgconfig
1818 qtbase
1919 qttools
20− qmakeHook
2120 qtx11extras
2221 libXrandr
2322 ];
pkgs/data/documentation/zeal/default.nix+3−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, libarchive, pkgconfig, qtbase
2−, qtimageformats, qtwebkit, qtx11extras, xcbutilkeysyms, qmakeHook }:
2+, qtimageformats, qtwebkit, qtx11extras, xcbutilkeysyms, qmake }:
33
44stdenv.mkDerivation rec {
55 version = "0.3.1";
@@ -12,8 +12,9 @@ stdenv.mkDerivation rec {
1212 sha256 = "14ld7zm15677jdlasnfa6c42kiswd4d6yg1db50xbk2yflzzwqqa";
1313 };
1414
15+ nativeBuildInputs = [ pkgconfig qmake ];
1516 buildInputs = [
16− xcbutilkeysyms pkgconfig qtbase qtimageformats qtwebkit qtx11extras libarchive qmakeHook
17+ xcbutilkeysyms qtbase qtimageformats qtwebkit qtx11extras libarchive
1718 ];
1819
1920 qmakeFlags = [ "PREFIX=/" ];
pkgs/desktops/lumina/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, fluxbox, xscreensaver, desktop_file_utils, numlockx,
2− xorg, qtbase, qtsvg, qtmultimedia, qtx11extras, qmakeHook, qttools, oxygen-icons5
2+ xorg, qtbase, qtsvg, qtmultimedia, qtx11extras, qmake, qttools, oxygen-icons5
33}:
44
55stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 };
1515
1616 nativeBuildInputs = [
17− qmakeHook
17+ qmake
1818 qttools
1919 ];
2020
pkgs/development/libraries/accounts-qt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase, qmakeHook }:
1+{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase, qmake }:
22
33stdenv.mkDerivation rec {
44 name = "accounts-qt-${version}";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 };
1313
1414 buildInputs = [ glib libaccounts-glib qtbase ];
15− nativeBuildInputs = [ doxygen pkgconfig qmakeHook ];
15+ nativeBuildInputs = [ doxygen pkgconfig qmake ];
1616
1717 preConfigure = ''
1818 qmakeFlags="$qmakeFlags LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake"
pkgs/development/libraries/libcommuni/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qtbase, qtdeclarative, qmakeHook, which
1+{ stdenv, fetchFromGitHub, qtbase, qtdeclarative, qmake, which
22}:
33
44stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 };
1414
1515 buildInputs = [ qtbase qtdeclarative ];
16− nativeBuildInputs = [ qmakeHook which ];
16+ nativeBuildInputs = [ qmake which ];
1717
1818 enableParallelBuilding = true;
1919
pkgs/development/libraries/libkeyfinder/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fftw, qtbase, qmakeHook }:
1+{ stdenv, fetchFromGitHub, fftw, qtbase, qmake }:
22
33stdenv.mkDerivation rec {
44 name = "libkeyfinder-${version}";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
1111 owner = "ibsh";
1212 };
1313
14− buildInputs = [ fftw qtbase qmakeHook ];
14+ nativeBuildInputs = [ qmake ];
15+ buildInputs = [ fftw qtbase ];
1516
1617 postPatch = ''
1718 substituteInPlace LibKeyFinder.pro \
pkgs/development/libraries/qmltermwidget/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, qtbase, qtquick1, qmakeHook, qtmultimedia }:
1+{ stdenv, fetchgit, qtbase, qtquick1, qmake, qtmultimedia }:
22
33stdenv.mkDerivation rec {
44 version = "0.1.0";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 };
1212
1313 buildInputs = [ qtbase qtquick1 qtmultimedia ];
14− nativeBuildInputs = [ qmakeHook ];
14+ nativeBuildInputs = [ qmake ];
1515
1616 patchPhase = ''
1717 substituteInPlace qmltermwidget.pro \
pkgs/development/libraries/qscintilla/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, unzip
22, qt4 ? null, qmake4Hook ? null
3−, withQt5 ? false, qtbase ? null, qmakeHook ? null
3+, withQt5 ? false, qtbase ? null, qmake ? null
44}:
55
66stdenv.mkDerivation rec {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 };
1616
1717 buildInputs = if withQt5 then [ qtbase ] else [ qt4 ];
18− nativeBuildInputs = [ unzip ] ++ (if withQt5 then [ qmakeHook ] else [ qmake4Hook ]);
18+ nativeBuildInputs = [ unzip ] ++ (if withQt5 then [ qmake ] else [ qmake4Hook ]);
1919
2020 enableParallelBuilding = true;
2121
pkgs/development/libraries/qt-5/5.6/default.nix+2−2
@@ -57,7 +57,7 @@ let
5757 propagatedBuildInputs = args.qtInputs ++ (args.propagatedBuildInputs or []);
5858 nativeBuildInputs =
5959 (args.nativeBuildInputs or [])
60− ++ [ perl self.qmakeHook ];
60+ ++ [ perl self.qmake ];
6161
6262 NIX_QT_SUBMODULE = args.NIX_QT_SUBMODULE or true;
6363
@@ -127,7 +127,7 @@ let
127127 { deps = [ makeWrapper ]; }
128128 (if stdenv.isDarwin then ../make-qt-wrapper-darwin.sh else ../make-qt-wrapper.sh);
129129
130− qmakeHook =
130+ qmake =
131131 makeSetupHook
132132 { deps = [ self.qtbase.dev ]; }
133133 (if stdenv.isDarwin then ../qmake-hook-darwin.sh else ../qmake-hook.sh);
pkgs/development/libraries/qt-5/5.8/default.nix+2−2
@@ -48,7 +48,7 @@ let
4848 propagatedBuildInputs = args.qtInputs ++ (args.propagatedBuildInputs or []);
4949 nativeBuildInputs =
5050 (args.nativeBuildInputs or [])
51− ++ [ perl self.qmakeHook ];
51+ ++ [ perl self.qmake ];
5252
5353 NIX_QT_SUBMODULE = args.NIX_QT_SUBMODULE or true;
5454
@@ -114,7 +114,7 @@ let
114114 { deps = [ makeWrapper ] ++ optionals (!stdenv.isDarwin) [ dconf.lib gtk3 ]; }
115115 (if stdenv.isDarwin then ../make-qt-wrapper-darwin.sh else ../make-qt-wrapper.sh);
116116
117− qmakeHook =
117+ qmake =
118118 makeSetupHook
119119 { deps = [ self.qtbase.dev ]; }
120120 (if stdenv.isDarwin then ../qmake-hook-darwin.sh else ../qmake-hook.sh);
pkgs/development/libraries/qtinstaller/default.nix+3−3
@@ -1,10 +1,10 @@
1−{ stdenv, fetchurl, qtdeclarative , qttools, qtbase, qmakeHook }:
1+{ stdenv, fetchurl, qtdeclarative , qttools, qtbase, qmake }:
22
33stdenv.mkDerivation rec {
44 name = "qtinstaller";
55
6− propagatedBuildInputs = [qtdeclarative qttools];
7− nativeBuildInputs = [ qmakeHook ];
6+ propagatedBuildInputs = [ qtdeclarative qttools ];
7+ nativeBuildInputs = [ qmake ];
88
99 version = "2.0.3";
1010 src = fetchurl {
pkgs/development/libraries/qtstyleplugins/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qmakeHook, qtbase, pkgconfig, gtk2 }:
1+{ stdenv, fetchFromGitHub, qmake, qtbase, pkgconfig, gtk2 }:
22
33stdenv.mkDerivation rec {
44 name = "qtstyleplugins-2017-03-11";
@@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
1010 sha256 = "085wyn85nrmzr8nv5zv7fi2kqf8rp1gnd30h72s30j55xvhmxvmy";
1111 };
1212
13− buildInputs = [ qmakeHook pkgconfig gtk2 ];
13+ nativeBuildInputs = [ pkgconfig qmake ];
14+ buildInputs = [ gtk2 ];
1415
1516 installPhase = ''
1617 make INSTALL_ROOT=$NIX_QT5_TMP install
pkgs/development/libraries/qtwebkit-plugins/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qmakeHook, qtwebkit, hunspell }:
1+{ stdenv, fetchFromGitHub, qmake, qtwebkit, hunspell }:
22
33stdenv.mkDerivation {
44 name = "qtwebkit-plugins-2015-05-09";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "0xyq25l56jgdxgqqv0380brhw9gg0hin5hyrf1j6d3c8k1gka20m";
1111 };
1212
13− nativeBuildInputs = [ qmakeHook ];
13+ nativeBuildInputs = [ qmake ];
1414
1515 buildInputs = [ qtwebkit hunspell ];
1616
pkgs/development/libraries/quazip/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, zip, zlib, qtbase, qmakeHook }:
1+{ fetchurl, stdenv, zip, zlib, qtbase, qmake }:
22
33stdenv.mkDerivation rec {
44 name = "quazip-0.7.1";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 preConfigure = "cd quazip";
1212
1313 buildInputs = [ zlib qtbase ];
14− nativeBuildInputs = [ qmakeHook ];
14+ nativeBuildInputs = [ qmake ];
1515
1616 meta = {
1717 description = "Provides access to ZIP archives from Qt programs";
pkgs/development/libraries/qwt/6.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmakeHook }:
1+{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
22
33stdenv.mkDerivation rec {
44 name = "qwt-6.1.2";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 };
1010
1111 propagatedBuildInputs = [ qtbase qtsvg qttools ];
12− nativeBuildInputs = [ qmakeHook ];
12+ nativeBuildInputs = [ qmake ];
1313
1414 postPatch = ''
1515 sed -e "s|QWT_INSTALL_PREFIX.*=.*|QWT_INSTALL_PREFIX = $out|g" -i qwtconfig.pri
pkgs/development/python-modules/pyqt/5.x.nix+4−3
@@ -1,5 +1,5 @@
11{ lib, fetchurl, pythonPackages, pkgconfig, qtbase, qtsvg, qtwebkit, qtwebengine, dbus_libs
2−, lndir, makeWrapper, qmakeHook }:
2+, lndir, makeWrapper, qmake }:
33
44let
55 version = "5.8.1";
@@ -21,9 +21,10 @@ in buildPythonPackage {
2121 sha256 = "0biak7l574i2gc8lj1s45skajbxsmmx66nlvs6xaakzkc6r293qy";
2222 };
2323
24+ nativeBuildInputs = [ pkgconfig makeWrapper qmake ];
25+
2426 buildInputs = [
25− pkgconfig makeWrapper lndir
26− qtbase qtsvg qtwebkit qtwebengine dbus_libs qmakeHook
27+ lndir qtbase qtsvg qtwebkit qtwebengine dbus_libs
2728 ];
2829
2930 propagatedBuildInputs = [ sip ];
pkgs/development/qtcreator/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, makeWrapper
2−, qtbase, makeQtWrapper, qtquickcontrols, qtscript, qtdeclarative, qmakeHook
2+, qtbase, makeQtWrapper, qtquickcontrols, qtscript, qtdeclarative, qmake
33, withDocumentation ? false
44}:
55
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ];
2323
24− nativeBuildInputs = [ qmakeHook makeQtWrapper makeWrapper ];
24+ nativeBuildInputs = [ qmake makeQtWrapper makeWrapper ];
2525
2626 doCheck = true;
2727
pkgs/development/tools/analysis/qcachegrind/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, qmakeHook, makeQtWrapper, qtbase, perl, python, php }:
1+{ stdenv, fetchurl, cmake, qmake, makeQtWrapper, qtbase, perl, python, php }:
22
33stdenv.mkDerivation rec {
44 name = "qcachegrind-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ qtbase perl python php ];
1313
14− nativeBuildInputs = [ qmakeHook makeQtWrapper ];
14+ nativeBuildInputs = [ qmake makeQtWrapper ];
1515
1616 postInstall = ''
1717 mkdir -p $out/bin
pkgs/games/chessx/default.nix+2−4
@@ -1,4 +1,4 @@
1−{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, qmakeHook, fetchurl }:
1+{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, qmake, fetchurl }:
22stdenv.mkDerivation rec {
33 name = "chessx-${version}";
44 version = "1.4.0";
@@ -7,15 +7,13 @@ stdenv.mkDerivation rec {
77 sha256 = "1x10c9idj2qks8xk9dy7aw3alc5w7z1kvv6dnahs0428j0sp4a74";
88 };
99 buildInputs = [
10− stdenv
11− pkgconfig
1210 qtbase
1311 qtsvg
1412 qttools
1513 qtmultimedia
1614 zlib
17− qmakeHook
1815 ];
16+ nativeBuildInputs = [ pkgconfig qmake ];
1917
2018 # RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_da.qm'
2119 #enableParallelBuilding = true;
pkgs/games/dwarf-fortress/dwarf-therapist/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, coreutils, qtbase, qtdeclarative, qmakeHook, texlive }:
1+{ stdenv, fetchFromGitHub, coreutils, qtbase, qtdeclarative, qmake, texlive }:
22
33stdenv.mkDerivation rec {
44 name = "dwarf-therapist-original-${version}";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 outputs = [ "out" "layouts" ];
1515 buildInputs = [ qtbase qtdeclarative ];
16− nativeBuildInputs = [ texlive qmakeHook ];
16+ nativeBuildInputs = [ texlive qmake ];
1717
1818 enableParallelBuilding = false;
1919
pkgs/games/mudlet/default.nix+4−3
@@ -1,5 +1,5 @@
11{ fetchurl, unzip, stdenv, makeWrapper, qtbase, yajl, libzip, hunspell
2−, boost, lua5_1, luafilesystem, luazip, lrexlib, luasqlite3, qmakeHook }:
2+, boost, lua5_1, luafilesystem, luazip, lrexlib, luasqlite3, qmake }:
33
44stdenv.mkDerivation rec {
55 name = "mudlet-${version}";
@@ -10,9 +10,10 @@ stdenv.mkDerivation rec {
1010 sha256 = "08fhqd323kgz5s17ac5z9dhkjxcmwvcmvhzy0x1vw4rayhijfrd7";
1111 };
1212
13+ nativeBuildInputs = [ makeWrapper qmake ];
1314 buildInputs = [
14− unzip qtbase lua5_1 hunspell libzip yajl boost makeWrapper
15− luafilesystem luazip lrexlib luasqlite3 qmakeHook
15+ unzip qtbase lua5_1 hunspell libzip yajl boost
16+ luafilesystem luazip lrexlib luasqlite3
1617 ];
1718
1819 preConfigure = "cd src";
pkgs/os-specific/linux/wpa_supplicant/gui.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qtbase, qmakeHook, inkscape, imagemagick, wpa_supplicant }:
1+{ stdenv, fetchurl, qtbase, qmake, inkscape, imagemagick, wpa_supplicant }:
22
33stdenv.mkDerivation {
44 name = "wpa_gui-${wpa_supplicant.version}";
@@ -6,7 +6,7 @@ stdenv.mkDerivation {
66 inherit (wpa_supplicant) src;
77
88 buildInputs = [ qtbase ];
9− nativeBuildInputs = [ qmakeHook inkscape imagemagick ];
9+ nativeBuildInputs = [ qmake inkscape imagemagick ];
1010
1111 prePatch = ''
1212 cd wpa_supplicant/wpa_gui-qt4
pkgs/tools/misc/ckb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libudev, pkgconfig, qtbase, qmakeHook, zlib }:
1+{ stdenv, fetchFromGitHub, libudev, pkgconfig, qtbase, qmake, zlib }:
22
33stdenv.mkDerivation rec {
44 version = "0.2.6";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 nativeBuildInputs = [
2121 pkgconfig
22− qmakeHook
22+ qmake
2323 ];
2424
2525 patches = [
pkgs/tools/misc/qt5ct/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmakeHook, makeQtWrapper }:
1+{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake, makeQtWrapper }:
22
33stdenv.mkDerivation rec {
44 name = "qt5ct-${version}";
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
99 sha256 = "0by0wz40rl9gxvwbd85j0y5xy9mjab1cya96rv48x677v95lhm9f";
1010 };
1111
12− nativeBuildInputs = [ makeQtWrapper qmakeHook qttools ];
12+ propagatedBuildInputs = [ qtbase qtsvg qttools ];
13+ nativeBuildInputs = [ qmake ];
1314
1415 buildInputs = [ qtbase qtsvg ];
1516
pkgs/tools/misc/radeon-profile/default.nix+2−2
@@ -1,11 +1,11 @@
1−{ stdenv, fetchFromGitHub, qtbase, qmakeHook, makeQtWrapper, libXrandr }:
1+{ stdenv, fetchFromGitHub, qtbase, qmake, makeQtWrapper, libXrandr }:
22
33stdenv.mkDerivation rec {
44
55 name = "radeon-profile-${version}";
66 version = "20161221";
77
8− nativeBuildInputs = [ qmakeHook makeQtWrapper ];
8+ nativeBuildInputs = [ qmake makeQtWrapper ];
99 buildInputs = [ qtbase libXrandr ];
1010
1111 src = (fetchFromGitHub {
pkgs/tools/misc/rockbox-utility/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, pkgconfig, libusb1
2−, qtbase, qttools, makeQtWrapper, qmakeHook
2+, qtbase, qttools, makeQtWrapper, qmake
33, withEspeak ? false, espeak ? null }:
44
55stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 buildInputs = [ libusb1 qtbase qttools ]
1515 ++ stdenv.lib.optional withEspeak espeak;
16− nativeBuildInputs = [ makeQtWrapper pkgconfig qmakeHook ];
16+ nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ];
1717
1818 preConfigure = ''
1919 cd rbutil/rbutilqt
pkgs/tools/networking/cmst/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qtbase, qmakeHook, makeWrapper, libX11 }:
1+{ stdenv, fetchFromGitHub, qtbase, qmake, makeWrapper, libX11 }:
22
33stdenv.mkDerivation rec {
44 name = "cmst-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "0lsg8ya36df48ij0jawgli3f63hy6mn9zcla48whb1l4r7cih545";
1212 };
1313
14− nativeBuildInputs = [ makeWrapper qmakeHook ];
14+ nativeBuildInputs = [ makeWrapper qmake ];
1515
1616 buildInputs = [ qtbase ];
1717
pkgs/top-level/all-packages.nix+2−2
@@ -4049,7 +4049,7 @@ with pkgs;
40494049 };
40504050
40514051 quazip_qt4 = libsForQt5.quazip.override {
4052− qtbase = qt4; qmakeHook = qmake4Hook;
4052+ qtbase = qt4; qmake = qmake4Hook;
40534053 };
40544054
40554055 scrot = callPackage ../tools/graphics/scrot { };
@@ -15665,7 +15665,7 @@ with pkgs;
1566515665
1566615666 rofi-menugen = callPackage ../applications/misc/rofi-menugen { };
1566715667
15668− rstudio = callPackage ../applications/editors/rstudio { };
15668+ rstudio = libsForQt5.callPackage ../applications/editors/rstudio { };
1566915669
1567015670 rsync = callPackage ../applications/networking/sync/rsync {
1567115671 enableACLs = !(stdenv.isDarwin || stdenv.isSunOS || stdenv.isFreeBSD);