qt5: remove makeQtWrapper

+323 -582
+5 -13
pkgs/applications/audio/audacious/qt-5.nix
··· 1 1 { 2 - stdenv, lib, fetchurl, 3 - gettext, makeQtWrapper, pkgconfig, 2 + mkDerivation, lib, fetchurl, 3 + gettext, pkgconfig, 4 4 qtbase, 5 5 alsaLib, curl, faad2, ffmpeg, flac, fluidsynth, gdk_pixbuf, lame, libbs2b, 6 6 libcddb, libcdio082, libcue, libjack2, libmad, libmcs, libmms, libmodplug, ··· 24 24 }; 25 25 in 26 26 27 - stdenv.mkDerivation { 27 + mkDerivation { 28 28 inherit version; 29 29 name = "audacious-qt5-${version}"; 30 30 31 31 sourceFiles = lib.attrValues sources; 32 32 sourceRoots = lib.attrNames sources; 33 33 34 - nativeBuildInputs = [ 35 - gettext makeQtWrapper pkgconfig 36 - ]; 34 + nativeBuildInputs = [ gettext pkgconfig ]; 37 35 38 36 buildInputs = [ 39 37 # Core dependencies ··· 68 66 fi 69 67 70 68 done 71 - 72 - source $stdenv/setup 73 - wrapQtProgram $out/bin/audacious 74 - wrapQtProgram $out/bin/audtool 75 69 ''; 76 70 77 - enableParallelBuilding = true; 78 - 79 - meta = with stdenv.lib; { 71 + meta = with lib; { 80 72 description = "Audio player"; 81 73 homepage = http://audacious-media-player.org/; 82 74 maintainers = with maintainers; [ ttuegel ];
+1 -7
pkgs/applications/audio/cantata/default.nix
··· 1 1 { stdenv, fetchFromGitHub, cmake, vlc 2 2 , withQt4 ? false, qt4 3 - , withQt5 ? true, qtbase, qtsvg, qttools, makeQtWrapper 3 + , withQt5 ? true, qtbase, qtsvg, qttools 4 4 5 5 # Cantata doesn't build with cdparanoia enabled so we disable that 6 6 # default for now until I (or someone else) figure it out. ··· 63 63 ++ stdenv.lib.optional withMusicbrainz libmusicbrainz5 64 64 ++ stdenv.lib.optional (withTaglib && withDevices) udisks2; 65 65 66 - nativeBuildInputs = stdenv.lib.optional withQt5 makeQtWrapper; 67 - 68 66 cmakeFlags = stdenv.lib.flatten [ 69 67 (fstat withQt5 "QT5") 70 68 (fstats withTaglib [ "TAGLIB" "TAGLIB_EXTRAS" ]) ··· 86 84 # This is already fixed upstream but not released yet. Maybe in version 2. 87 85 preConfigure = '' 88 86 sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/FindTaglib.cmake 89 - ''; 90 - 91 - postInstall = stdenv.lib.optionalString withQt5 '' 92 - wrapQtProgram "$out/bin/cantata" 93 87 ''; 94 88 95 89 meta = with stdenv.lib; {
+2 -6
pkgs/applications/audio/dfasma/default.nix
··· 1 - { stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmake, makeQtWrapper }: 1 + { stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmake }: 2 2 3 3 let 4 4 ··· 39 39 40 40 buildInputs = [ fftw libsndfile qtbase qtmultimedia ]; 41 41 42 - nativeBuildInputs = [ makeQtWrapper qmake ]; 42 + nativeBuildInputs = [ qmake ]; 43 43 44 44 postPatch = '' 45 45 substituteInPlace dfasma.pro --replace '$$DFASMAVERSIONGITPRO' '${version}' ··· 52 52 ''; 53 53 54 54 enableParallelBuilding = true; 55 - 56 - postInstall = '' 57 - wrapQtProgram "$out/bin/dfasma" 58 - ''; 59 55 60 56 meta = with stdenv.lib; { 61 57 description = "Analyse and compare audio files in time and frequency";
+2 -3
pkgs/applications/audio/sonic-visualiser/default.nix
··· 2 2 3 3 { stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo 4 4 , libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate 5 - , libsndfile, pkgconfig, libpulseaudio, makeQtWrapper, qtbase, redland 5 + , libsndfile, pkgconfig, libpulseaudio, qtbase, redland 6 6 , qmake, rubberband, serd, sord, vampSDK, fftwFloat 7 7 }: 8 8 ··· 31 31 libX11 32 32 ]; 33 33 34 - nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ]; 34 + nativeBuildInputs = [ pkgconfig qmake ]; 35 35 36 36 configurePhase = '' 37 37 for i in sonic-visualiser svapp svcore svgui; ··· 43 43 mkdir -p $out/{bin,share/sonic-visualiser} 44 44 cp sonic-visualiser $out/bin/ 45 45 cp -r samples $out/share/sonic-visualiser/ 46 - wrapQtProgram "$out/bin/sonic-visualiser" 47 46 ''; 48 47 49 48 meta = with stdenv.lib; {
+2 -2
pkgs/applications/editors/kdevelop5/kdevelop.nix
··· 1 - { mkDerivation, lib, fetchurl, cmake, gettext, pkgconfig, extra-cmake-modules, wrapGAppsHook 1 + { mkDerivation, lib, fetchurl, cmake, gettext, pkgconfig, extra-cmake-modules 2 2 , qtquickcontrols, qtwebkit, qttools, kde-cli-tools 3 3 , kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews 4 4 , kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor ··· 21 21 }; 22 22 23 23 nativeBuildInputs = [ 24 - cmake gettext pkgconfig extra-cmake-modules makeWrapper wrapGAppsHook 24 + cmake gettext pkgconfig extra-cmake-modules makeWrapper 25 25 ]; 26 26 27 27 buildInputs = [
+3 -4
pkgs/applications/editors/kdevelop5/kdevplatform.nix
··· 1 - { stdenv, fetchurl, fetchpatch, cmake, gettext, pkgconfig, extra-cmake-modules, makeQtWrapper 1 + { stdenv, fetchurl, fetchpatch, cmake, gettext, pkgconfig, extra-cmake-modules 2 2 , boost, subversion, apr, aprutil 3 3 , qtscript, qtwebkit, grantlee, karchive, kconfig, kcoreaddons, kguiaddons, kiconthemes, ki18n 4 4 , kitemmodels, kitemviews, kio, kparts, sonnet, kcmutils, knewstuff, knotifications ··· 11 11 in 12 12 stdenv.mkDerivation rec { 13 13 name = "${pname}-${version}"; 14 - 14 + 15 15 src = fetchurl { 16 16 url = "mirror://kde/stable/kdevelop/${version}/src/${name}.tar.xz"; 17 17 sha256 = "3159440512b1373c1a4b35f401ba1f81217de9578372b45137af141eeda6e726"; ··· 25 25 }) 26 26 ]; 27 27 28 - nativeBuildInputs = [ cmake gettext pkgconfig extra-cmake-modules makeQtWrapper ]; 28 + nativeBuildInputs = [ cmake gettext pkgconfig extra-cmake-modules ]; 29 29 30 - propagatedBuildInputs = [ ]; 31 30 buildInputs = [ 32 31 boost subversion apr aprutil 33 32 qtscript qtwebkit grantlee karchive kconfig kcoreaddons kguiaddons kiconthemes
+4 -4
pkgs/applications/editors/neovim/qt.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, doxygen 2 - , libmsgpack, makeQtWrapper, neovim, pythonPackages, qtbase }: 1 + { stdenv, fetchFromGitHub, cmake, doxygen, makeWrapper 2 + , libmsgpack, neovim, pythonPackages, qtbase }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "neovim-qt-${version}"; ··· 31 31 jinja2 msgpack python 32 32 ]); 33 33 34 - nativeBuildInputs = [ cmake doxygen makeQtWrapper ]; 34 + nativeBuildInputs = [ cmake doxygen makeWrapper ]; 35 35 36 36 enableParallelBuilding = true; 37 37 ··· 43 43 ''; 44 44 45 45 postInstall = '' 46 - wrapQtProgram "$out/bin/nvim-qt" \ 46 + wrapProgram "$out/bin/nvim-qt" \ 47 47 --prefix PATH : "${neovim}/bin" 48 48 ''; 49 49
+4 -5
pkgs/applications/graphics/ipe/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript 1 + { stdenv, fetchurl, makeWrapper, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript 2 2 , libjpeg, qtbase 3 - , makeQtWrapper 4 3 }: 5 4 6 5 stdenv.mkDerivation rec { ··· 28 27 LUA_PACKAGE = "lua"; 29 28 30 29 buildInputs = [ 31 - libjpeg pkgconfig zlib qtbase freetype cairo lua5 texlive ghostscript 30 + libjpeg zlib qtbase freetype cairo lua5 texlive ghostscript 32 31 ]; 33 32 34 - nativeBuildInputs = [ makeQtWrapper ]; 33 + nativeBuildInputs = [ makeWrapper pkgconfig ]; 35 34 36 35 postFixup = '' 37 36 for prog in $out/bin/*; do 38 - wrapQtProgram "$prog" --prefix PATH : "${texlive}/bin" 37 + wrapProgram "$prog" --prefix PATH : "${texlive}/bin" 39 38 done 40 39 ''; 41 40
+4 -12
pkgs/applications/graphics/krita/default.nix
··· 1 - { stdenv, lib, fetchurl, cmake, extra-cmake-modules, makeQtWrapper 1 + { mkDerivation, lib, fetchurl, cmake, extra-cmake-modules 2 2 , karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons 3 3 , kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem 4 4 , kio, kcrash ··· 6 6 , openjpeg, opencolorio, vc, poppler_qt5, curl, ilmbase 7 7 }: 8 8 9 - stdenv.mkDerivation rec { 9 + mkDerivation rec { 10 10 name = "krita-${version}"; 11 11 ver_min = "3.1.3"; 12 12 version = "${ver_min}"; ··· 16 16 sha256 = "125js6c8aw4bqhs28pwnl3rbgqx5yx4zsklw7bfdhy3vf6lrysw1"; 17 17 }; 18 18 19 - nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ]; 19 + nativeBuildInputs = [ cmake extra-cmake-modules ]; 20 20 21 21 buildInputs = [ 22 22 karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons ··· 27 27 28 28 NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ]; 29 29 30 - enableParallelBuilding = true; 31 - 32 - postInstall = '' 33 - for i in $out/bin/*; do 34 - wrapQtProgram "$i" 35 - done 36 - ''; 37 - 38 - meta = with stdenv.lib; { 30 + meta = with lib; { 39 31 description = "A free an open source painting application"; 40 32 homepage = "https://krita.org/"; 41 33 maintainers = with maintainers; [ abbradar ];
+3 -6
pkgs/applications/graphics/photoqt/default.nix
··· 1 - { stdenv, fetchurl, cmake, makeQtWrapper, exiv2, graphicsmagick 1 + { stdenv, fetchurl, cmake, exiv2, graphicsmagick 2 2 , qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools 3 3 }: 4 4 ··· 12 12 sha256 = "0j2kvxfb5pd9abciv161nkcsyam6n8kfqs8ymwj2mxiqflwbmfl1"; 13 13 }; 14 14 15 + nativeBuildInputs = [ cmake ]; 15 16 buildInputs = [ 16 - cmake makeQtWrapper qtbase qtquickcontrols qttools exiv2 graphicsmagick 17 + qtbase qtquickcontrols qttools exiv2 graphicsmagick 17 18 qtmultimedia qtdeclarative 18 19 ]; 19 20 20 21 preConfigure = '' 21 22 export MAGICK_LOCATION="${graphicsmagick}/include/GraphicsMagick" 22 - ''; 23 - 24 - postInstall = '' 25 - wrapQtProgram $out/bin/photoqt 26 23 ''; 27 24 28 25 meta = {
+4 -4
pkgs/applications/graphics/renderdoc/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, qtbase, qtx11extras 2 - , pkgconfig, xorg, makeQtWrapper, vulkan-loader 1 + { stdenv, fetchFromGitHub, cmake, makeWrapper, pkgconfig 2 + , qtbase, qtx11extras, vulkan-loader, xorg 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 16 16 buildInputs = [ 17 17 qtbase xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader 18 18 ]; 19 - nativeBuildInputs = [ cmake makeQtWrapper pkgconfig ]; 19 + nativeBuildInputs = [ cmake makeWrapper pkgconfig ]; 20 20 21 21 cmakeFlags = [ 22 22 "-DBUILD_VERSION_HASH=${src.rev}-distro-nix" ··· 30 30 mkdir $out/bin/.bin 31 31 mv $out/bin/qrenderdoc $out/bin/.bin/qrenderdoc 32 32 ln -s $out/bin/.bin/qrenderdoc $out/bin/qrenderdoc 33 - wrapQtProgram $out/bin/qrenderdoc --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib 33 + wrapProgram $out/bin/qrenderdoc --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib 34 34 mv $out/bin/renderdoccmd $out/bin/.bin/renderdoccmd 35 35 ln -s $out/bin/.bin/renderdoccmd $out/bin/renderdoccmd 36 36 wrapProgram $out/bin/renderdoccmd --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib
+4 -6
pkgs/applications/kde/ark/default.nix
··· 1 1 { 2 - mkDerivation, lib, config, wrapGAppsHook, 2 + mkDerivation, lib, config, makeWrapper, 3 3 4 4 extra-cmake-modules, kdoctools, 5 5 ··· 15 15 16 16 mkDerivation { 17 17 name = "ark"; 18 - nativeBuildInputs = [ 19 - extra-cmake-modules kdoctools wrapGAppsHook 20 - ]; 18 + nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ]; 21 19 propagatedBuildInputs = [ 22 20 khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice 23 21 kpty kwidgetsaddons libarchive kitemmodels 24 22 ]; 25 - preFixup = 23 + postFixup = 26 24 let 27 25 PATH = 28 26 lib.makeBinPath 29 27 ([ p7zip unzipNLS zip ] ++ lib.optional unfreeEnableUnrar unrar); 30 28 in '' 31 - gappsWrapperArgs+=(--prefix PATH : "${PATH}") 29 + wrapProgram "$out/bin/ark" --prefix PATH: "${PATH}" 32 30 ''; 33 31 meta = { 34 32 license = with lib.licenses;
+2 -2
pkgs/applications/kde/filelight.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kio, kparts, kxmlgui, qtscript, solid 5 5 }: 6 6 ··· 10 10 license = with lib.licenses; [ gpl2 ]; 11 11 maintainers = with lib.maintainers; [ fridh vcunat ]; 12 12 }; 13 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 13 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 14 14 propagatedBuildInputs = [ 15 15 kio kparts kxmlgui qtscript solid 16 16 ];
+8 -6
pkgs/applications/kde/gwenview.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 4 - baloo, exiv2, kactivities, kdelibs4support, kio, kipi-plugins, lcms2, 5 - libkdcraw, libkipi, phonon, qtimageformats, qtsvg, qtx11extras 3 + extra-cmake-modules, kdoctools, 4 + exiv2, lcms2, 5 + baloo, kactivities, kdelibs4support, kio, kipi-plugins, libkdcraw, libkipi, 6 + phonon, qtimageformats, qtsvg, qtx11extras 6 7 }: 7 8 8 9 mkDerivation { ··· 11 12 license = with lib.licenses; [ gpl2 fdl12 ]; 12 13 maintainers = [ lib.maintainers.ttuegel ]; 13 14 }; 14 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 15 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 16 + buildInputs = [ exiv2 lcms2 ]; 15 17 propagatedBuildInputs = [ 16 - baloo kactivities kdelibs4support kio exiv2 lcms2 libkdcraw 17 - libkipi phonon qtimageformats qtsvg qtx11extras 18 + baloo kactivities kdelibs4support kio libkdcraw libkipi phonon 19 + qtimageformats qtsvg qtx11extras 18 20 ]; 19 21 propagatedUserEnvPkgs = [ kipi-plugins ]; 20 22 }
+6 -5
pkgs/applications/kde/k3b.nix
··· 1 - { mkDerivation, lib, wrapGAppsHook, extra-cmake-modules 1 + { mkDerivation, lib 2 + , extra-cmake-modules, kdoctools, makeWrapper 2 3 , qtwebkit 3 - , libkcddb, kcmutils, kdoctools, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui 4 + , libkcddb, kcmutils, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui 4 5 , flac, lame, libmad, libmpcdec, libvorbis 5 6 , libsamplerate, libsndfile, taglib 6 7 , cdparanoia, cdrdao, cdrtools, dvdplusrwtools, libburn, libdvdcss, libdvdread, vcdimager ··· 14 15 maintainers = with maintainers; [ sander phreedom ]; 15 16 platforms = platforms.linux; 16 17 }; 17 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 18 + nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ]; 18 19 propagatedBuildInputs = [ 19 20 # qt 20 21 qtwebkit ··· 29 30 # others 30 31 ffmpeg libmusicbrainz2 31 32 ]; 32 - preFixup = 33 + postFixup = 33 34 let k3bPath = lib.makeBinPath [ 34 35 cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode 35 36 vcdimager 36 37 ]; 37 38 in '' 38 - gappsWrapperArgs+=(--prefix PATH : "${k3bPath}") 39 + wrapProgram "$out/bin/k3b" --prefix PATH : "${k3bPath}" 39 40 ''; 40 41 }
+4 -3
pkgs/applications/kde/kate.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n, 5 5 kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole, 6 6 kparts, ktexteditor, kwindowsystem, kwallet, kxmlgui, libgit2, ··· 13 13 license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ]; 14 14 maintainers = [ lib.maintainers.ttuegel ]; 15 15 }; 16 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 16 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 17 + buildInputs = [ libgit2 ]; 17 18 propagatedBuildInputs = [ 18 19 kactivities ki18n kio ktexteditor kwindowsystem plasma-framework 19 20 qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts 20 21 kxmlgui kdbusaddons kwallet kitemmodels knotifications threadweaver 21 - knewstuff libgit2 22 + knewstuff 22 23 ]; 23 24 propagatedUserEnvPkgs = [ konsole ]; 24 25 }
+2 -5
pkgs/applications/kde/kcachegrind.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kio, ki18n, 5 5 perl, python, php 6 6 }: ··· 11 11 license = with lib.licenses; [ gpl2 ]; 12 12 maintainers = with lib.maintainers; [ orivej ]; 13 13 }; 14 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 14 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 15 15 propagatedBuildInputs = [ kio ]; 16 16 buildInputs = [ perl python php ki18n ]; 17 - preFixup = '' 18 - gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ perl php python]}") 19 - ''; 20 17 }
+2 -2
pkgs/applications/kde/kcalc.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp 5 5 }: 6 6 ··· 10 10 license = with lib.licenses; [ gpl2 ]; 11 11 maintainers = [ lib.maintainers.fridh ]; 12 12 }; 13 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 13 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 14 14 buildInputs = [ gmp ]; 15 15 propagatedBuildInputs = [ 16 16 kconfig kconfigwidgets kguiaddons kinit knotifications
+2 -2
pkgs/applications/kde/kcolorchooser.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, wrapGAppsHook, 3 + extra-cmake-modules, 4 4 ki18n, kwidgetsaddons, kxmlgui 5 5 }: 6 6 ··· 10 10 license = with lib.licenses; [ mit ]; 11 11 maintainers = [ lib.maintainers.ttuegel ]; 12 12 }; 13 - nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ]; 13 + nativeBuildInputs = [ extra-cmake-modules ]; 14 14 buildInputs = [ ki18n ]; 15 15 propagatedBuildInputs = [ kwidgetsaddons kxmlgui ]; 16 16 }
+2 -1
pkgs/applications/kde/kcontacts.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, ki18n, 3 + extra-cmake-modules, 4 + ki18n, 4 5 kcoreaddons, kconfig, kcodecs 5 6 }: 6 7
+11 -10
pkgs/applications/kde/kdenlive.nix
··· 2 2 , lib 3 3 , extra-cmake-modules 4 4 , kdoctools 5 - , wrapGAppsHook 6 5 , qtscript 7 6 , kactivities 8 7 , kconfig ··· 39 38 nativeBuildInputs = [ 40 39 extra-cmake-modules 41 40 kdoctools 42 - wrapGAppsHook 43 41 ]; 44 42 buildInputs = [ 45 - qtscript 46 43 kconfig 47 44 kcrash 45 + kdbusaddons 46 + kfilemetadata 48 47 kguiaddons 48 + ki18n 49 49 kiconthemes 50 50 kinit 51 - kdbusaddons 52 51 knotifications 53 52 knewstuff 54 53 karchive ··· 56 55 kplotting 57 56 ktextwidgets 58 57 mlt 58 + phonon-backend-gstreamer 59 + qtquickcontrols 60 + qtscript 59 61 shared_mime_info 60 62 libv4l 61 63 ffmpeg 62 64 ]; 63 - propagatedBuildInputs = [ 64 - kactivities kconfig kcrash kguiaddons kiconthemes kinit kio kio-extras 65 - kdbusaddons kfilemetadata knotifications knewstuff karchive knotifyconfig 66 - kplotting ktextwidgets kwindowsystem plasma-framework 67 - phonon-backend-gstreamer qtquickcontrols shared_mime_info 68 - ]; 65 + postPatch = 66 + # Module Qt5::Concurrent must be included in `find_package` before it is used. 67 + '' 68 + sed -i CMakeLists.txt -e '/find_package(Qt5 REQUIRED/ s|)| Concurrent)|' 69 + ''; 69 70 meta = { 70 71 license = with lib.licenses; [ gpl2Plus ]; 71 72 };
+2 -2
pkgs/applications/kde/kdf.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kcmutils 5 5 }: 6 6 ··· 10 10 license = with lib.licenses; [ gpl2 ]; 11 11 maintainers = [ lib.maintainers.peterhoeg ]; 12 12 }; 13 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 13 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 14 14 propagatedBuildInputs = [ kcmutils ]; 15 15 }
+9 -8
pkgs/applications/kde/kgpg.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, ki18n, wrapGAppsHook, 4 - akonadi-contacts, gnupg1, gpgme, karchive, kcodecs, kcontacts, kcoreaddons, kcrash, 5 - kdbusaddons, kiconthemes, kjobwidgets, kio, knotifications, kservice, 3 + extra-cmake-modules, kdoctools, ki18n, makeWrapper, 4 + akonadi-contacts, gnupg1, gpgme, karchive, kcodecs, kcontacts, kcoreaddons, 5 + kcrash, kdbusaddons, kiconthemes, kjobwidgets, kio, knotifications, kservice, 6 6 ktextwidgets, kxmlgui, kwidgetsaddons, kwindowsystem 7 7 }: 8 8 9 9 mkDerivation { 10 10 name = "kgpg"; 11 - nativeBuildInputs = [ extra-cmake-modules kdoctools ki18n wrapGAppsHook ]; 12 - buildInputs = [ 13 - akonadi-contacts gnupg1 gpgme karchive kcodecs kcontacts kcoreaddons kcrash kdbusaddons 11 + nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ]; 12 + buildInputs = [ gnupg1 gpgme ki18n ]; 13 + propagatedBuildInputs = [ 14 + akonadi-contacts karchive kcodecs kcontacts kcoreaddons kcrash kdbusaddons 14 15 kiconthemes kjobwidgets kio knotifications kservice ktextwidgets kxmlgui 15 16 kwidgetsaddons kwindowsystem 16 17 ]; 17 - preFixup = '' 18 - gappsWrapperArgs+=(--suffix PATH : ${lib.makeBinPath [ gnupg1 ]}) 18 + postFixup = '' 19 + wrapProgram "$out/bin/kgpg" --prefix PATH : "${lib.makeBinPath [ gnupg1 ]}" 19 20 ''; 20 21 meta = { 21 22 license = [ lib.licenses.gpl2 ];
+6 -5
pkgs/applications/kde/khelpcenter.nix
··· 1 1 { 2 2 mkDerivation, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils, 5 5 kdelibs4support, khtml, kservice, xapian 6 6 }: 7 7 8 8 mkDerivation { 9 9 name = "khelpcenter"; 10 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 11 - buildInputs = [ 12 - grantlee kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons 13 - kinit kcmutils kservice xapian 10 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 11 + buildInputs = [ ki18n xapian ]; 12 + propagatedBuildInputs = [ 13 + grantlee kdelibs4support khtml kconfig kcoreaddons kdbusaddons 14 + kinit kcmutils kservice 14 15 ]; 15 16 }
+5 -4
pkgs/applications/kde/kig.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kparts, qtsvg, qtxmlpatterns, ktexteditor, boost 5 5 }: 6 6 ··· 10 10 license = with lib.licenses; [ gpl2 ]; 11 11 maintainers = with lib.maintainers; [ raskin ]; 12 12 }; 13 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 14 - buildInputs = [ 15 - kparts qtsvg qtxmlpatterns ktexteditor boost 13 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 14 + buildInputs = [ boost ]; 15 + propagatedBuildInputs = [ 16 + kparts qtsvg qtxmlpatterns ktexteditor 16 17 ]; 17 18 } 18 19
+2 -2
pkgs/applications/kde/kmix.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support, 5 5 plasma-framework, libpulseaudio, alsaLib, libcanberra_kde 6 6 }: ··· 11 11 license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; 12 12 maintainers = [ lib.maintainers.rongcuid ]; 13 13 }; 14 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 14 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 15 15 buildInputs = [ libpulseaudio alsaLib libcanberra_kde ]; 16 16 propagatedBuildInputs = [ 17 17 kglobalaccel kxmlgui kcoreaddons kdelibs4support
+1 -2
pkgs/applications/kde/kolourpaint.nix
··· 2 2 , mkDerivation 3 3 , extra-cmake-modules 4 4 , kdoctools 5 - , wrapGAppsHook 6 5 , kdelibs4support 7 6 , libkexiv2 8 7 }: 9 8 10 9 mkDerivation { 11 10 name = "kolourpaint"; 12 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 11 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 13 12 propagatedBuildInputs = [ kdelibs4support libkexiv2 ]; 14 13 meta = { 15 14 maintainers = [ lib.maintainers.fridh ];
+2 -2
pkgs/applications/kde/kompare.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kparts, ktexteditor, kwidgetsaddons, libkomparediff2 5 5 }: 6 6 7 7 mkDerivation { 8 8 name = "kompare"; 9 9 meta = { license = with lib.licenses; [ gpl2 ]; }; 10 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 10 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 11 11 propagatedBuildInputs = [ 12 12 kparts ktexteditor kwidgetsaddons libkomparediff2 13 13 ];
+6 -6
pkgs/applications/kde/konsole.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons, 5 5 ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications, 6 6 knotifyconfig, kparts, kpty, kservice, ktextwidgets, kwidgetsaddons, ··· 13 13 license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; 14 14 maintainers = [ lib.maintainers.ttuegel ]; 15 15 }; 16 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 16 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 17 + buildInputs = [ ki18n ]; 17 18 propagatedBuildInputs = [ 18 - kdelibs4support ki18n kwindowsystem qtscript kbookmarks kcompletion 19 - kconfig kconfigwidgets kcoreaddons kguiaddons kiconthemes kinit kio 20 - knotifications knotifyconfig kparts kpty kservice ktextwidgets 21 - kwidgetsaddons kxmlgui 19 + kbookmarks kcompletion kconfig kconfigwidgets kcoreaddons kdelibs4support 20 + kguiaddons kiconthemes kinit kio knotifications knotifyconfig kparts kpty 21 + kservice ktextwidgets kwidgetsaddons kwindowsystem kxmlgui qtscript 22 22 ]; 23 23 }
+4 -3
pkgs/applications/kde/krfb.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kdelibs4support, kdnssd, libvncserver, libXtst 5 5 }: 6 6 ··· 10 10 license = with lib.licenses; [ gpl2 fdl12 ]; 11 11 maintainers = with lib.maintainers; [ jerith666 ]; 12 12 }; 13 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 14 - propagatedBuildInputs = [ kdelibs4support kdnssd libvncserver libXtst ]; 13 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 14 + buildInputs = [ libvncserver libXtst ]; 15 + propagatedBuildInputs = [ kdelibs4support kdnssd ]; 15 16 }
+1 -2
pkgs/applications/kde/kwalletmanager.nix
··· 2 2 , mkDerivation 3 3 , extra-cmake-modules 4 4 , kdoctools 5 - , wrapGAppsHook 6 5 , kauth 7 6 , kcmutils 8 7 , kconfigwidgets ··· 18 17 license = with lib.licenses; [ gpl2 ]; 19 18 maintainers = with lib.maintainers; [ fridh ]; 20 19 }; 21 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 20 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 22 21 propagatedBuildInputs = [ 23 22 kauth kcmutils kconfigwidgets kcoreaddons kdbusaddons kdelibs4support 24 23 kxmlgui
+2 -2
pkgs/applications/kde/marble.nix
··· 1 1 { mkDerivation, lib 2 - , extra-cmake-modules, kdoctools, wrapGAppsHook 2 + , extra-cmake-modules, kdoctools 3 3 , qtscript, qtsvg, qtquickcontrols, qtwebkit 4 4 , krunner, shared_mime_info, kparts, knewstuff 5 5 , gpsd, perl ··· 8 8 mkDerivation { 9 9 name = "marble"; 10 10 meta.license = with lib.licenses; [ lgpl21 gpl3 ]; 11 - nativeBuildInputs = [ extra-cmake-modules kdoctools perl wrapGAppsHook ]; 11 + nativeBuildInputs = [ extra-cmake-modules kdoctools perl ]; 12 12 propagatedBuildInputs = [ 13 13 qtscript qtsvg qtquickcontrols qtwebkit shared_mime_info krunner kparts 14 14 knewstuff gpsd
+3 -4
pkgs/applications/kde/okteta.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 kconfig, kinit, 5 5 kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5 6 6 }: ··· 11 11 license = with lib.licenses; [ gpl2 ]; 12 12 maintainers = with lib.maintainers; [ peterhoeg ]; 13 13 }; 14 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 14 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 15 15 propagatedBuildInputs = [ 16 - kconfig kinit 17 - kcmutils kconfigwidgets knewstuff kparts qca-qt5 16 + kconfig kinit kcmutils kconfigwidgets knewstuff kparts qca-qt5 18 17 ]; 19 18 }
+7 -6
pkgs/applications/kde/okular.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 3 + extra-cmake-modules, kdoctools, 4 4 djvulibre, ebook_tools, kactivities, karchive, kbookmarks, kcompletion, 5 5 kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdegraphics-mobipocket, 6 6 kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet, kwindowsystem, libkexiv2, ··· 9 9 10 10 mkDerivation { 11 11 name = "okular"; 12 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 12 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 13 + buildInputs = [ djvulibre ebook_tools ]; 13 14 propagatedBuildInputs = [ 14 - djvulibre ebook_tools kactivities karchive kbookmarks kcompletion kconfig 15 - kconfigwidgets kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes 16 - kjs khtml kio kparts kpty kwallet kwindowsystem libkexiv2 libspectre poppler 17 - qca-qt5 qtdeclarative qtsvg threadweaver 15 + kactivities karchive kbookmarks kcompletion kconfig kconfigwidgets 16 + kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes kjs khtml kio 17 + kparts kpty kwallet kwindowsystem libkexiv2 libspectre poppler qca-qt5 18 + qtdeclarative qtsvg threadweaver 18 19 ]; 19 20 meta = { 20 21 platforms = lib.platforms.linux;
+8 -6
pkgs/applications/kde/print-manager.nix
··· 1 1 { 2 - mkDerivation, lib, extra-cmake-modules, wrapGAppsHook, 3 - cups, kconfig, kconfigwidgets, kdbusaddons, kiconthemes, ki18n, kcmutils, kio, 2 + mkDerivation, lib, 3 + extra-cmake-modules, 4 + cups, ki18n, 5 + kconfig, kconfigwidgets, kdbusaddons, kiconthemes, kcmutils, kio, 4 6 knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework, 5 7 qtdeclarative 6 8 }: ··· 11 13 license = [ lib.licenses.gpl2 ]; 12 14 maintainers = [ lib.maintainers.ttuegel ]; 13 15 }; 14 - nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ]; 16 + nativeBuildInputs = [ extra-cmake-modules ]; 17 + buildInputs = [ cups ki18n ]; 15 18 propagatedBuildInputs = [ 16 - cups kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications 17 - kwidgetsaddons kitemviews ki18n kio kwindowsystem plasma-framework 18 - qtdeclarative 19 + kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications 20 + kwidgetsaddons kitemviews kio kwindowsystem plasma-framework qtdeclarative 19 21 ]; 20 22 }
+7 -6
pkgs/applications/kde/spectacle.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 - extra-cmake-modules, kdoctools, wrapGAppsHook, 4 - kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, kipi-plugins, 3 + extra-cmake-modules, kdoctools, 4 + ki18n, xcb-util-cursor, 5 + kconfig, kcoreaddons, kdbusaddons, kdeclarative, kio, kipi-plugins, 5 6 knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi, 6 - xcb-util-cursor 7 7 }: 8 8 9 9 mkDerivation { 10 10 name = "spectacle"; 11 11 meta = with lib; { maintainers = with maintainers; [ ttuegel ]; }; 12 - nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 12 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 13 + buildInputs = [ ki18n xcb-util-cursor ]; 13 14 propagatedBuildInputs = [ 14 - kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications 15 - kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor 15 + kconfig kcoreaddons kdbusaddons kdeclarative kio knotifications 16 + kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi 16 17 ]; 17 18 propagatedUserEnvPkgs = [ kipi-plugins ]; 18 19 }
+4 -8
pkgs/applications/misc/albert/default.nix
··· 1 - { stdenv, fetchFromGitHub, qtbase, qtsvg, qtx11extras, makeQtWrapper, muparser, cmake }: 1 + { mkDerivation, lib, fetchFromGitHub, qtbase, qtsvg, qtx11extras, muparser, cmake }: 2 2 3 - stdenv.mkDerivation rec { 3 + mkDerivation rec { 4 4 name = "albert-${version}"; 5 5 version = "0.11.3"; 6 6 ··· 11 11 sha256 = "0ddz6h1334b9kqy1lfi7qa21znm3l0b9h0d4s62llxdasv103jh5"; 12 12 }; 13 13 14 - nativeBuildInputs = [ cmake makeQtWrapper ]; 14 + nativeBuildInputs = [ cmake ]; 15 15 16 16 buildInputs = [ qtbase qtsvg qtx11extras muparser ]; 17 17 ··· 31 31 rm "$out/lib" 32 32 ''; 33 33 34 - fixupPhase = '' 35 - wrapQtProgram $out/bin/albert 36 - ''; 37 - 38 - meta = with stdenv.lib; { 34 + meta = with lib; { 39 35 homepage = https://albertlauncher.github.io/; 40 36 description = "Desktop agnostic launcher"; 41 37 license = licenses.gpl3Plus;
+2 -4
pkgs/applications/misc/cool-retro-term/default.nix
··· 1 - { stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget, 1 + { stdenv, fetchgit, qtbase, qtquick1, qmltermwidget, 2 2 qtquickcontrols, qtgraphicaleffects, qmake }: 3 3 4 4 stdenv.mkDerivation rec { ··· 17 17 ''; 18 18 19 19 buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ]; 20 - nativeBuildInputs = [ makeQtWrapper qmake ]; 20 + nativeBuildInputs = [ qmake ]; 21 21 22 22 installFlags = [ "INSTALL_ROOT=$(out)" ]; 23 23 ··· 25 25 mv $out/usr/share $out/share 26 26 mv $out/usr/bin $out/bin 27 27 rmdir $out/usr 28 - 29 - wrapQtProgram $out/bin/cool-retro-term 30 28 ''; 31 29 32 30 enableParallelBuilding = true;
+4 -6
pkgs/applications/misc/cura/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, cmake, python3, qtbase, makeQtWrapper, curaengine }: 1 + { mkDerivation, lib, fetchFromGitHub, cmake, python3, qtbase, curaengine }: 2 2 3 - stdenv.mkDerivation rec { 3 + mkDerivation rec { 4 4 name = "cura-${version}"; 5 5 version = "2.4.0"; 6 6 ··· 13 13 14 14 buildInputs = [ qtbase ]; 15 15 propagatedBuildInputs = with python3.pkgs; [ uranium zeroconf pyserial ]; 16 - nativeBuildInputs = [ cmake python3.pkgs.wrapPython makeQtWrapper ]; 16 + nativeBuildInputs = [ cmake python3.pkgs.wrapPython ]; 17 17 18 18 cmakeFlags = [ "-DCMAKE_MODULE_PATH=${python3.pkgs.uranium}/share/cmake-${cmake.majorVersion}/Modules" ]; 19 19 ··· 24 24 25 25 postFixup = '' 26 26 wrapPythonPrograms 27 - mv $out/bin/cura $out/bin/.cura-noqtpath 28 - makeQtWrapper $out/bin/.cura-noqtpath $out/bin/cura 29 27 ''; 30 28 31 - meta = with stdenv.lib; { 29 + meta = with lib; { 32 30 description = "3D printer / slicing GUI built on top of the Uranium framework"; 33 31 homepage = "https://github.com/Ultimaker/Cura"; 34 32 license = licenses.agpl3;
+5 -5
pkgs/applications/misc/golden-cheetah/default.nix
··· 1 1 { stdenv, fetchurl 2 2 , qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools, qtconnectivity 3 - , yacc, flex, zlib, config, qmake, makeQtWrapper 3 + , yacc, flex, zlib, config, qmake, makeWrapper 4 4 }: 5 5 stdenv.mkDerivation rec { 6 6 name = "golden-cheetah-${version}"; ··· 10 10 url = "https://github.com/GoldenCheetah/GoldenCheetah/archive/V${version}.tar.gz"; 11 11 sha256 = "0fiz2pj155cd357kph50lc6rjyzwp045glfv4y68qls9j7m9ayaf"; 12 12 }; 13 - qtInputs = [ 14 - qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools yacc flex zlib 13 + buildInputs = [ 14 + qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools zlib 15 15 qtconnectivity 16 16 ]; 17 - nativeBuildInputs = [ makeQtWrapper qmake ] ++ qtInputs; 17 + nativeBuildInputs = [ flex makeWrapper qmake yacc ]; 18 18 preConfigure = '' 19 19 cp src/gcconfig.pri.in src/gcconfig.pri 20 20 cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri ··· 26 26 27 27 mkdir -p $out/bin 28 28 cp src/GoldenCheetah $out/bin 29 - wrapQtProgram $out/bin/GoldenCheetah --set LD_LIBRARY_PATH "${zlib.out}/lib" 29 + wrapProgram $out/bin/GoldenCheetah --set LD_LIBRARY_PATH "${zlib.out}/lib" 30 30 31 31 runHook postInstall 32 32 '';
+2 -3
pkgs/applications/misc/gpxsee/default.nix
··· 1 - { stdenv, fetchFromGitHub, qmake, qtbase, qttools, makeQtWrapper }: 1 + { stdenv, fetchFromGitHub, qmake, qtbase, qttools }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gpxsee-${version}"; ··· 11 11 sha256 = "17s1v6b1j7pi0yj554bd0cg14bl854gssp5gj2pl51rxji6zr0wp"; 12 12 }; 13 13 14 - nativeBuildInputs = [ qmake qttools makeQtWrapper ]; 14 + nativeBuildInputs = [ qmake qttools ]; 15 15 16 16 preConfigure = '' 17 17 substituteInPlace src/config.h --replace /usr/share/gpxsee $out/share/gpxsee ··· 20 20 21 21 preFixup = '' 22 22 install -Dm755 GPXSee $out/bin/GPXSee 23 - wrapQtProgram $out/bin/GPXSee 24 23 25 24 mkdir -p $out/share/gpxsee 26 25 cp pkg/maps.txt $out/share/gpxsee
+1 -9
pkgs/applications/misc/kdeconnect/default.nix
··· 2 2 , lib 3 3 , fetchurl 4 4 , extra-cmake-modules 5 - , makeQtWrapper 6 5 , kcmutils 7 6 , kconfigwidgets 8 7 , kdbusaddons ··· 35 34 libXtst 36 35 ]; 37 36 38 - nativeBuildInputs = [ 39 - extra-cmake-modules 40 - makeQtWrapper 41 - ]; 42 - 43 - postInstall = '' 44 - wrapQtProgram "$out/bin/kdeconnect-cli" 45 - ''; 37 + nativeBuildInputs = [ extra-cmake-modules ]; 46 38 47 39 meta = { 48 40 description = "KDE Connect provides several features to integrate your phone and your computer";
+3 -3
pkgs/applications/misc/openbrf/default.nix
··· 1 - { stdenv, fetchFromGitHub, qtbase, vcg, glew, qmake, makeQtWrapper, mesa }: 1 + { stdenv, fetchFromGitHub, qtbase, vcg, glew, qmake, mesa }: 2 2 3 3 4 4 stdenv.mkDerivation { ··· 14 14 buildInputs = [ qtbase vcg glew ]; 15 15 16 16 enableParallelBuilding = true; 17 - nativeBuildInputs = [ qmake makeQtWrapper ]; 17 + nativeBuildInputs = [ qmake ]; 18 18 19 19 qmakeFlags = [ "openBrf.pro" ]; 20 20 ··· 31 31 --set-rpath "${stdenv.lib.makeLibraryPath [ qtbase glew stdenv.cc.cc mesa ]}" \ 32 32 $out/share/openBrf/openBrf 33 33 34 - makeQtWrapper "$out/share/openBrf/openBrf" "$out/bin/openBrf" 34 + ln -s "$out/share/openBrf/openBrf" "$out/bin/openBrf" 35 35 ''; 36 36 37 37 dontPatchELF = true;
+5 -7
pkgs/applications/misc/qsyncthingtray/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, procps ? null 1 + { mkDerivation, stdenv, lib, fetchFromGitHub, procps ? null 2 2 , qtbase, qtwebengine, qtwebkit 3 - , cmake, makeQtWrapper 3 + , cmake 4 4 , syncthing, syncthing-inotify ? null 5 5 , preferQWebView ? false }: 6 6 7 - stdenv.mkDerivation rec { 7 + mkDerivation rec { 8 8 version = "0.5.7"; 9 9 name = "qsyncthingtray-${version}"; 10 10 ··· 16 16 }; 17 17 18 18 buildInputs = [ qtbase qtwebengine ] ++ lib.optional preferQWebView qtwebkit; 19 - nativeBuildInputs = [ cmake makeQtWrapper ]; 20 - enableParallelBuilding = true; 19 + nativeBuildInputs = [ cmake ]; 21 20 22 21 cmakeFlags = lib.optional preferQWebView "-DQST_BUILD_WEBKIT=1"; 23 22 ··· 41 40 mkdir -p $out/bin 42 41 install -m755 QSyncthingTray $out/bin/${qst} 43 42 ln -s $out/bin/${qst} $out/bin/QSyncthingTray 44 - wrapQtProgram $out/bin/qsyncthingtray 45 43 46 44 runHook postInstall 47 45 ''; 48 46 49 - meta = with stdenv.lib; { 47 + meta = with lib; { 50 48 homepage = https://github.com/sieren/QSyncthingTray/; 51 49 description = "A Traybar Application for Syncthing written in C++"; 52 50 longDescription = ''
+4 -4
pkgs/applications/misc/qtpass/default.nix
··· 1 - { stdenv, fetchFromGitHub, git, gnupg, makeQtWrapper, pass, qtbase, qtsvg, qttools, qmake }: 1 + { stdenv, fetchFromGitHub, git, gnupg, pass, qtbase, qtsvg, qttools, qmake, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "qtpass-${version}"; ··· 13 13 14 14 buildInputs = [ git gnupg pass qtbase qtsvg qttools ]; 15 15 16 - nativeBuildInputs = [ makeQtWrapper qmake ]; 16 + nativeBuildInputs = [ makeWrapper qmake ]; 17 17 18 18 preConfigure = '' 19 - qmakeFlags="$qmakeFlags CONFIG+=release DESTDIR=$out" 19 + qmakeFlags="$qmakeFlags DESTDIR=$out" 20 20 ''; 21 21 22 22 installPhase = '' ··· 28 28 ''; 29 29 30 30 postInstall = '' 31 - wrapQtProgram $out/bin/qtpass \ 31 + wrapProgram $out/bin/qtpass \ 32 32 --suffix PATH : ${git}/bin \ 33 33 --suffix PATH : ${gnupg}/bin \ 34 34 --suffix PATH : ${pass}/bin
+2 -3
pkgs/applications/misc/redis-desktop-manager/default.nix
··· 1 1 { stdenv, lib, fetchgit, pkgconfig , libssh2 2 2 , qtbase, qtdeclarative, qtgraphicaleffects, qtimageformats, qtquickcontrols 3 3 , qtsvg, qttools, qtquick1 4 - , makeQtWrapper, qmake 4 + , qmake 5 5 }: 6 6 7 7 let ··· 24 24 sha256 = "0a7xa39qp1q32zkypw32mm3wi8wbhxhvrm6l3xsa3k1jzih7hzxr"; 25 25 }; 26 26 27 - nativeBuildInputs = [ makeQtWrapper qmake ]; 27 + nativeBuildInputs = [ qmake ]; 28 28 29 29 buildInputs = [ 30 30 pkgconfig libssh2 qtbase qtdeclarative qtgraphicaleffects qtimageformats ··· 68 68 mkdir -p $out/bin 69 69 instdir="$srcdir/bin/linux/release" 70 70 cp $instdir/rdm $out/bin 71 - wrapQtProgram $out/bin/rdm 72 71 ''; 73 72 74 73 meta = with lib; {
+6 -11
pkgs/applications/misc/xca/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, which, makeQtWrapper, 2 - libtool, openssl, qtbase, qttools }: 1 + { mkDerivation, lib, fetchurl, pkgconfig, which 2 + , libtool, openssl, qtbase, qttools }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 - stdenv.mkDerivation rec { 6 + mkDerivation rec { 7 7 name = "xca-${version}"; 8 8 version = "1.3.2"; 9 9 ··· 16 16 17 17 buildInputs = [ libtool openssl qtbase qttools ]; 18 18 19 - nativeBuildInputs = [ makeQtWrapper pkgconfig which ]; 19 + nativeBuildInputs = [ pkgconfig which ]; 20 20 21 21 configureFlags = [ "CXXFLAGS=-std=c++11" ]; 22 22 ··· 26 26 --replace ${qtbase}/bin/uic ${qtbase.dev}/bin/uic 27 27 ''; 28 28 29 - postInstall = '' 30 - wrapQtProgram "$out/bin/xca" 31 - wrapQtProgram "$out/bin/xca_db_stat" 32 - ''; 33 - 34 - meta = with stdenv.lib; { 29 + meta = with lib; { 35 30 description = "Interface for managing asymetric keys like RSA or DSA"; 36 31 homepage = http://xca.sourceforge.net/; 37 32 platforms = platforms.all;
+4 -5
pkgs/applications/networking/browsers/qutebrowser/default.nix
··· 1 - { stdenv, lib, fetchurl, unzip, buildPythonApplication, makeQtWrapper, wrapGAppsHook 1 + { stdenv, lib, fetchurl, unzip, buildPythonApplication, makeWrapper, wrapGAppsHook 2 2 , qtbase, pyqt5, jinja2, pygments, pyyaml, pypeg2, cssutils, glib_networking 3 3 , asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2, libxslt 4 4 , gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-libav ··· 44 44 ]; 45 45 46 46 nativeBuildInputs = [ 47 - makeQtWrapper wrapGAppsHook asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt 47 + makeWrapper wrapGAppsHook asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt 48 48 ]; 49 49 50 50 propagatedBuildInputs = [ ··· 73 73 install -Dm755 -t "$out/share/qutebrowser/userscripts/" misc/userscripts/* 74 74 ''; 75 75 76 - postFixup = '' 77 - wrapQtProgram $out/bin/qutebrowser \ 78 - ${lib.optionalString withWebEngineDefault ''--add-flags "--backend webengine"''} 76 + postFixup = lib.optionalString withWebEngineDefault '' 77 + wrapProgram $out/bin/qutebrowser --add-flags "--backend webengine" 79 78 ''; 80 79 81 80 meta = {
+7 -6
pkgs/applications/networking/dropbox/default.nix
··· 1 - { stdenv, fetchurl, makeDesktopItem, patchelf, makeWrapper, makeQtWrapper 1 + { mkDerivation, stdenv, lib, fetchurl, makeDesktopItem 2 + , makeWrapper, patchelf 2 3 , dbus_libs, fontconfig, freetype, gcc, glib 3 4 , libdrm, libffi, libICE, libSM 4 5 , libX11, libXcomposite, libXext, libXmu, libXrender, libxcb ··· 58 59 startupNotify = "false"; 59 60 }; 60 61 61 - in stdenv.mkDerivation { 62 + in mkDerivation { 62 63 name = "dropbox-${version}"; 63 64 src = fetchurl { 64 65 name = "dropbox-${version}.tar.gz"; ··· 68 69 69 70 sourceRoot = ".dropbox-dist"; 70 71 71 - nativeBuildInputs = [ makeQtWrapper patchelf ]; 72 + nativeBuildInputs = [ makeWrapper patchelf ]; 72 73 dontStrip = true; # already done 73 74 74 75 installPhase = '' ··· 94 95 95 96 mkdir -p "$out/bin" 96 97 RPATH="${ldpath}:$out/${appdir}" 97 - makeQtWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \ 98 + makeWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \ 98 99 --prefix LD_LIBRARY_PATH : "$RPATH" 99 100 100 101 chmod 755 $out/${appdir}/dropbox ··· 137 138 meta = { 138 139 homepage = "http://www.dropbox.com"; 139 140 description = "Online stored folders (daemon version)"; 140 - maintainers = with stdenv.lib.maintainers; [ ttuegel ]; 141 + maintainers = with lib.maintainers; [ ttuegel ]; 141 142 platforms = [ "i686-linux" "x86_64-linux" ]; 142 - license = stdenv.lib.licenses.unfree; 143 + license = lib.licenses.unfree; 143 144 }; 144 145 }
+5 -8
pkgs/applications/networking/instant-messengers/qtox/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, openal, opencv, 1 + { mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig, openal, opencv, 2 2 libtoxcore, libsodium, libXScrnSaver, glib, gdk_pixbuf, gtk2, cairo, xorg, 3 - pango, atk, qrencode, ffmpeg, filter-audio, makeQtWrapper, 3 + pango, atk, qrencode, ffmpeg, filter-audio, 4 4 qtbase, qtsvg, qttools, qttranslations, sqlcipher, 5 5 libvpx, libopus }: 6 6 7 - stdenv.mkDerivation rec { 7 + mkDerivation rec { 8 8 name = "qtox-${version}"; 9 9 version = "1.10.2"; 10 10 ··· 25 25 libpthreadstubs libXdmcp 26 26 ]); 27 27 28 - nativeBuildInputs = [ cmake makeQtWrapper pkgconfig ]; 28 + nativeBuildInputs = [ cmake pkgconfig ]; 29 29 30 30 cmakeFlags = [ 31 31 "-DGIT_DESCRIBE=${version}" ··· 35 35 runHook preInstall 36 36 37 37 install -Dm755 qtox $out/bin/qtox 38 - wrapQtProgram $out/bin/qtox 39 38 40 39 runHook postInstall 41 40 ''; 42 41 43 - enableParallelBuilding = true; 44 - 45 - meta = with stdenv.lib; { 42 + meta = with lib; { 46 43 description = "Qt Tox client"; 47 44 license = licenses.gpl3; 48 45 maintainers = with maintainers; [ viric jgeerds akaWolf peterhoeg ];
+4 -8
pkgs/applications/networking/instant-messengers/quaternion/default.nix
··· 1 - { stdenv, fetchgit, qtbase, qtquickcontrols, cmake, makeQtWrapper }: 1 + { mkDerivation, lib, fetchgit, qtbase, qtquickcontrols, cmake }: 2 2 3 - stdenv.mkDerivation rec { 3 + mkDerivation rec { 4 4 name = "quaternion-git-${version}"; 5 5 version = "2017-04-15"; 6 6 ··· 17 17 sha256 = "0cm5j4vdnp5cljfnv5jqf89ccymspaqc6j9bb4c1x891vr42np0m"; 18 18 fetchSubmodules = true; 19 19 }; 20 - 21 - enableParallelBuilding = true; 22 20 23 21 buildInputs = [ qtbase qtquickcontrols ]; 24 - nativeBuildInputs = [ cmake makeQtWrapper ]; 22 + nativeBuildInputs = [ cmake ]; 25 23 26 24 cmakeFlags = [ 27 25 "-Wno-dev" 28 26 ]; 29 27 30 28 postInstall = '' 31 - wrapQtProgram $out/bin/quaternion 32 - 33 29 substituteInPlace $out/share/applications/quaternion.desktop \ 34 30 --replace 'Exec=quaternion' "Exec=$out/bin/quaternion" 35 31 36 32 rm $out/share/icons/hicolor/icon-theme.cache 37 33 ''; 38 34 39 - meta = with stdenv.lib; { 35 + meta = with lib; { 40 36 homepage = https://matrix.org/docs/projects/client/quaternion.html; 41 37 description = "Cross-platform desktop IM client for the Matrix protocol"; 42 38 license = licenses.gpl3;
+2 -3
pkgs/applications/networking/instant-messengers/ricochet/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, makeDesktopItem, unzip 2 - , qtbase, qttools, makeQtWrapper, qtmultimedia, qtquick1, qtquickcontrols 2 + , qtbase, qttools, qtmultimedia, qtquick1, qtquickcontrols 3 3 , openssl, protobuf, qmake 4 4 }: 5 5 ··· 27 27 openssl protobuf 28 28 ]; 29 29 30 - nativeBuildInputs = [ pkgconfig makeQtWrapper qmake ]; 30 + nativeBuildInputs = [ pkgconfig qmake ]; 31 31 32 32 preConfigure = '' 33 33 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags openssl)" ··· 38 38 installPhase = '' 39 39 mkdir -p $out/bin 40 40 cp ricochet $out/bin 41 - wrapQtProgram $out/bin/ricochet 42 41 43 42 mkdir -p $out/share/applications 44 43 cp $desktopItem/share/applications"/"* $out/share/applications
+3 -3
pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix
··· 3 3 , qtimageformats, qtgraphicaleffects, qtwebkit 4 4 , telegram-qml, libqtelegram-aseman-edition 5 5 , gst_all_1 6 - , makeQtWrapper, qmake }: 6 + , makeWrapper, qmake }: 7 7 8 8 stdenv.mkDerivation rec { 9 9 name = "cutegram-${meta.version}"; ··· 22 22 23 23 24 24 enableParallelBuilding = true; 25 - nativeBuildInputs = [ makeQtWrapper qmake ]; 25 + nativeBuildInputs = [ makeWrapper qmake ]; 26 26 27 27 fixupPhase = '' 28 - wrapQtProgram $out/bin/cutegram \ 28 + wrapProgram $out/bin/cutegram \ 29 29 --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" 30 30 ''; 31 31
+5 -6
pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, fetchgit, pkgconfig, gyp, cmake 2 - , qtbase, qtimageformats, makeQtWrapper 1 + { mkDerivation, lib, fetchFromGitHub, fetchgit, pkgconfig, gyp, cmake 2 + , qtbase, qtimageformats 3 3 , breakpad, gtk3, libappindicator-gtk3, dee 4 4 , ffmpeg, openalSoft, minizip 5 5 }: 6 6 7 - stdenv.mkDerivation rec { 7 + mkDerivation rec { 8 8 name = "telegram-desktop-${version}"; 9 9 version = "1.0.27"; 10 10 ··· 25 25 gtk3 libappindicator-gtk3 dee qtbase qtimageformats ffmpeg openalSoft minizip 26 26 ]; 27 27 28 - nativeBuildInputs = [ pkgconfig gyp cmake makeQtWrapper ]; 28 + nativeBuildInputs = [ pkgconfig gyp cmake ]; 29 29 30 30 patches = [ "${tgaur}/aur-build-fixes.patch" ]; 31 31 ··· 86 86 for icon_size in 16 32 48 64 128 256 512; do 87 87 install -Dm644 "../../../Telegram/Resources/art/icon''${icon_size}.png" "$out/share/icons/hicolor/''${icon_size}x''${icon_size}/apps/telegram-desktop.png" 88 88 done 89 - wrapQtProgram $out/bin/telegram-desktop 90 89 ''; 91 90 92 - meta = with stdenv.lib; { 91 + meta = with lib; { 93 92 description = "Telegram Desktop messaging app"; 94 93 license = licenses.gpl3; 95 94 platforms = platforms.linux;
+2 -4
pkgs/applications/networking/instant-messengers/tensor/default.nix
··· 1 - { stdenv, fetchgit, qtbase, qtquickcontrols, qmake, makeQtWrapper, makeDesktopItem }: 1 + { stdenv, fetchgit, qtbase, qtquickcontrols, qmake, makeDesktopItem }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "tensor-git-${version}"; ··· 14 14 enableParallelBuilding = true; 15 15 16 16 buildInputs = [ qtbase qtquickcontrols ]; 17 - nativeBuildInputs = [ qmake makeQtWrapper ]; 17 + nativeBuildInputs = [ qmake ]; 18 18 19 19 desktopItem = makeDesktopItem { 20 20 name = "tensor"; ··· 35 35 $out/share/icons/hicolor/512x512/apps/tensor.png 36 36 install -Dm644 ${desktopItem}/share/applications/tensor.desktop \ 37 37 $out/share/applications/tensor.desktop 38 - 39 - wrapQtProgram $out/bin/tensor 40 38 41 39 substituteInPlace $out/share/applications/tensor.desktop \ 42 40 --subst-var-by bin $out/bin/tensor
+2 -3
pkgs/applications/networking/irc/communi/default.nix
··· 1 - { fetchgit, libcommuni, makeQtWrapper, qtbase, qmake, stdenv }: 1 + { fetchgit, libcommuni, qtbase, qmake, stdenv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "communi-${version}"; ··· 11 11 fetchSubmodules = true; 12 12 }; 13 13 14 - nativeBuildInputs = [ makeQtWrapper qmake ]; 14 + nativeBuildInputs = [ qmake ]; 15 15 16 16 buildInputs = [ libcommuni qtbase ]; 17 17 ··· 30 30 ''; 31 31 32 32 postInstall = '' 33 - wrapQtProgram "$out/bin/communi" 34 33 substituteInPlace "$out/share/applications/communi.desktop" \ 35 34 --replace "/usr/bin" "$out/bin" 36 35 '';
-3
pkgs/applications/networking/irc/konversation/default.nix
··· 3 3 , fetchurl 4 4 , extra-cmake-modules 5 5 , kdoctools 6 - , wrapGAppsHook 7 6 , kbookmarks 8 7 , karchive 9 8 , kconfig ··· 21 20 , kio 22 21 , kparts 23 22 , kwallet 24 - , makeQtWrapper 25 23 , solid 26 24 , sonnet 27 25 , phonon ··· 65 63 nativeBuildInputs = [ 66 64 extra-cmake-modules 67 65 kdoctools 68 - wrapGAppsHook 69 66 ]; 70 67 71 68 meta = {
+6 -12
pkgs/applications/networking/mailreaders/trojita/default.nix
··· 1 - { stdenv 1 + { mkDerivation 2 2 , lib 3 3 , fetchgit 4 4 , cmake 5 5 , qtbase 6 6 , qtwebkit 7 - , makeQtWrapper 8 7 }: 9 8 10 - stdenv.mkDerivation rec { 9 + mkDerivation rec { 11 10 name = "trojita-${version}"; 12 11 version = "0.7"; 13 12 ··· 18 17 }; 19 18 20 19 buildInputs = [ 21 - cmake 22 20 qtbase 23 21 qtwebkit 24 22 ]; 25 23 26 24 nativeBuildInputs = [ 27 - makeQtWrapper 25 + cmake 28 26 ]; 29 27 30 - postInstall = '' 31 - wrapQtProgram "$out/bin/trojita" 32 - ''; 33 28 34 - 35 - meta = { 29 + meta = with lib; { 36 30 description = "A Qt IMAP e-mail client"; 37 31 homepage = http://trojita.flaska.net/; 38 - license = with lib.licenses; [ gpl2 gpl3 ]; 39 - platforms = stdenv.lib.platforms.linux; 32 + license = with licenses; [ gpl2 gpl3 ]; 33 + platforms = platforms.linux; 40 34 }; 41 35 42 36 }
+1 -5
pkgs/applications/networking/mumble/default.nix
··· 70 70 client = source: generic { 71 71 type = "mumble"; 72 72 73 - nativeBuildInputs = optionals (source.qtVersion == 5) [ qt5.qttools qt5.makeQtWrapper ]; 73 + nativeBuildInputs = optionals (source.qtVersion == 5) [ qt5.qttools ]; 74 74 buildInputs = [ libopus libsndfile speex ] 75 75 ++ optional (source.qtVersion == 5) qt5.qtsvg 76 76 ++ optional stdenv.isLinux alsaLib ··· 91 91 mkdir -p $out/share/icons{,/hicolor/scalable/apps} 92 92 cp icons/mumble.svg $out/share/icons 93 93 ln -s $out/share/icon/mumble.svg $out/share/icons/hicolor/scalable/apps 94 - 95 - ${optionalString (source.qtVersion == 5) '' 96 - wrapQtProgram $out/bin/mumble 97 - ''} 98 94 ''; 99 95 } source; 100 96
+2 -6
pkgs/applications/networking/newsreaders/quiterss/default.nix
··· 1 - { stdenv, fetchFromGitHub, qtbase, qmake, qttools, qtwebkit, makeQtWrapper, pkgconfig, sqlite }: 1 + { stdenv, fetchFromGitHub, qtbase, qmake, qttools, qtwebkit, pkgconfig, sqlite }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "quiterss-${version}"; ··· 11 11 sha256 = "1y0n5ps1z4wgf9hkfjrw7dfyncrw22bf9mi3052vmf3s7xzz6vbb"; 12 12 }; 13 13 14 - nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ]; 14 + nativeBuildInputs = [ pkgconfig qmake ]; 15 15 buildInputs = [ qtbase qttools qtwebkit sqlite.dev ]; 16 - 17 - postInstall = '' 18 - wrapQtProgram "$out/bin/quiterss" 19 - ''; 20 16 21 17 meta = with stdenv.lib; { 22 18 description = "A Qt-based RSS/Atom news feed reader";
+3 -2
pkgs/applications/office/mendeley/default.nix
··· 1 1 { fetchurl, stdenv, dpkg, which 2 + , makeWrapper 2 3 , alsaLib 3 4 , desktop_file_utils 4 5 , dbus ··· 92 93 sha256 = sha256; 93 94 }; 94 95 95 - nativeBuildInputs = [ qt5.makeQtWrapper ]; 96 + nativeBuildInputs = [ makeWrapper ]; 96 97 buildInputs = [ dpkg which ] ++ deps; 97 98 98 99 unpackPhase = "true"; ··· 107 108 $out/bin/mendeleydesktop 108 109 paxmark m $out/bin/mendeleydesktop 109 110 110 - wrapQtProgram $out/bin/mendeleydesktop \ 111 + wrapProgram $out/bin/mendeleydesktop \ 111 112 --add-flags "--unix-distro-build" \ 112 113 ${stdenv.lib.optionalString autorunLinkHandler 113 114 ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop"''}
+2 -4
pkgs/applications/office/mytetra/default.nix
··· 1 - { stdenv, fetchurl, qmake, makeQtWrapper, qtsvg }: 1 + { stdenv, fetchurl, qmake, qtsvg }: 2 2 3 3 let 4 4 version = "1.42.2"; ··· 9 9 sha256 = "1ah44nf4ksxkh01a2zmgvvby4pwczhyq5vcp270rf6visp8v9804"; 10 10 }; 11 11 12 - nativeBuildInputs = [ makeQtWrapper qmake ]; 12 + nativeBuildInputs = [ qmake ]; 13 13 buildInputs = [ qtsvg ]; 14 14 15 15 hardeningDisable = [ "format" ]; ··· 22 22 substituteInPlace src/views/mainWindow/MainWindow.cpp \ 23 23 --replace ":/resource/pic/logo.svg" "$out/share/icons/hicolor/48x48/apps/mytetra.png" 24 24 ''; 25 - 26 - postInstall = "wrapQtProgram $out/bin/mytetra"; 27 25 28 26 meta = with stdenv.lib; { 29 27 description = "Smart manager for information collecting";
+5 -11
pkgs/applications/office/skrooge/default.nix
··· 1 - { stdenv, fetchurl, cmake, extra-cmake-modules, makeQtWrapper, qtwebkit, qtscript, grantlee, 1 + { mkDerivation, lib, fetchurl, 2 + cmake, extra-cmake-modules, qtwebkit, qtscript, grantlee, 2 3 kxmlgui, kwallet, kparts, kdoctools, kjobwidgets, kdesignerplugin, 3 4 kiconthemes, knewstuff, sqlcipher, qca-qt5, kdelibs4support, kactivities, 4 5 knotifyconfig, krunner, libofx }: 5 6 6 - stdenv.mkDerivation rec { 7 + mkDerivation rec { 7 8 name = "skrooge-${version}"; 8 9 version = "2.7.0"; 9 10 ··· 12 13 sha256 = "1xrh9nal122rzlv4m0x8qah6zpqb6891al3351piarpk2xgjgj4x"; 13 14 }; 14 15 15 - nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ]; 16 + nativeBuildInputs = [ cmake extra-cmake-modules ]; 16 17 17 18 buildInputs = [ qtwebkit qtscript grantlee kxmlgui kwallet kparts kdoctools 18 19 kjobwidgets kdesignerplugin kiconthemes knewstuff sqlcipher qca-qt5 19 20 kdelibs4support kactivities knotifyconfig krunner libofx 20 21 ]; 21 22 22 - enableParallelBuilding = true; 23 - 24 - postInstall = '' 25 - wrapQtProgram "$out/bin/skrooge" 26 - wrapQtProgram "$out/bin/skroogeconvert" 27 - ''; 28 - 29 - meta = with stdenv.lib; { 23 + meta = with lib; { 30 24 description = "A personal finances manager, powered by KDE"; 31 25 license = with licenses; [ gpl3 ]; 32 26 maintainers = with maintainers; [ joko ];
+11 -16
pkgs/applications/science/astronomy/stellarium/default.nix
··· 1 - { stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv 2 - , qtscript, qtserialport, qttools, makeQtWrapper 1 + { mkDerivation, lib, fetchurl 2 + , cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv 3 + , qtscript, qtserialport, qttools 3 4 , qtmultimedia 4 5 }: 5 6 6 - stdenv.mkDerivation rec { 7 + mkDerivation rec { 7 8 name = "stellarium-${version}"; 8 9 version = "0.15.0"; 9 10 ··· 12 13 sha256 = "0il751lgnfkx35h1m8fzwwnrygpxjx2a80gng1i1rbybkykf7l3l"; 13 14 }; 14 15 15 - nativeBuildInputs = [ makeQtWrapper ]; 16 + nativeBuildInputs = [ cmake perl ]; 16 17 17 18 buildInputs = [ 18 - cmake freetype libpng mesa gettext openssl perl libiconv qtscript 19 - qtserialport qttools qtmultimedia 19 + freetype libpng mesa openssl libiconv qtscript qtserialport qttools 20 + qtmultimedia 20 21 ]; 21 22 22 - enableParallelBuilding = true; 23 - 24 - postInstall = '' 25 - wrapQtProgram "$out/bin/stellarium" 26 - ''; 27 - 28 - meta = { 23 + meta = with lib; { 29 24 description = "Free open-source planetarium"; 30 25 homepage = "http://stellarium.org/"; 31 - license = stdenv.lib.licenses.gpl2; 26 + license = licenses.gpl2; 32 27 33 - platforms = stdenv.lib.platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin 34 - maintainers = [ stdenv.lib.maintainers.peti ]; 28 + platforms = platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin 29 + maintainers = [ maintainers.peti ]; 35 30 }; 36 31 }
+2 -8
pkgs/applications/science/electronics/fritzing/default.nix
··· 1 - { stdenv, fetchpatch, fetchFromGitHub, makeQtWrapper, qmake, pkgconfig 1 + { stdenv, fetchpatch, fetchFromGitHub, qmake, pkgconfig 2 2 , qtbase, qtsvg, qtserialport, boost, libgit2 3 3 }: 4 4 ··· 28 28 29 29 buildInputs = [ qtbase qtsvg qtserialport boost libgit2 ]; 30 30 31 - nativeBuildInputs = [ qmake makeQtWrapper pkgconfig ]; 31 + nativeBuildInputs = [ qmake pkgconfig ]; 32 32 33 33 qmakeFlags = [ "phoenix.pro" ]; 34 - 35 - enableParallelBuilding = true; 36 34 37 35 preConfigure = '' 38 36 ln -s "$parts" parts 39 - ''; 40 - 41 - postInstall = '' 42 - wrapQtProgram $out/bin/Fritzing 43 37 ''; 44 38 45 39 meta = {
+4 -10
pkgs/applications/science/math/speedcrunch/default.nix
··· 1 - { stdenv, fetchgit, cmake, makeQtWrapper, qtbase, qttools }: 1 + { mkDerivation, lib, fetchgit, cmake, qtbase, qttools }: 2 2 3 - stdenv.mkDerivation rec { 3 + mkDerivation rec { 4 4 name = "speedcrunch-${version}"; 5 5 version = "0.12.0"; 6 6 ··· 11 11 sha256 = "0vh7cd1915bjqzkdp3sk25ngy8cq624mkh8c53c5bnzk357kb0fk"; 12 12 }; 13 13 14 - enableParallelBuilding = true; 15 - 16 14 buildInputs = [ qtbase qttools ]; 17 15 18 - nativeBuildInputs = [ cmake makeQtWrapper ]; 16 + nativeBuildInputs = [ cmake ]; 19 17 20 18 preConfigure = '' 21 19 cd src 22 20 ''; 23 21 24 - postFixup = '' 25 - wrapQtProgram $out/bin/speedcrunch 26 - ''; 27 - 28 - meta = with stdenv.lib; { 22 + meta = with lib; { 29 23 homepage = http://speedcrunch.org; 30 24 license = licenses.gpl2Plus; 31 25 description = "A fast power user calculator";
+3 -3
pkgs/applications/science/robotics/qgroundcontrol/default.nix
··· 1 1 { stdenv, fetchgit, git, espeak, SDL, udev, doxygen, cmake 2 2 , qtbase, qtlocation, qtserialport, qtdeclarative, qtconnectivity, qtxmlpatterns 3 3 , qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects, qmake 4 - , makeQtWrapper, lndir 4 + , makeWrapper, lndir 5 5 , gst_all_1, qt-gstreamer1, pkgconfig, glibc 6 6 , version ? "2.9.4" 7 7 }: ··· 20 20 21 21 enableParallelBuilding = true; 22 22 buildInputs = [ SDL udev doxygen git ] ++ gstInputs ++ qtInputs; 23 - nativeBuildInputs = [ pkgconfig makeQtWrapper qmake ]; 23 + nativeBuildInputs = [ pkgconfig makeWrapper qmake ]; 24 24 25 25 patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ]; 26 26 postPatch = '' ··· 66 66 67 67 68 68 postInstall = '' 69 - wrapQtProgram "$out/bin/qgroundcontrol" \ 69 + wrapProgram "$out/bin/qgroundcontrol" \ 70 70 --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" 71 71 ''; 72 72
+4 -6
pkgs/applications/video/bomi/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, pkgconfig, perl, python, which, makeQtWrapper 1 + { stdenv, fetchFromGitHub, fetchpatch, pkgconfig, perl, python, which 2 2 , libX11, libxcb, mesa 3 - , qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmake 3 + , qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmake, makeWrapper 4 4 , libchardet 5 5 , ffmpeg 6 6 ··· 90 90 ''; 91 91 92 92 postInstall = '' 93 - wrapQtProgram $out/bin/bomi \ 93 + wrapProgram $out/bin/bomi \ 94 94 ${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"} 95 95 ''; 96 96 ··· 104 104 ++ optional cddaSupport "--enable-cdda" 105 105 ; 106 106 107 - nativeBuildInputs = [ pkgconfig perl python which qttools makeQtWrapper qmake ]; 108 - 109 - enableParallelBuilding = true; 107 + nativeBuildInputs = [ makeWrapper pkgconfig perl python which qttools qmake ]; 110 108 111 109 meta = with stdenv.lib; { 112 110 description = "Powerful and easy-to-use multimedia player";
+1 -1
pkgs/applications/video/openshot-qt/default.nix
··· 1 1 { stdenv, fetchFromGitHub 2 2 , doxygen, python3Packages, libopenshot 3 - , makeQtWrapper, wrapGAppsHook, gtk3 }: 3 + , wrapGAppsHook, gtk3 }: 4 4 5 5 python3Packages.buildPythonApplication rec { 6 6 name = "openshot-qt-${version}";
+3 -3
pkgs/applications/video/shotcut/default.nix
··· 1 1 { stdenv, fetchurl, SDL, frei0r, gettext, mlt, jack1, pkgconfig, qtbase, 2 2 qtmultimedia, qtwebkit, qtx11extras, qtwebsockets, qtquickcontrols, 3 3 qtgraphicaleffects, 4 - qmake, makeQtWrapper }: 4 + qmake, makeWrapper }: 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "shotcut-${version}"; ··· 14 14 15 15 16 16 enableParallelBuilding = true; 17 - nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ]; 17 + nativeBuildInputs = [ makeWrapper pkgconfig qmake ]; 18 18 buildInputs = [ 19 19 SDL frei0r gettext mlt 20 20 qtbase qtmultimedia qtwebkit qtx11extras qtwebsockets qtquickcontrols ··· 31 31 postInstall = '' 32 32 mkdir -p $out/share/shotcut 33 33 cp -r src/qml $out/share/shotcut/ 34 - wrapQtProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ jack1 SDL ]} --prefix PATH : ${mlt}/bin 34 + wrapProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ jack1 SDL ]} --prefix PATH : ${mlt}/bin 35 35 ''; 36 36 37 37 meta = with stdenv.lib; {
+5 -13
pkgs/applications/virtualization/virt-manager/qt.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig 2 - , qtbase, qtmultimedia, qtsvg, makeQtWrapper 1 + { mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig 2 + , qtbase, qtmultimedia, qtsvg 3 3 , lxqt, libvncserver, libvirt, pixman, spice_gtk, spice_protocol 4 4 }: 5 5 6 - stdenv.mkDerivation rec { 6 + mkDerivation rec { 7 7 name = "virt-manager-qt-${version}"; 8 8 version = "0.43.70.2"; 9 9 ··· 23 23 libvirt libvncserver pixman spice_gtk spice_protocol 24 24 ]; 25 25 26 - nativeBuildInputs = [ cmake pkgconfig makeQtWrapper ]; 27 - 28 - postFixup = '' 29 - for f in $out/bin/* ; do 30 - wrapQtProgram $f 31 - done 32 - ''; 33 - 34 - enableParallelBuilding = true; 26 + nativeBuildInputs = [ cmake pkgconfig ]; 35 27 36 - meta = with stdenv.lib; { 28 + meta = with lib; { 37 29 homepage = http://f1ash.github.io/qt-virt-manager; 38 30 description = "Desktop user interface for managing virtual machines (QT)"; 39 31 longDescription = ''
+2 -6
pkgs/applications/virtualization/virtualbox/default.nix
··· 58 58 ++ optional pythonBindings python # Python is needed even when not building bindings 59 59 ++ optional pulseSupport libpulseaudio 60 60 ++ optionals (headless) [ libXrandr ] 61 - ++ optionals (!headless) [ qt5.qtbase qt5.qtx11extras qt5.makeQtWrapper libXinerama SDL ]; 61 + ++ optionals (!headless) [ qt5.qtbase qt5.qtx11extras libXinerama SDL ]; 62 62 63 63 hardeningDisable = [ "fortify" "pic" "stackprotector" ]; 64 64 ··· 153 153 find out/linux.*/${buildType}/bin -mindepth 1 -maxdepth 1 \ 154 154 -name src -o -exec cp -avt "$libexec" {} + 155 155 156 - # Create wrapper script 157 156 mkdir -p $out/bin 158 - ${optionalString (!headless) '' 159 - makeQtWrapper "$libexec/VirtualBox" $out/bin/VirtualBox 160 - ''} 161 - for file in ${optionalString (!headless) "VBoxSDL rdesktop-vrdp"} VBoxManage VBoxBalloonCtrl VBoxHeadless; do 157 + for file in ${optionalString (!headless) "VirtualBox VBoxSDL rdesktop-vrdp"} VBoxManage VBoxBalloonCtrl VBoxHeadless; do 162 158 echo "Linking $file to /bin" 163 159 test -x "$libexec/$file" 164 160 ln -s "$libexec/$file" $out/bin/$file
+1 -1
pkgs/desktops/plasma-5/systemsettings.nix
··· 1 1 { 2 - mkDerivation, extra-cmake-modules, kdoctools, makeQtWrapper, 2 + mkDerivation, extra-cmake-modules, kdoctools, 3 3 kcmutils, kconfig, kdbusaddons, khtml, ki18n, kiconthemes, kio, kitemviews, 4 4 kservice, kwindowsystem, kxmlgui, qtquickcontrols, qtquickcontrols2 5 5 }:
+4 -10
pkgs/development/libraries/libqtav/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, extra-cmake-modules, makeQtWrapper 1 + { mkDerivation, lib, fetchFromGitHub, extra-cmake-modules 2 2 , qtbase, qtmultimedia, qtquick1, qttools 3 3 , mesa, libX11 4 4 , libass, openal, ffmpeg, libuchardet 5 5 , alsaLib, libpulseaudio, libva 6 6 }: 7 7 8 - with stdenv.lib; 8 + with lib; 9 9 10 - stdenv.mkDerivation rec { 10 + mkDerivation rec { 11 11 name = "libqtav-${version}"; 12 12 13 13 # Awaiting upcoming `v1.12.0` release. `v1.11.0` is not supporting cmake which is the 14 14 # the reason behind taking an unstable git rev. 15 15 version = "unstable-2017-03-30"; 16 16 17 - nativeBuildInputs = [ extra-cmake-modules makeQtWrapper qttools ]; 17 + nativeBuildInputs = [ extra-cmake-modules qttools ]; 18 18 buildInputs = [ 19 19 qtbase qtmultimedia qtquick1 20 20 mesa libX11 ··· 43 43 preFixup = '' 44 44 mkdir -p "$out/bin" 45 45 cp -a "./bin/"* "$out/bin" 46 - ''; 47 - 48 - postFixup = '' 49 - for i in `find $out/bin -maxdepth 1 -xtype f -executable`; do 50 - wrapQtProgram "$i" 51 - done 52 46 ''; 53 47 54 48 meta = {
-5
pkgs/development/libraries/qt-5/5.6/default.nix
··· 146 146 qtwebchannel qtwebengine qtwebkit qtwebsockets qtx11extras qtxmlpatterns 147 147 ]; 148 148 149 - makeQtWrapper = 150 - makeSetupHook 151 - { deps = [ makeWrapper ]; } 152 - (if stdenv.isDarwin then ../make-qt-wrapper-darwin.sh else ../make-qt-wrapper.sh); 153 - 154 149 qmake = makeSetupHook { 155 150 deps = [ self.qtbase.dev ]; 156 151 substitutions = { inherit (stdenv) isDarwin; };
-6
pkgs/development/libraries/qt-5/5.8/default.nix
··· 133 133 ] ++ optional (!stdenv.isDarwin) qtwayland 134 134 ++ optional (stdenv.isDarwin) qtmacextras); 135 135 136 - makeQtWrapper = 137 - makeSetupHook 138 - { deps = [ makeWrapper ] ++ optionals (!stdenv.isDarwin) [ dconf.lib gtk3 ]; } 139 - (if stdenv.isDarwin then ../make-qt-wrapper-darwin.sh else ../make-qt-wrapper.sh); 140 - 141 - 142 136 qmake = makeSetupHook { 143 137 deps = [ self.qtbase.dev ]; 144 138 substitutions = { inherit (stdenv) isDarwin; };
+2 -10
pkgs/development/libraries/qt-5/5.8/qtdeclarative/default.nix
··· 1 - { stdenv, qtSubmodule, makeQtWrapper, copyPathsToStore, python2, qtbase, qtsvg, qtxmlpatterns }: 1 + { stdenv, qtSubmodule, copyPathsToStore, python2, qtbase, qtsvg, qtxmlpatterns }: 2 2 3 3 with stdenv.lib; 4 4 ··· 6 6 name = "qtdeclarative"; 7 7 patches = copyPathsToStore (readPathsFromFile ./. ./series); 8 8 qtInputs = [ qtbase qtsvg qtxmlpatterns ]; 9 - nativeBuildInputs = [ python2 makeQtWrapper ]; 9 + nativeBuildInputs = [ python2 ]; 10 10 11 11 preConfigure = '' 12 12 NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\"" 13 - ''; 14 - 15 - postInstall = '' 16 - wrapQtProgram $out/bin/qmleasing 17 - wrapQtProgram $out/bin/qmlscene 18 - wrapQtProgram $out/bin/qmltestrunner 19 - '' + optionalString (stdenv.isDarwin) '' 20 - wrapQtProgram $out/bin/qml.app/Contents/MacOS/qml 21 13 ''; 22 14 }
+1 -15
pkgs/development/libraries/qt-5/5.8/qttools/default.nix
··· 1 - { stdenv, qtSubmodule, makeQtWrapper, copyPathsToStore, qtbase }: 1 + { stdenv, qtSubmodule, copyPathsToStore, qtbase }: 2 2 3 3 with stdenv.lib; 4 4 5 5 qtSubmodule { 6 6 name = "qttools"; 7 7 qtInputs = [ qtbase ]; 8 - nativeBuildInputs = [ makeQtWrapper ]; 9 8 10 9 patches = copyPathsToStore (readPathsFromFile ./. ./series); 11 10 postFixup = '' 12 11 moveToOutput "bin/qdbus" "$out" 13 12 moveToOutput "bin/qtpaths" "$out" 14 - ''; 15 - 16 - postInstall = '' 17 - wrapQtProgram $out/bin/qcollectiongenerator 18 - wrapQtProgram $out/bin/qhelpconverter 19 - wrapQtProgram $out/bin/qhelpgenerator 20 - wrapQtProgram $out/bin/qtdiag 21 - '' + optionalString (stdenv.isDarwin) '' 22 - wrapQtProgram $out/bin/Assistant.app/Contents/MacOS/Assistant 23 - wrapQtProgram $out/bin/Designer.app/Contents/MacOS/Designer 24 - wrapQtProgram $out/bin/Linguist.app/Contents/MacOS/Linguist 25 - wrapQtProgram $out/bin/pixeltool.app/Contents/MacOS/pixeltool 26 - wrapQtProgram $out/bin/qdbusviewer.app/Contents/MacOS/qdbusviewer 27 13 ''; 28 14 }
-35
pkgs/development/libraries/qt-5/make-qt-wrapper-darwin.sh
··· 1 - wrapQtProgram() { 2 - local prog="$1" 3 - shift 4 - wrapProgram "$prog" \ 5 - --set QT_PLUGIN_PATH "$QT_PLUGIN_PATH" \ 6 - --set QML2_IMPORT_PATH "$QML2_IMPORT_PATH" \ 7 - --set DYLD_FRAMEWORK_PATH "/System/Library/Frameworks" \ 8 - --prefix XDG_DATA_DIRS : "$RUNTIME_XDG_DATA_DIRS" \ 9 - --prefix XDG_CONFIG_DIRS : "$RUNTIME_XDG_CONFIG_DIRS" \ 10 - "$@" 11 - } 12 - 13 - makeQtWrapper() { 14 - local old="$1" 15 - local new="$2" 16 - shift 17 - shift 18 - makeWrapper "$old" "$new" \ 19 - --set QT_PLUGIN_PATH "$QT_PLUGIN_PATH" \ 20 - --set QML2_IMPORT_PATH "$QML2_IMPORT_PATH" \ 21 - --set DYLD_FRAMEWORK_PATH "/System/Library/Frameworks" \ 22 - --prefix XDG_DATA_DIRS : "$RUNTIME_XDG_DATA_DIRS" \ 23 - --prefix XDG_CONFIG_DIRS : "$RUNTIME_XDG_CONFIG_DIRS" \ 24 - "$@" 25 - } 26 - 27 - _makeQtWrapperSetup() { 28 - # cannot use addToSearchPath because these directories may not exist yet 29 - export QT_PLUGIN_PATH="$QT_PLUGIN_PATH${QT_PLUGIN_PATH:+:}${!outputLib}/$qtPluginPrefix" 30 - export QML2_IMPORT_PATH="$QML2_IMPORT_PATH${QML2_IMPORT_PATH:+:}${!outputLib}/$qtQmlPrefix" 31 - export RUNTIME_XDG_DATA_DIRS="$RUNTIME_XDG_DATA_DIRS${RUNTIME_XDG_DATA_DIRS:+:}${!outputBin}/share" 32 - export RUNTIME_XDG_CONFIG_DIRS="$RUNTIME_XDG_CONFIG_DIRS${RUNTIME_XDG_CONFIG_DIRS:+:}${!outputBin}/etc/xdg" 33 - } 34 - 35 - prePhases+=(_makeQtWrapperSetup)
-43
pkgs/development/libraries/qt-5/make-qt-wrapper.sh
··· 1 - wrapQtProgram() { 2 - local prog="$1" 3 - shift 4 - wrapProgram "$prog" \ 5 - --prefix QT_PLUGIN_PATH : "$QT_PLUGIN_PATH" \ 6 - --prefix QML2_IMPORT_PATH : "$QML2_IMPORT_PATH" \ 7 - --prefix XDG_DATA_DIRS : "$RUNTIME_XDG_DATA_DIRS" \ 8 - --prefix XDG_CONFIG_DIRS : "$RUNTIME_XDG_CONFIG_DIRS" \ 9 - --prefix GIO_EXTRA_MODULES : "$GIO_EXTRA_MODULES" \ 10 - "$@" 11 - } 12 - 13 - makeQtWrapper() { 14 - local old="$1" 15 - local new="$2" 16 - shift 17 - shift 18 - makeWrapper "$old" "$new" \ 19 - --prefix QT_PLUGIN_PATH : "$QT_PLUGIN_PATH" \ 20 - --prefix QML2_IMPORT_PATH : "$QML2_IMPORT_PATH" \ 21 - --prefix XDG_DATA_DIRS : "$RUNTIME_XDG_DATA_DIRS" \ 22 - --prefix XDG_CONFIG_DIRS : "$RUNTIME_XDG_CONFIG_DIRS" \ 23 - --prefix GIO_EXTRA_MODULES : "$GIO_EXTRA_MODULES" \ 24 - "$@" 25 - } 26 - 27 - _makeQtWrapperSetup() { 28 - # cannot use addToSearchPath because these directories may not exist yet 29 - export QT_PLUGIN_PATH="$QT_PLUGIN_PATH${QT_PLUGIN_PATH:+:}${!outputLib}/$qtPluginPrefix" 30 - export QML2_IMPORT_PATH="$QML2_IMPORT_PATH${QML2_IMPORT_PATH:+:}${!outputLib}/$qtQmlPrefix" 31 - export RUNTIME_XDG_DATA_DIRS="$RUNTIME_XDG_DATA_DIRS${RUNTIME_XDG_DATA_DIRS:+:}${!outputBin}/share${GSETTINGS_SCHEMAS_PATH:+:$GSETTINGS_SCHEMAS_PATH}" 32 - export RUNTIME_XDG_CONFIG_DIRS="$RUNTIME_XDG_CONFIG_DIRS${RUNTIME_XDG_CONFIG_DIRS:+:}${!outputBin}/etc/xdg" 33 - } 34 - 35 - prePhases+=(_makeQtWrapperSetup) 36 - 37 - _findGioModules() { 38 - if [ -d "$1"/lib/gio/modules ] && [ -n "$(ls -A $1/lib/gio/modules)" ] ; then 39 - export GIO_EXTRA_MODULES="$GIO_EXTRA_MODULES${GIO_EXTRA_MODULES:+:}$1/lib/gio/modules" 40 - fi 41 - } 42 - 43 - envHooks+=(_findGioModules)
+2 -3
pkgs/development/qtcreator/default.nix
··· 1 1 { stdenv, fetchurl, makeWrapper 2 - , qtbase, makeQtWrapper, qtquickcontrols, qtscript, qtdeclarative, qmake 2 + , qtbase, qtquickcontrols, qtscript, qtdeclarative, qmake 3 3 , withDocumentation ? false 4 4 }: 5 5 ··· 21 21 22 22 buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ]; 23 23 24 - nativeBuildInputs = [ qmake makeQtWrapper makeWrapper ]; 24 + nativeBuildInputs = [ qmake makeWrapper ]; 25 25 26 26 doCheck = true; 27 27 ··· 38 38 postInstall = '' 39 39 substituteInPlace $out/share/applications/org.qt-project.qtcreator.desktop \ 40 40 --replace "Exec=qtcreator" "Exec=$out/bin/qtcreator" 41 - wrapQtProgram $out/bin/qtcreator 42 41 ''; 43 42 44 43 meta = {
+2 -4
pkgs/development/tools/analysis/qcachegrind/default.nix
··· 1 - { stdenv, fetchurl, cmake, qmake, makeQtWrapper, qtbase, perl, python, php }: 1 + { stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "qcachegrind-${version}"; ··· 11 11 12 12 buildInputs = [ qtbase perl python php ]; 13 13 14 - nativeBuildInputs = [ qmake makeQtWrapper ]; 14 + nativeBuildInputs = [ qmake ]; 15 15 16 16 postInstall = '' 17 17 mkdir -p $out/bin ··· 25 25 mkdir -p $out/Applications 26 26 cp cgview/cgview.app/Contents/MacOS/cgview $out/bin 27 27 cp -a qcachegrind/qcachegrind.app $out/Applications 28 - wrapQtProgram $out/Applications/qcachegrind.app/Contents/MacOS/qcachegrind 29 28 '' else '' 30 29 install qcachegrind/qcachegrind cgview/cgview -t "$out/bin" 31 - wrapQtProgram "$out/bin/qcachegrind" 32 30 install -Dm644 qcachegrind/qcachegrind.desktop -t "$out/share/applications" 33 31 install -Dm644 kcachegrind/hi32-app-kcachegrind.png "$out/share/icons/hicolor/32x32/apps/kcachegrind.png" 34 32 install -Dm644 kcachegrind/hi48-app-kcachegrind.png "$out/share/icons/hicolor/48x48/apps/kcachegrind.png"
+6 -12
pkgs/development/tools/database/sqlitebrowser/default.nix
··· 1 - { stdenv, fetchFromGitHub, qtbase, qttools, makeQtWrapper, sqlite, cmake }: 1 + { mkDerivation, lib, fetchFromGitHub, qtbase, qttools, sqlite, cmake }: 2 2 3 - stdenv.mkDerivation rec { 3 + mkDerivation rec { 4 4 version = "3.9.1"; 5 5 name = "sqlitebrowser-${version}"; 6 6 ··· 12 12 }; 13 13 14 14 buildInputs = [ qtbase qttools sqlite ]; 15 - nativeBuildInputs = [ makeQtWrapper cmake ]; 16 - 17 - enableParallelBuilding = true; 18 - 15 + nativeBuildInputs = [ cmake ]; 16 + 19 17 cmakeFlags = [ "-DUSE_QT5=TRUE" ]; 20 - 18 + 21 19 # A regression was introduced in CMakeLists.txt on v3.9.x 22 20 # See https://github.com/sqlitebrowser/sqlitebrowser/issues/832 and issues/755 23 21 postPatch = '' 24 22 substituteInPlace CMakeLists.txt --replace 'project("DB Browser for SQLite")' 'project(sqlitebrowser)' 25 23 ''; 26 24 27 - postInstall = '' 28 - wrapQtProgram $out/bin/sqlitebrowser 29 - ''; 30 - 31 - meta = with stdenv.lib; { 25 + meta = with lib; { 32 26 description = "DB Browser for SQLite"; 33 27 homepage = "http://sqlitebrowser.org/"; 34 28 license = licenses.gpl3;
+5 -7
pkgs/development/tools/tora/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, makeQtWrapper 1 + { mkDerivation, lib, fetchFromGitHub, cmake, extra-cmake-modules, makeWrapper 2 2 , boost, doxygen, openssl, mysql, postgresql, graphviz, loki, qscintilla, qtbase }: 3 3 4 4 let 5 5 qscintillaLib = (qscintilla.override { withQt5 = true; }); 6 6 7 - in stdenv.mkDerivation rec { 7 + in mkDerivation rec { 8 8 name = "tora-${version}"; 9 9 version = "3.1"; 10 10 ··· 15 15 sha256 = "0wninl10bcgiljf6wnhn2rv8kmzryw78x5qvbw8s2zfjlnxjsbn7"; 16 16 }; 17 17 18 - enableParallelBuilding = true; 19 - 18 + nativeBuildInputs = [ cmake extra-cmake-modules makeWrapper ]; 20 19 buildInputs = [ 21 - cmake extra-cmake-modules makeQtWrapper 22 20 boost doxygen graphviz loki mysql openssl postgresql qscintillaLib qtbase 23 21 ]; 24 22 ··· 54 52 ]; 55 53 56 54 postFixup = '' 57 - wrapQtProgram $out/bin/tora \ 55 + wrapProgram $out/bin/tora \ 58 56 --prefix PATH : ${lib.getBin graphviz}/bin 59 57 ''; 60 58 61 - meta = with stdenv.lib; { 59 + meta = with lib; { 62 60 description = "Tora SQL tool"; 63 61 maintainers = with maintainers; [ peterhoeg ]; 64 62 platforms = platforms.linux;
+10 -10
pkgs/development/tools/vogl/default.nix
··· 1 - { fetchFromGitHub, stdenv 1 + { mkDerivation, lib, fetchFromGitHub 2 2 , cmake, git, pkgconfig, wget, zip 3 - , makeQtWrapper, qtbase, qtx11extras 3 + , qtbase, qtx11extras 4 4 , libdwarf, libjpeg_turbo, libunwind, lzma, tinyxml, libX11 5 5 , SDL2, SDL2_gfx, SDL2_image, SDL2_ttf 6 6 , freeglut, mesa_glu 7 7 }: 8 - stdenv.mkDerivation rec { 8 + 9 + mkDerivation rec { 9 10 name = "vogl-${version}"; 10 11 version = "2016-05-13"; 11 12 ··· 16 17 sha256 = "17gwd73x3lnqv6ccqs48pzqwbzjhbn41c0x0l5zzirhiirb3yh0n"; 17 18 }; 18 19 19 - nativeBuildInputs = [ 20 - cmake makeQtWrapper pkgconfig 21 - ]; 20 + nativeBuildInputs = [ cmake pkgconfig ]; 22 21 23 22 buildInputs = [ 24 23 git wget zip ··· 28 27 freeglut mesa_glu 29 28 ]; 30 29 31 - enableParallelBuilding = true; 32 - 33 30 dontUseCmakeBuildDir = true; 34 31 preConfigure = '' 35 32 cmakeDir=$PWD 36 33 mkdir -p vogl/vogl_build/release64 && cd $_ 37 34 ''; 38 - cmakeFlags = '' -DCMAKE_VERBOSE=On -DCMAKE_BUILD_TYPE=Release -DBUILD_X64=On''; 35 + cmakeFlags = [ 36 + "-DCMAKE_VERBOSE=On" 37 + "-DBUILD_X64=On" 38 + ]; 39 39 40 - meta = with stdenv.lib; { 40 + meta = with lib; { 41 41 description = "OpenGL capture / playback debugger."; 42 42 homepage = https://github.com/ValveSoftware/vogl; 43 43 license = licenses.mit;
+2 -6
pkgs/os-specific/linux/v4l-utils/default.nix
··· 1 - { stdenv, lib, fetchurl, pkgconfig, perl, makeQtWrapper 1 + { stdenv, lib, fetchurl, pkgconfig, perl 2 2 , libjpeg, udev 3 3 , withUtils ? true 4 4 , withGUI ? true, alsaLib, libX11, qtbase, mesa_glu ··· 29 29 ln -s "$dev/include/libv4l1-videodev.h" "$dev/include/videodev.h" 30 30 ''; 31 31 32 - nativeBuildInputs = [ pkgconfig perl ] ++ lib.optional (withUtils && withGUI) makeQtWrapper; 32 + nativeBuildInputs = [ pkgconfig perl ]; 33 33 34 34 buildInputs = [ udev ] ++ lib.optionals (withUtils && withGUI) [ alsaLib libX11 qtbase mesa_glu ]; 35 35 ··· 39 39 40 40 postPatch = '' 41 41 patchShebangs . 42 - ''; 43 - 44 - postInstall = lib.optionalString (withUtils && withGUI) '' 45 - wrapQtProgram $out/bin/qv4l2 46 42 ''; 47 43 48 44 meta = with stdenv.lib; {
+5 -6
pkgs/tools/audio/qastools/default.nix
··· 1 - { stdenv, fetchurl, cmake, alsaLib, udev, qtbase, 2 - qtsvg, qttools, makeQtWrapper }: 1 + { mkDerivation, lib, fetchurl, cmake, alsaLib, udev, qtbase, qtsvg, qttools }: 3 2 4 3 let 5 4 version = "0.21.0"; 6 5 in 7 6 8 - stdenv.mkDerivation { 7 + mkDerivation { 9 8 name = "qastools-${version}"; 10 9 11 10 src = fetchurl { ··· 14 13 }; 15 14 16 15 buildInputs = [ 17 - cmake alsaLib udev qtbase qtsvg qttools makeQtWrapper 16 + alsaLib udev qtbase qtsvg qttools 18 17 ]; 18 + nativeBuildInputs = [ cmake ]; 19 19 20 20 cmakeFlags = [ 21 - "-DCMAKE_INSALL_PREFIX=$out" 22 21 "-DALSA_INCLUDE=${alsaLib.dev}/include/alsa/version.h" 23 22 ]; 24 23 25 - meta = with stdenv.lib; { 24 + meta = with lib; { 26 25 description = "Collection of desktop applications for ALSA configuration"; 27 26 license = licenses.gpl3; 28 27 platforms = platforms.linux;
+5 -8
pkgs/tools/misc/antimicro/default.nix
··· 1 - { stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, makeQtWrapper, xorg, fetchFromGitHub }: 1 + { mkDerivation, lib, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }: 2 2 3 - stdenv.mkDerivation rec { 3 + mkDerivation rec { 4 4 name = "antimicro-${version}"; 5 5 version = "2.23"; 6 6 ··· 11 11 sha256 = "1q40ayxwwyq85lc89cnj1cm2nar625h4vhh8dvmb2qcxczaggf4v"; 12 12 }; 13 13 14 + nativeBuildInputs = [ cmake pkgconfig ]; 14 15 buildInputs = [ 15 - cmake pkgconfig SDL2 qtbase qttools xorg.libXtst makeQtWrapper 16 + SDL2 qtbase qttools xorg.libXtst 16 17 ]; 17 18 18 - postInstall = '' 19 - wrapQtProgram $out/bin/antimicro 20 - ''; 21 - 22 - meta = with stdenv.lib; { 19 + meta = with lib; { 23 20 description = "GUI for mapping keyboard and mouse controls to a gamepad"; 24 21 inherit (src.meta) homepage; 25 22 maintainers = with maintainers; [ jb55 ];
+1 -5
pkgs/tools/misc/qt5ct/default.nix
··· 1 - { stdenv, fetchurl, qtbase, qtsvg, qttools, qmake, makeQtWrapper }: 1 + { stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "qt5ct-${version}"; ··· 16 16 17 17 preConfigure = '' 18 18 qmakeFlags="$qmakeFlags PLUGINDIR=$out/$qtPluginPrefix" 19 - ''; 20 - 21 - preFixup = '' 22 - wrapQtProgram $out/bin/qt5ct 23 19 ''; 24 20 25 21 meta = with stdenv.lib; {
+2 -3
pkgs/tools/misc/radeon-profile/default.nix
··· 1 - { stdenv, fetchFromGitHub, qtbase, qmake, makeQtWrapper, libXrandr }: 1 + { stdenv, fetchFromGitHub, qtbase, qmake, libXrandr }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 5 5 name = "radeon-profile-${version}"; 6 6 version = "20161221"; 7 7 8 - nativeBuildInputs = [ qmake makeQtWrapper ]; 8 + nativeBuildInputs = [ qmake ]; 9 9 buildInputs = [ qtbase libXrandr ]; 10 10 11 11 src = (fetchFromGitHub { ··· 18 18 postInstall = '' 19 19 mkdir -p $out/bin 20 20 cp ./radeon-profile $out/bin/radeon-profile 21 - wrapQtProgram $out/bin/radeon-profile 22 21 ''; 23 22 24 23 meta = with stdenv.lib; {
+3 -3
pkgs/tools/misc/rockbox-utility/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, libusb1 2 - , qtbase, qttools, makeQtWrapper, qmake 2 + , qtbase, qttools, makeWrapper, qmake 3 3 , withEspeak ? false, espeak ? null }: 4 4 5 5 stdenv.mkDerivation rec { ··· 13 13 14 14 buildInputs = [ libusb1 qtbase qttools ] 15 15 ++ stdenv.lib.optional withEspeak espeak; 16 - nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ]; 16 + nativeBuildInputs = [ makeWrapper pkgconfig qmake ]; 17 17 18 18 preConfigure = '' 19 19 cd rbutil/rbutilqt ··· 24 24 25 25 install -Dm755 RockboxUtility $out/bin/rockboxutility 26 26 ln -s $out/bin/rockboxutility $out/bin/RockboxUtility 27 - wrapQtProgram $out/bin/rockboxutility \ 27 + wrapProgram $out/bin/rockboxutility \ 28 28 ${stdenv.lib.optionalString withEspeak '' 29 29 --prefix PATH : ${espeak}/bin 30 30 ''}
+4 -4
pkgs/top-level/all-packages.nix
··· 14620 14620 recurseIntoAttrs (makeOverridable mkApplications attrs); 14621 14621 14622 14622 inherit (kdeApplications) 14623 - akonadi ark dolphin ffmpegthumbs filelight gwenview kate 14624 - kdenlive kcalc kcolorchooser kcontacts kgpg khelpcenter kig 14625 - kolourpaint konsole krfb marble 14626 - okteta okular spectacle; 14623 + akonadi ark dolphin ffmpegthumbs filelight gwenview kate kdenlive 14624 + kcachegrind kcalc kcolorchooser kcontacts kdf kgpg khelpcenter kig kmix 14625 + kolourpaint kompare konsole krfb kwalletmanager marble okteta okular 14626 + spectacle; 14627 14627 14628 14628 kdeconnect = libsForQt5.callPackage ../applications/misc/kdeconnect { }; 14629 14629