qt5: remove makeQtWrapper

This commit is contained in:
Thomas Tuegel 2017-05-17 14:26:11 -05:00
parent 1607f51613
commit c816bbc8a8
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59
92 changed files with 323 additions and 582 deletions

View File

@ -1,6 +1,6 @@
{ {
stdenv, lib, fetchurl, mkDerivation, lib, fetchurl,
gettext, makeQtWrapper, pkgconfig, gettext, pkgconfig,
qtbase, qtbase,
alsaLib, curl, faad2, ffmpeg, flac, fluidsynth, gdk_pixbuf, lame, libbs2b, alsaLib, curl, faad2, ffmpeg, flac, fluidsynth, gdk_pixbuf, lame, libbs2b,
libcddb, libcdio082, libcue, libjack2, libmad, libmcs, libmms, libmodplug, libcddb, libcdio082, libcue, libjack2, libmad, libmcs, libmms, libmodplug,
@ -24,16 +24,14 @@ let
}; };
in in
stdenv.mkDerivation { mkDerivation {
inherit version; inherit version;
name = "audacious-qt5-${version}"; name = "audacious-qt5-${version}";
sourceFiles = lib.attrValues sources; sourceFiles = lib.attrValues sources;
sourceRoots = lib.attrNames sources; sourceRoots = lib.attrNames sources;
nativeBuildInputs = [ nativeBuildInputs = [ gettext pkgconfig ];
gettext makeQtWrapper pkgconfig
];
buildInputs = [ buildInputs = [
# Core dependencies # Core dependencies
@ -68,15 +66,9 @@ stdenv.mkDerivation {
fi fi
done done
source $stdenv/setup
wrapQtProgram $out/bin/audacious
wrapQtProgram $out/bin/audtool
''; '';
enableParallelBuilding = true; meta = with lib; {
meta = with stdenv.lib; {
description = "Audio player"; description = "Audio player";
homepage = http://audacious-media-player.org/; homepage = http://audacious-media-player.org/;
maintainers = with maintainers; [ ttuegel ]; maintainers = with maintainers; [ ttuegel ];

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, vlc { stdenv, fetchFromGitHub, cmake, vlc
, withQt4 ? false, qt4 , withQt4 ? false, qt4
, withQt5 ? true, qtbase, qtsvg, qttools, makeQtWrapper , withQt5 ? true, qtbase, qtsvg, qttools
# Cantata doesn't build with cdparanoia enabled so we disable that # Cantata doesn't build with cdparanoia enabled so we disable that
# default for now until I (or someone else) figure it out. # default for now until I (or someone else) figure it out.
@ -63,8 +63,6 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional withMusicbrainz libmusicbrainz5 ++ stdenv.lib.optional withMusicbrainz libmusicbrainz5
++ stdenv.lib.optional (withTaglib && withDevices) udisks2; ++ stdenv.lib.optional (withTaglib && withDevices) udisks2;
nativeBuildInputs = stdenv.lib.optional withQt5 makeQtWrapper;
cmakeFlags = stdenv.lib.flatten [ cmakeFlags = stdenv.lib.flatten [
(fstat withQt5 "QT5") (fstat withQt5 "QT5")
(fstats withTaglib [ "TAGLIB" "TAGLIB_EXTRAS" ]) (fstats withTaglib [ "TAGLIB" "TAGLIB_EXTRAS" ])
@ -88,10 +86,6 @@ stdenv.mkDerivation rec {
sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/FindTaglib.cmake sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/FindTaglib.cmake
''; '';
postInstall = stdenv.lib.optionalString withQt5 ''
wrapQtProgram "$out/bin/cantata"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/cdrummond/cantata; homepage = https://github.com/cdrummond/cantata;
description = "A graphical client for MPD"; description = "A graphical client for MPD";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmake, makeQtWrapper }: { stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmake }:
let let
@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ fftw libsndfile qtbase qtmultimedia ]; buildInputs = [ fftw libsndfile qtbase qtmultimedia ];
nativeBuildInputs = [ makeQtWrapper qmake ]; nativeBuildInputs = [ qmake ];
postPatch = '' postPatch = ''
substituteInPlace dfasma.pro --replace '$$DFASMAVERSIONGITPRO' '${version}' substituteInPlace dfasma.pro --replace '$$DFASMAVERSIONGITPRO' '${version}'
@ -53,10 +53,6 @@ in stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
postInstall = ''
wrapQtProgram "$out/bin/dfasma"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Analyse and compare audio files in time and frequency"; description = "Analyse and compare audio files in time and frequency";
longDescription = '' longDescription = ''

View File

@ -2,7 +2,7 @@
{ stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo { stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate , libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
, libsndfile, pkgconfig, libpulseaudio, makeQtWrapper, qtbase, redland , libsndfile, pkgconfig, libpulseaudio, qtbase, redland
, qmake, rubberband, serd, sord, vampSDK, fftwFloat , qmake, rubberband, serd, sord, vampSDK, fftwFloat
}: }:
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
libX11 libX11
]; ];
nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ]; nativeBuildInputs = [ pkgconfig qmake ];
configurePhase = '' configurePhase = ''
for i in sonic-visualiser svapp svcore svgui; for i in sonic-visualiser svapp svcore svgui;
@ -43,7 +43,6 @@ stdenv.mkDerivation rec {
mkdir -p $out/{bin,share/sonic-visualiser} mkdir -p $out/{bin,share/sonic-visualiser}
cp sonic-visualiser $out/bin/ cp sonic-visualiser $out/bin/
cp -r samples $out/share/sonic-visualiser/ cp -r samples $out/share/sonic-visualiser/
wrapQtProgram "$out/bin/sonic-visualiser"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchurl, cmake, gettext, pkgconfig, extra-cmake-modules, wrapGAppsHook { mkDerivation, lib, fetchurl, cmake, gettext, pkgconfig, extra-cmake-modules
, qtquickcontrols, qtwebkit, qttools, kde-cli-tools , qtquickcontrols, qtwebkit, qttools, kde-cli-tools
, kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews , kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews
, kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor , kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor
@ -21,7 +21,7 @@ mkDerivation rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake gettext pkgconfig extra-cmake-modules makeWrapper wrapGAppsHook cmake gettext pkgconfig extra-cmake-modules makeWrapper
]; ];
buildInputs = [ buildInputs = [

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, cmake, gettext, pkgconfig, extra-cmake-modules, makeQtWrapper { stdenv, fetchurl, fetchpatch, cmake, gettext, pkgconfig, extra-cmake-modules
, boost, subversion, apr, aprutil , boost, subversion, apr, aprutil
, qtscript, qtwebkit, grantlee, karchive, kconfig, kcoreaddons, kguiaddons, kiconthemes, ki18n , qtscript, qtwebkit, grantlee, karchive, kconfig, kcoreaddons, kguiaddons, kiconthemes, ki18n
, kitemmodels, kitemviews, kio, kparts, sonnet, kcmutils, knewstuff, knotifications , kitemmodels, kitemviews, kio, kparts, sonnet, kcmutils, knewstuff, knotifications
@ -11,7 +11,7 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://kde/stable/kdevelop/${version}/src/${name}.tar.xz"; url = "mirror://kde/stable/kdevelop/${version}/src/${name}.tar.xz";
sha256 = "3159440512b1373c1a4b35f401ba1f81217de9578372b45137af141eeda6e726"; sha256 = "3159440512b1373c1a4b35f401ba1f81217de9578372b45137af141eeda6e726";
@ -25,9 +25,8 @@ stdenv.mkDerivation rec {
}) })
]; ];
nativeBuildInputs = [ cmake gettext pkgconfig extra-cmake-modules makeQtWrapper ]; nativeBuildInputs = [ cmake gettext pkgconfig extra-cmake-modules ];
propagatedBuildInputs = [ ];
buildInputs = [ buildInputs = [
boost subversion apr aprutil boost subversion apr aprutil
qtscript qtwebkit grantlee karchive kconfig kcoreaddons kguiaddons kiconthemes qtscript qtwebkit grantlee karchive kconfig kcoreaddons kguiaddons kiconthemes

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, doxygen { stdenv, fetchFromGitHub, cmake, doxygen, makeWrapper
, libmsgpack, makeQtWrapper, neovim, pythonPackages, qtbase }: , libmsgpack, neovim, pythonPackages, qtbase }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "neovim-qt-${version}"; name = "neovim-qt-${version}";
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
jinja2 msgpack python jinja2 msgpack python
]); ]);
nativeBuildInputs = [ cmake doxygen makeQtWrapper ]; nativeBuildInputs = [ cmake doxygen makeWrapper ];
enableParallelBuilding = true; enableParallelBuilding = true;
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
''; '';
postInstall = '' postInstall = ''
wrapQtProgram "$out/bin/nvim-qt" \ wrapProgram "$out/bin/nvim-qt" \
--prefix PATH : "${neovim}/bin" --prefix PATH : "${neovim}/bin"
''; '';

View File

@ -1,6 +1,5 @@
{ stdenv, fetchurl, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript { stdenv, fetchurl, makeWrapper, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript
, libjpeg, qtbase , libjpeg, qtbase
, makeQtWrapper
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -28,14 +27,14 @@ stdenv.mkDerivation rec {
LUA_PACKAGE = "lua"; LUA_PACKAGE = "lua";
buildInputs = [ buildInputs = [
libjpeg pkgconfig zlib qtbase freetype cairo lua5 texlive ghostscript libjpeg zlib qtbase freetype cairo lua5 texlive ghostscript
]; ];
nativeBuildInputs = [ makeQtWrapper ]; nativeBuildInputs = [ makeWrapper pkgconfig ];
postFixup = '' postFixup = ''
for prog in $out/bin/*; do for prog in $out/bin/*; do
wrapQtProgram "$prog" --prefix PATH : "${texlive}/bin" wrapProgram "$prog" --prefix PATH : "${texlive}/bin"
done done
''; '';

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, makeQtWrapper { mkDerivation, lib, fetchurl, cmake, extra-cmake-modules
, karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons , karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons
, kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem , kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem
, kio, kcrash , kio, kcrash
@ -6,7 +6,7 @@
, openjpeg, opencolorio, vc, poppler_qt5, curl, ilmbase , openjpeg, opencolorio, vc, poppler_qt5, curl, ilmbase
}: }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "krita-${version}"; name = "krita-${version}";
ver_min = "3.1.3"; ver_min = "3.1.3";
version = "${ver_min}"; version = "${ver_min}";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "125js6c8aw4bqhs28pwnl3rbgqx5yx4zsklw7bfdhy3vf6lrysw1"; sha256 = "125js6c8aw4bqhs28pwnl3rbgqx5yx4zsklw7bfdhy3vf6lrysw1";
}; };
nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ]; nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ buildInputs = [
karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons
@ -27,15 +27,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ]; NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
enableParallelBuilding = true; meta = with lib; {
postInstall = ''
for i in $out/bin/*; do
wrapQtProgram "$i"
done
'';
meta = with stdenv.lib; {
description = "A free an open source painting application"; description = "A free an open source painting application";
homepage = "https://krita.org/"; homepage = "https://krita.org/";
maintainers = with maintainers; [ abbradar ]; maintainers = with maintainers; [ abbradar ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, makeQtWrapper, exiv2, graphicsmagick { stdenv, fetchurl, cmake, exiv2, graphicsmagick
, qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools , qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools
}: }:
@ -12,8 +12,9 @@ stdenv.mkDerivation rec {
sha256 = "0j2kvxfb5pd9abciv161nkcsyam6n8kfqs8ymwj2mxiqflwbmfl1"; sha256 = "0j2kvxfb5pd9abciv161nkcsyam6n8kfqs8ymwj2mxiqflwbmfl1";
}; };
nativeBuildInputs = [ cmake ];
buildInputs = [ buildInputs = [
cmake makeQtWrapper qtbase qtquickcontrols qttools exiv2 graphicsmagick qtbase qtquickcontrols qttools exiv2 graphicsmagick
qtmultimedia qtdeclarative qtmultimedia qtdeclarative
]; ];
@ -21,10 +22,6 @@ stdenv.mkDerivation rec {
export MAGICK_LOCATION="${graphicsmagick}/include/GraphicsMagick" export MAGICK_LOCATION="${graphicsmagick}/include/GraphicsMagick"
''; '';
postInstall = ''
wrapQtProgram $out/bin/photoqt
'';
meta = { meta = {
homepage = "http://photoqt.org/"; homepage = "http://photoqt.org/";
description = "Simple, yet powerful and good looking image viewer"; description = "Simple, yet powerful and good looking image viewer";

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, qtbase, qtx11extras { stdenv, fetchFromGitHub, cmake, makeWrapper, pkgconfig
, pkgconfig, xorg, makeQtWrapper, vulkan-loader , qtbase, qtx11extras, vulkan-loader, xorg
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
qtbase xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader qtbase xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader
]; ];
nativeBuildInputs = [ cmake makeQtWrapper pkgconfig ]; nativeBuildInputs = [ cmake makeWrapper pkgconfig ];
cmakeFlags = [ cmakeFlags = [
"-DBUILD_VERSION_HASH=${src.rev}-distro-nix" "-DBUILD_VERSION_HASH=${src.rev}-distro-nix"
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
mkdir $out/bin/.bin mkdir $out/bin/.bin
mv $out/bin/qrenderdoc $out/bin/.bin/qrenderdoc mv $out/bin/qrenderdoc $out/bin/.bin/qrenderdoc
ln -s $out/bin/.bin/qrenderdoc $out/bin/qrenderdoc ln -s $out/bin/.bin/qrenderdoc $out/bin/qrenderdoc
wrapQtProgram $out/bin/qrenderdoc --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib wrapProgram $out/bin/qrenderdoc --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib
mv $out/bin/renderdoccmd $out/bin/.bin/renderdoccmd mv $out/bin/renderdoccmd $out/bin/.bin/renderdoccmd
ln -s $out/bin/.bin/renderdoccmd $out/bin/renderdoccmd ln -s $out/bin/.bin/renderdoccmd $out/bin/renderdoccmd
wrapProgram $out/bin/renderdoccmd --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib wrapProgram $out/bin/renderdoccmd --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib

View File

@ -1,5 +1,5 @@
{ {
mkDerivation, lib, config, wrapGAppsHook, mkDerivation, lib, config, makeWrapper,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools,
@ -15,20 +15,18 @@
mkDerivation { mkDerivation {
name = "ark"; name = "ark";
nativeBuildInputs = [ nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
extra-cmake-modules kdoctools wrapGAppsHook
];
propagatedBuildInputs = [ propagatedBuildInputs = [
khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice
kpty kwidgetsaddons libarchive kitemmodels kpty kwidgetsaddons libarchive kitemmodels
]; ];
preFixup = postFixup =
let let
PATH = PATH =
lib.makeBinPath lib.makeBinPath
([ p7zip unzipNLS zip ] ++ lib.optional unfreeEnableUnrar unrar); ([ p7zip unzipNLS zip ] ++ lib.optional unfreeEnableUnrar unrar);
in '' in ''
gappsWrapperArgs+=(--prefix PATH : "${PATH}") wrapProgram "$out/bin/ark" --prefix PATH: "${PATH}"
''; '';
meta = { meta = {
license = with lib.licenses; license = with lib.licenses;

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kio, kparts, kxmlgui, qtscript, solid kio, kparts, kxmlgui, qtscript, solid
}: }:
@ -10,7 +10,7 @@ mkDerivation {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ fridh vcunat ]; maintainers = with lib.maintainers; [ fridh vcunat ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kio kparts kxmlgui qtscript solid kio kparts kxmlgui qtscript solid
]; ];

View File

@ -1,8 +1,9 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
baloo, exiv2, kactivities, kdelibs4support, kio, kipi-plugins, lcms2, exiv2, lcms2,
libkdcraw, libkipi, phonon, qtimageformats, qtsvg, qtx11extras baloo, kactivities, kdelibs4support, kio, kipi-plugins, libkdcraw, libkipi,
phonon, qtimageformats, qtsvg, qtx11extras
}: }:
mkDerivation { mkDerivation {
@ -11,10 +12,11 @@ mkDerivation {
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ exiv2 lcms2 ];
propagatedBuildInputs = [ propagatedBuildInputs = [
baloo kactivities kdelibs4support kio exiv2 lcms2 libkdcraw baloo kactivities kdelibs4support kio libkdcraw libkipi phonon
libkipi phonon qtimageformats qtsvg qtx11extras qtimageformats qtsvg qtx11extras
]; ];
propagatedUserEnvPkgs = [ kipi-plugins ]; propagatedUserEnvPkgs = [ kipi-plugins ];
} }

View File

@ -1,6 +1,7 @@
{ mkDerivation, lib, wrapGAppsHook, extra-cmake-modules { mkDerivation, lib
, extra-cmake-modules, kdoctools, makeWrapper
, qtwebkit , qtwebkit
, libkcddb, kcmutils, kdoctools, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui , libkcddb, kcmutils, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui
, flac, lame, libmad, libmpcdec, libvorbis , flac, lame, libmad, libmpcdec, libvorbis
, libsamplerate, libsndfile, taglib , libsamplerate, libsndfile, taglib
, cdparanoia, cdrdao, cdrtools, dvdplusrwtools, libburn, libdvdcss, libdvdread, vcdimager , cdparanoia, cdrdao, cdrtools, dvdplusrwtools, libburn, libdvdcss, libdvdread, vcdimager
@ -14,7 +15,7 @@ mkDerivation {
maintainers = with maintainers; [ sander phreedom ]; maintainers = with maintainers; [ sander phreedom ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
propagatedBuildInputs = [ propagatedBuildInputs = [
# qt # qt
qtwebkit qtwebkit
@ -29,12 +30,12 @@ mkDerivation {
# others # others
ffmpeg libmusicbrainz2 ffmpeg libmusicbrainz2
]; ];
preFixup = postFixup =
let k3bPath = lib.makeBinPath [ let k3bPath = lib.makeBinPath [
cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode
vcdimager vcdimager
]; ];
in '' in ''
gappsWrapperArgs+=(--prefix PATH : "${k3bPath}") wrapProgram "$out/bin/k3b" --prefix PATH : "${k3bPath}"
''; '';
} }

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n, kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n,
kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole, kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole,
kparts, ktexteditor, kwindowsystem, kwallet, kxmlgui, libgit2, kparts, ktexteditor, kwindowsystem, kwallet, kxmlgui, libgit2,
@ -13,12 +13,13 @@ mkDerivation {
license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ]; license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ libgit2 ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kactivities ki18n kio ktexteditor kwindowsystem plasma-framework kactivities ki18n kio ktexteditor kwindowsystem plasma-framework
qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts
kxmlgui kdbusaddons kwallet kitemmodels knotifications threadweaver kxmlgui kdbusaddons kwallet kitemmodels knotifications threadweaver
knewstuff libgit2 knewstuff
]; ];
propagatedUserEnvPkgs = [ konsole ]; propagatedUserEnvPkgs = [ konsole ];
} }

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kio, ki18n, kio, ki18n,
perl, python, php perl, python, php
}: }:
@ -11,10 +11,7 @@ mkDerivation {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ orivej ]; maintainers = with lib.maintainers; [ orivej ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ kio ]; propagatedBuildInputs = [ kio ];
buildInputs = [ perl python php ki18n ]; buildInputs = [ perl python php ki18n ];
preFixup = ''
gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ perl php python]}")
'';
} }

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp
}: }:
@ -10,7 +10,7 @@ mkDerivation {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = [ lib.maintainers.fridh ]; maintainers = [ lib.maintainers.fridh ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ gmp ]; buildInputs = [ gmp ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kconfig kconfigwidgets kguiaddons kinit knotifications kconfig kconfigwidgets kguiaddons kinit knotifications

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, wrapGAppsHook, extra-cmake-modules,
ki18n, kwidgetsaddons, kxmlgui ki18n, kwidgetsaddons, kxmlgui
}: }:
@ -10,7 +10,7 @@ mkDerivation {
license = with lib.licenses; [ mit ]; license = with lib.licenses; [ mit ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ ki18n ]; buildInputs = [ ki18n ];
propagatedBuildInputs = [ kwidgetsaddons kxmlgui ]; propagatedBuildInputs = [ kwidgetsaddons kxmlgui ];
} }

View File

@ -1,6 +1,7 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, ki18n, extra-cmake-modules,
ki18n,
kcoreaddons, kconfig, kcodecs kcoreaddons, kconfig, kcodecs
}: }:

View File

@ -2,7 +2,6 @@
, lib , lib
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, wrapGAppsHook
, qtscript , qtscript
, kactivities , kactivities
, kconfig , kconfig
@ -39,16 +38,16 @@ mkDerivation {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
qtscript
kconfig kconfig
kcrash kcrash
kdbusaddons
kfilemetadata
kguiaddons kguiaddons
ki18n
kiconthemes kiconthemes
kinit kinit
kdbusaddons
knotifications knotifications
knewstuff knewstuff
karchive karchive
@ -56,16 +55,18 @@ mkDerivation {
kplotting kplotting
ktextwidgets ktextwidgets
mlt mlt
phonon-backend-gstreamer
qtquickcontrols
qtscript
shared_mime_info shared_mime_info
libv4l libv4l
ffmpeg ffmpeg
]; ];
propagatedBuildInputs = [ postPatch =
kactivities kconfig kcrash kguiaddons kiconthemes kinit kio kio-extras # Module Qt5::Concurrent must be included in `find_package` before it is used.
kdbusaddons kfilemetadata knotifications knewstuff karchive knotifyconfig ''
kplotting ktextwidgets kwindowsystem plasma-framework sed -i CMakeLists.txt -e '/find_package(Qt5 REQUIRED/ s|)| Concurrent)|'
phonon-backend-gstreamer qtquickcontrols shared_mime_info '';
];
meta = { meta = {
license = with lib.licenses; [ gpl2Plus ]; license = with lib.licenses; [ gpl2Plus ];
}; };

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kcmutils kcmutils
}: }:
@ -10,6 +10,6 @@ mkDerivation {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = [ lib.maintainers.peterhoeg ]; maintainers = [ lib.maintainers.peterhoeg ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ kcmutils ]; propagatedBuildInputs = [ kcmutils ];
} }

View File

@ -1,21 +1,22 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, ki18n, wrapGAppsHook, extra-cmake-modules, kdoctools, ki18n, makeWrapper,
akonadi-contacts, gnupg1, gpgme, karchive, kcodecs, kcontacts, kcoreaddons, kcrash, akonadi-contacts, gnupg1, gpgme, karchive, kcodecs, kcontacts, kcoreaddons,
kdbusaddons, kiconthemes, kjobwidgets, kio, knotifications, kservice, kcrash, kdbusaddons, kiconthemes, kjobwidgets, kio, knotifications, kservice,
ktextwidgets, kxmlgui, kwidgetsaddons, kwindowsystem ktextwidgets, kxmlgui, kwidgetsaddons, kwindowsystem
}: }:
mkDerivation { mkDerivation {
name = "kgpg"; name = "kgpg";
nativeBuildInputs = [ extra-cmake-modules kdoctools ki18n wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
buildInputs = [ buildInputs = [ gnupg1 gpgme ki18n ];
akonadi-contacts gnupg1 gpgme karchive kcodecs kcontacts kcoreaddons kcrash kdbusaddons propagatedBuildInputs = [
akonadi-contacts karchive kcodecs kcontacts kcoreaddons kcrash kdbusaddons
kiconthemes kjobwidgets kio knotifications kservice ktextwidgets kxmlgui kiconthemes kjobwidgets kio knotifications kservice ktextwidgets kxmlgui
kwidgetsaddons kwindowsystem kwidgetsaddons kwindowsystem
]; ];
preFixup = '' postFixup = ''
gappsWrapperArgs+=(--suffix PATH : ${lib.makeBinPath [ gnupg1 ]}) wrapProgram "$out/bin/kgpg" --prefix PATH : "${lib.makeBinPath [ gnupg1 ]}"
''; '';
meta = { meta = {
license = [ lib.licenses.gpl2 ]; license = [ lib.licenses.gpl2 ];

View File

@ -1,15 +1,16 @@
{ {
mkDerivation, mkDerivation,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils, grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils,
kdelibs4support, khtml, kservice, xapian kdelibs4support, khtml, kservice, xapian
}: }:
mkDerivation { mkDerivation {
name = "khelpcenter"; name = "khelpcenter";
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [ ki18n xapian ];
grantlee kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons propagatedBuildInputs = [
kinit kcmutils kservice xapian grantlee kdelibs4support khtml kconfig kcoreaddons kdbusaddons
kinit kcmutils kservice
]; ];
} }

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kparts, qtsvg, qtxmlpatterns, ktexteditor, boost kparts, qtsvg, qtxmlpatterns, ktexteditor, boost
}: }:
@ -10,9 +10,10 @@ mkDerivation {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ raskin ]; maintainers = with lib.maintainers; [ raskin ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [ boost ];
kparts qtsvg qtxmlpatterns ktexteditor boost propagatedBuildInputs = [
kparts qtsvg qtxmlpatterns ktexteditor
]; ];
} }

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support, kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support,
plasma-framework, libpulseaudio, alsaLib, libcanberra_kde plasma-framework, libpulseaudio, alsaLib, libcanberra_kde
}: }:
@ -11,7 +11,7 @@ mkDerivation {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
maintainers = [ lib.maintainers.rongcuid ]; maintainers = [ lib.maintainers.rongcuid ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ libpulseaudio alsaLib libcanberra_kde ]; buildInputs = [ libpulseaudio alsaLib libcanberra_kde ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kglobalaccel kxmlgui kcoreaddons kdelibs4support kglobalaccel kxmlgui kcoreaddons kdelibs4support

View File

@ -2,14 +2,13 @@
, mkDerivation , mkDerivation
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, wrapGAppsHook
, kdelibs4support , kdelibs4support
, libkexiv2 , libkexiv2
}: }:
mkDerivation { mkDerivation {
name = "kolourpaint"; name = "kolourpaint";
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ kdelibs4support libkexiv2 ]; propagatedBuildInputs = [ kdelibs4support libkexiv2 ];
meta = { meta = {
maintainers = [ lib.maintainers.fridh ]; maintainers = [ lib.maintainers.fridh ];

View File

@ -1,13 +1,13 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kparts, ktexteditor, kwidgetsaddons, libkomparediff2 kparts, ktexteditor, kwidgetsaddons, libkomparediff2
}: }:
mkDerivation { mkDerivation {
name = "kompare"; name = "kompare";
meta = { license = with lib.licenses; [ gpl2 ]; }; meta = { license = with lib.licenses; [ gpl2 ]; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kparts ktexteditor kwidgetsaddons libkomparediff2 kparts ktexteditor kwidgetsaddons libkomparediff2
]; ];

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons,
ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications, ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications,
knotifyconfig, kparts, kpty, kservice, ktextwidgets, kwidgetsaddons, knotifyconfig, kparts, kpty, kservice, ktextwidgets, kwidgetsaddons,
@ -13,11 +13,11 @@ mkDerivation {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ ki18n ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kdelibs4support ki18n kwindowsystem qtscript kbookmarks kcompletion kbookmarks kcompletion kconfig kconfigwidgets kcoreaddons kdelibs4support
kconfig kconfigwidgets kcoreaddons kguiaddons kiconthemes kinit kio kguiaddons kiconthemes kinit kio knotifications knotifyconfig kparts kpty
knotifications knotifyconfig kparts kpty kservice ktextwidgets kservice ktextwidgets kwidgetsaddons kwindowsystem kxmlgui qtscript
kwidgetsaddons kxmlgui
]; ];
} }

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kdelibs4support, kdnssd, libvncserver, libXtst kdelibs4support, kdnssd, libvncserver, libXtst
}: }:
@ -10,6 +10,7 @@ mkDerivation {
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2 fdl12 ];
maintainers = with lib.maintainers; [ jerith666 ]; maintainers = with lib.maintainers; [ jerith666 ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ kdelibs4support kdnssd libvncserver libXtst ]; buildInputs = [ libvncserver libXtst ];
propagatedBuildInputs = [ kdelibs4support kdnssd ];
} }

View File

@ -2,7 +2,6 @@
, mkDerivation , mkDerivation
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, wrapGAppsHook
, kauth , kauth
, kcmutils , kcmutils
, kconfigwidgets , kconfigwidgets
@ -18,7 +17,7 @@ mkDerivation {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ fridh ]; maintainers = with lib.maintainers; [ fridh ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kauth kcmutils kconfigwidgets kcoreaddons kdbusaddons kdelibs4support kauth kcmutils kconfigwidgets kcoreaddons kdbusaddons kdelibs4support
kxmlgui kxmlgui

View File

@ -1,5 +1,5 @@
{ mkDerivation, lib { mkDerivation, lib
, extra-cmake-modules, kdoctools, wrapGAppsHook , extra-cmake-modules, kdoctools
, qtscript, qtsvg, qtquickcontrols, qtwebkit , qtscript, qtsvg, qtquickcontrols, qtwebkit
, krunner, shared_mime_info, kparts, knewstuff , krunner, shared_mime_info, kparts, knewstuff
, gpsd, perl , gpsd, perl
@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
name = "marble"; name = "marble";
meta.license = with lib.licenses; [ lgpl21 gpl3 ]; meta.license = with lib.licenses; [ lgpl21 gpl3 ];
nativeBuildInputs = [ extra-cmake-modules kdoctools perl wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools perl ];
propagatedBuildInputs = [ propagatedBuildInputs = [
qtscript qtsvg qtquickcontrols qtwebkit shared_mime_info krunner kparts qtscript qtsvg qtquickcontrols qtwebkit shared_mime_info krunner kparts
knewstuff gpsd knewstuff gpsd

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kconfig, kinit, kconfig, kinit,
kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5 kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5
}: }:
@ -11,9 +11,8 @@ mkDerivation {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ peterhoeg ]; maintainers = with lib.maintainers; [ peterhoeg ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kconfig kinit kconfig kinit kcmutils kconfigwidgets knewstuff kparts qca-qt5
kcmutils kconfigwidgets knewstuff kparts qca-qt5
]; ];
} }

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
djvulibre, ebook_tools, kactivities, karchive, kbookmarks, kcompletion, djvulibre, ebook_tools, kactivities, karchive, kbookmarks, kcompletion,
kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdegraphics-mobipocket, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdegraphics-mobipocket,
kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet, kwindowsystem, libkexiv2, kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet, kwindowsystem, libkexiv2,
@ -9,12 +9,13 @@
mkDerivation { mkDerivation {
name = "okular"; name = "okular";
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ djvulibre ebook_tools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
djvulibre ebook_tools kactivities karchive kbookmarks kcompletion kconfig kactivities karchive kbookmarks kcompletion kconfig kconfigwidgets
kconfigwidgets kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes kjs khtml kio
kjs khtml kio kparts kpty kwallet kwindowsystem libkexiv2 libspectre poppler kparts kpty kwallet kwindowsystem libkexiv2 libspectre poppler qca-qt5
qca-qt5 qtdeclarative qtsvg threadweaver qtdeclarative qtsvg threadweaver
]; ];
meta = { meta = {
platforms = lib.platforms.linux; platforms = lib.platforms.linux;

View File

@ -1,6 +1,8 @@
{ {
mkDerivation, lib, extra-cmake-modules, wrapGAppsHook, mkDerivation, lib,
cups, kconfig, kconfigwidgets, kdbusaddons, kiconthemes, ki18n, kcmutils, kio, extra-cmake-modules,
cups, ki18n,
kconfig, kconfigwidgets, kdbusaddons, kiconthemes, kcmutils, kio,
knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework, knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework,
qtdeclarative qtdeclarative
}: }:
@ -11,10 +13,10 @@ mkDerivation {
license = [ lib.licenses.gpl2 ]; license = [ lib.licenses.gpl2 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ cups ki18n ];
propagatedBuildInputs = [ propagatedBuildInputs = [
cups kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications
kwidgetsaddons kitemviews ki18n kio kwindowsystem plasma-framework kwidgetsaddons kitemviews kio kwindowsystem plasma-framework qtdeclarative
qtdeclarative
]; ];
} }

View File

@ -1,18 +1,19 @@
{ {
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, kipi-plugins, ki18n, xcb-util-cursor,
kconfig, kcoreaddons, kdbusaddons, kdeclarative, kio, kipi-plugins,
knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi, knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi,
xcb-util-cursor
}: }:
mkDerivation { mkDerivation {
name = "spectacle"; name = "spectacle";
meta = with lib; { maintainers = with maintainers; [ ttuegel ]; }; meta = with lib; { maintainers = with maintainers; [ ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ ki18n xcb-util-cursor ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications kconfig kcoreaddons kdbusaddons kdeclarative kio knotifications
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi
]; ];
propagatedUserEnvPkgs = [ kipi-plugins ]; propagatedUserEnvPkgs = [ kipi-plugins ];
} }

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, qtbase, qtsvg, qtx11extras, makeQtWrapper, muparser, cmake }: { mkDerivation, lib, fetchFromGitHub, qtbase, qtsvg, qtx11extras, muparser, cmake }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "albert-${version}"; name = "albert-${version}";
version = "0.11.3"; version = "0.11.3";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0ddz6h1334b9kqy1lfi7qa21znm3l0b9h0d4s62llxdasv103jh5"; sha256 = "0ddz6h1334b9kqy1lfi7qa21znm3l0b9h0d4s62llxdasv103jh5";
}; };
nativeBuildInputs = [ cmake makeQtWrapper ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase qtsvg qtx11extras muparser ]; buildInputs = [ qtbase qtsvg qtx11extras muparser ];
@ -31,11 +31,7 @@ stdenv.mkDerivation rec {
rm "$out/lib" rm "$out/lib"
''; '';
fixupPhase = '' meta = with lib; {
wrapQtProgram $out/bin/albert
'';
meta = with stdenv.lib; {
homepage = https://albertlauncher.github.io/; homepage = https://albertlauncher.github.io/;
description = "Desktop agnostic launcher"; description = "Desktop agnostic launcher";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget, { stdenv, fetchgit, qtbase, qtquick1, qmltermwidget,
qtquickcontrols, qtgraphicaleffects, qmake }: qtquickcontrols, qtgraphicaleffects, qmake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
''; '';
buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ]; buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
nativeBuildInputs = [ makeQtWrapper qmake ]; nativeBuildInputs = [ qmake ];
installFlags = [ "INSTALL_ROOT=$(out)" ]; installFlags = [ "INSTALL_ROOT=$(out)" ];
@ -25,8 +25,6 @@ stdenv.mkDerivation rec {
mv $out/usr/share $out/share mv $out/usr/share $out/share
mv $out/usr/bin $out/bin mv $out/usr/bin $out/bin
rmdir $out/usr rmdir $out/usr
wrapQtProgram $out/bin/cool-retro-term
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -1,6 +1,6 @@
{ stdenv, lib, fetchFromGitHub, cmake, python3, qtbase, makeQtWrapper, curaengine }: { mkDerivation, lib, fetchFromGitHub, cmake, python3, qtbase, curaengine }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "cura-${version}"; name = "cura-${version}";
version = "2.4.0"; version = "2.4.0";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase ]; buildInputs = [ qtbase ];
propagatedBuildInputs = with python3.pkgs; [ uranium zeroconf pyserial ]; propagatedBuildInputs = with python3.pkgs; [ uranium zeroconf pyserial ];
nativeBuildInputs = [ cmake python3.pkgs.wrapPython makeQtWrapper ]; nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${python3.pkgs.uranium}/share/cmake-${cmake.majorVersion}/Modules" ]; cmakeFlags = [ "-DCMAKE_MODULE_PATH=${python3.pkgs.uranium}/share/cmake-${cmake.majorVersion}/Modules" ];
@ -24,11 +24,9 @@ stdenv.mkDerivation rec {
postFixup = '' postFixup = ''
wrapPythonPrograms wrapPythonPrograms
mv $out/bin/cura $out/bin/.cura-noqtpath
makeQtWrapper $out/bin/.cura-noqtpath $out/bin/cura
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "3D printer / slicing GUI built on top of the Uranium framework"; description = "3D printer / slicing GUI built on top of the Uranium framework";
homepage = "https://github.com/Ultimaker/Cura"; homepage = "https://github.com/Ultimaker/Cura";
license = licenses.agpl3; license = licenses.agpl3;

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl { stdenv, fetchurl
, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools, qtconnectivity , qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools, qtconnectivity
, yacc, flex, zlib, config, qmake, makeQtWrapper , yacc, flex, zlib, config, qmake, makeWrapper
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "golden-cheetah-${version}"; name = "golden-cheetah-${version}";
@ -10,11 +10,11 @@ stdenv.mkDerivation rec {
url = "https://github.com/GoldenCheetah/GoldenCheetah/archive/V${version}.tar.gz"; url = "https://github.com/GoldenCheetah/GoldenCheetah/archive/V${version}.tar.gz";
sha256 = "0fiz2pj155cd357kph50lc6rjyzwp045glfv4y68qls9j7m9ayaf"; sha256 = "0fiz2pj155cd357kph50lc6rjyzwp045glfv4y68qls9j7m9ayaf";
}; };
qtInputs = [ buildInputs = [
qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools yacc flex zlib qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools zlib
qtconnectivity qtconnectivity
]; ];
nativeBuildInputs = [ makeQtWrapper qmake ] ++ qtInputs; nativeBuildInputs = [ flex makeWrapper qmake yacc ];
preConfigure = '' preConfigure = ''
cp src/gcconfig.pri.in src/gcconfig.pri cp src/gcconfig.pri.in src/gcconfig.pri
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin mkdir -p $out/bin
cp src/GoldenCheetah $out/bin cp src/GoldenCheetah $out/bin
wrapQtProgram $out/bin/GoldenCheetah --set LD_LIBRARY_PATH "${zlib.out}/lib" wrapProgram $out/bin/GoldenCheetah --set LD_LIBRARY_PATH "${zlib.out}/lib"
runHook postInstall runHook postInstall
''; '';

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qmake, qtbase, qttools, makeQtWrapper }: { stdenv, fetchFromGitHub, qmake, qtbase, qttools }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gpxsee-${version}"; name = "gpxsee-${version}";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "17s1v6b1j7pi0yj554bd0cg14bl854gssp5gj2pl51rxji6zr0wp"; sha256 = "17s1v6b1j7pi0yj554bd0cg14bl854gssp5gj2pl51rxji6zr0wp";
}; };
nativeBuildInputs = [ qmake qttools makeQtWrapper ]; nativeBuildInputs = [ qmake qttools ];
preConfigure = '' preConfigure = ''
substituteInPlace src/config.h --replace /usr/share/gpxsee $out/share/gpxsee substituteInPlace src/config.h --replace /usr/share/gpxsee $out/share/gpxsee
@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
preFixup = '' preFixup = ''
install -Dm755 GPXSee $out/bin/GPXSee install -Dm755 GPXSee $out/bin/GPXSee
wrapQtProgram $out/bin/GPXSee
mkdir -p $out/share/gpxsee mkdir -p $out/share/gpxsee
cp pkg/maps.txt $out/share/gpxsee cp pkg/maps.txt $out/share/gpxsee

View File

@ -2,7 +2,6 @@
, lib , lib
, fetchurl , fetchurl
, extra-cmake-modules , extra-cmake-modules
, makeQtWrapper
, kcmutils , kcmutils
, kconfigwidgets , kconfigwidgets
, kdbusaddons , kdbusaddons
@ -35,14 +34,7 @@ stdenv.mkDerivation rec {
libXtst libXtst
]; ];
nativeBuildInputs = [ nativeBuildInputs = [ extra-cmake-modules ];
extra-cmake-modules
makeQtWrapper
];
postInstall = ''
wrapQtProgram "$out/bin/kdeconnect-cli"
'';
meta = { meta = {
description = "KDE Connect provides several features to integrate your phone and your computer"; description = "KDE Connect provides several features to integrate your phone and your computer";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qtbase, vcg, glew, qmake, makeQtWrapper, mesa }: { stdenv, fetchFromGitHub, qtbase, vcg, glew, qmake, mesa }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -14,7 +14,7 @@ stdenv.mkDerivation {
buildInputs = [ qtbase vcg glew ]; buildInputs = [ qtbase vcg glew ];
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ qmake makeQtWrapper ]; nativeBuildInputs = [ qmake ];
qmakeFlags = [ "openBrf.pro" ]; qmakeFlags = [ "openBrf.pro" ];
@ -31,7 +31,7 @@ stdenv.mkDerivation {
--set-rpath "${stdenv.lib.makeLibraryPath [ qtbase glew stdenv.cc.cc mesa ]}" \ --set-rpath "${stdenv.lib.makeLibraryPath [ qtbase glew stdenv.cc.cc mesa ]}" \
$out/share/openBrf/openBrf $out/share/openBrf/openBrf
makeQtWrapper "$out/share/openBrf/openBrf" "$out/bin/openBrf" ln -s "$out/share/openBrf/openBrf" "$out/bin/openBrf"
''; '';
dontPatchELF = true; dontPatchELF = true;

View File

@ -1,10 +1,10 @@
{ stdenv, lib, fetchFromGitHub, procps ? null { mkDerivation, stdenv, lib, fetchFromGitHub, procps ? null
, qtbase, qtwebengine, qtwebkit , qtbase, qtwebengine, qtwebkit
, cmake, makeQtWrapper , cmake
, syncthing, syncthing-inotify ? null , syncthing, syncthing-inotify ? null
, preferQWebView ? false }: , preferQWebView ? false }:
stdenv.mkDerivation rec { mkDerivation rec {
version = "0.5.7"; version = "0.5.7";
name = "qsyncthingtray-${version}"; name = "qsyncthingtray-${version}";
@ -16,8 +16,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ qtbase qtwebengine ] ++ lib.optional preferQWebView qtwebkit; buildInputs = [ qtbase qtwebengine ] ++ lib.optional preferQWebView qtwebkit;
nativeBuildInputs = [ cmake makeQtWrapper ]; nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
cmakeFlags = lib.optional preferQWebView "-DQST_BUILD_WEBKIT=1"; cmakeFlags = lib.optional preferQWebView "-DQST_BUILD_WEBKIT=1";
@ -41,12 +40,11 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin mkdir -p $out/bin
install -m755 QSyncthingTray $out/bin/${qst} install -m755 QSyncthingTray $out/bin/${qst}
ln -s $out/bin/${qst} $out/bin/QSyncthingTray ln -s $out/bin/${qst} $out/bin/QSyncthingTray
wrapQtProgram $out/bin/qsyncthingtray
runHook postInstall runHook postInstall
''; '';
meta = with stdenv.lib; { meta = with lib; {
homepage = https://github.com/sieren/QSyncthingTray/; homepage = https://github.com/sieren/QSyncthingTray/;
description = "A Traybar Application for Syncthing written in C++"; description = "A Traybar Application for Syncthing written in C++";
longDescription = '' longDescription = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, git, gnupg, makeQtWrapper, pass, qtbase, qtsvg, qttools, qmake }: { stdenv, fetchFromGitHub, git, gnupg, pass, qtbase, qtsvg, qttools, qmake, makeWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "qtpass-${version}"; name = "qtpass-${version}";
@ -13,10 +13,10 @@ stdenv.mkDerivation rec {
buildInputs = [ git gnupg pass qtbase qtsvg qttools ]; buildInputs = [ git gnupg pass qtbase qtsvg qttools ];
nativeBuildInputs = [ makeQtWrapper qmake ]; nativeBuildInputs = [ makeWrapper qmake ];
preConfigure = '' preConfigure = ''
qmakeFlags="$qmakeFlags CONFIG+=release DESTDIR=$out" qmakeFlags="$qmakeFlags DESTDIR=$out"
''; '';
installPhase = '' installPhase = ''
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
''; '';
postInstall = '' postInstall = ''
wrapQtProgram $out/bin/qtpass \ wrapProgram $out/bin/qtpass \
--suffix PATH : ${git}/bin \ --suffix PATH : ${git}/bin \
--suffix PATH : ${gnupg}/bin \ --suffix PATH : ${gnupg}/bin \
--suffix PATH : ${pass}/bin --suffix PATH : ${pass}/bin

View File

@ -1,7 +1,7 @@
{ stdenv, lib, fetchgit, pkgconfig , libssh2 { stdenv, lib, fetchgit, pkgconfig , libssh2
, qtbase, qtdeclarative, qtgraphicaleffects, qtimageformats, qtquickcontrols , qtbase, qtdeclarative, qtgraphicaleffects, qtimageformats, qtquickcontrols
, qtsvg, qttools, qtquick1 , qtsvg, qttools, qtquick1
, makeQtWrapper, qmake , qmake
}: }:
let let
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
sha256 = "0a7xa39qp1q32zkypw32mm3wi8wbhxhvrm6l3xsa3k1jzih7hzxr"; sha256 = "0a7xa39qp1q32zkypw32mm3wi8wbhxhvrm6l3xsa3k1jzih7hzxr";
}; };
nativeBuildInputs = [ makeQtWrapper qmake ]; nativeBuildInputs = [ qmake ];
buildInputs = [ buildInputs = [
pkgconfig libssh2 qtbase qtdeclarative qtgraphicaleffects qtimageformats pkgconfig libssh2 qtbase qtdeclarative qtgraphicaleffects qtimageformats
@ -68,7 +68,6 @@ EOF
mkdir -p $out/bin mkdir -p $out/bin
instdir="$srcdir/bin/linux/release" instdir="$srcdir/bin/linux/release"
cp $instdir/rdm $out/bin cp $instdir/rdm $out/bin
wrapQtProgram $out/bin/rdm
''; '';
meta = with lib; { meta = with lib; {

View File

@ -1,9 +1,9 @@
{ stdenv, fetchurl, pkgconfig, which, makeQtWrapper, { mkDerivation, lib, fetchurl, pkgconfig, which
libtool, openssl, qtbase, qttools }: , libtool, openssl, qtbase, qttools }:
with stdenv.lib; with lib;
stdenv.mkDerivation rec { mkDerivation rec {
name = "xca-${version}"; name = "xca-${version}";
version = "1.3.2"; version = "1.3.2";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libtool openssl qtbase qttools ]; buildInputs = [ libtool openssl qtbase qttools ];
nativeBuildInputs = [ makeQtWrapper pkgconfig which ]; nativeBuildInputs = [ pkgconfig which ];
configureFlags = [ "CXXFLAGS=-std=c++11" ]; configureFlags = [ "CXXFLAGS=-std=c++11" ];
@ -26,12 +26,7 @@ stdenv.mkDerivation rec {
--replace ${qtbase}/bin/uic ${qtbase.dev}/bin/uic --replace ${qtbase}/bin/uic ${qtbase.dev}/bin/uic
''; '';
postInstall = '' meta = with lib; {
wrapQtProgram "$out/bin/xca"
wrapQtProgram "$out/bin/xca_db_stat"
'';
meta = with stdenv.lib; {
description = "Interface for managing asymetric keys like RSA or DSA"; description = "Interface for managing asymetric keys like RSA or DSA";
homepage = http://xca.sourceforge.net/; homepage = http://xca.sourceforge.net/;
platforms = platforms.all; platforms = platforms.all;

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, unzip, buildPythonApplication, makeQtWrapper, wrapGAppsHook { stdenv, lib, fetchurl, unzip, buildPythonApplication, makeWrapper, wrapGAppsHook
, qtbase, pyqt5, jinja2, pygments, pyyaml, pypeg2, cssutils, glib_networking , qtbase, pyqt5, jinja2, pygments, pyyaml, pypeg2, cssutils, glib_networking
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2, libxslt , asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2, libxslt
, gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-libav , gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-libav
@ -44,7 +44,7 @@ in buildPythonApplication rec {
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
makeQtWrapper wrapGAppsHook asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt makeWrapper wrapGAppsHook asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -73,9 +73,8 @@ in buildPythonApplication rec {
install -Dm755 -t "$out/share/qutebrowser/userscripts/" misc/userscripts/* install -Dm755 -t "$out/share/qutebrowser/userscripts/" misc/userscripts/*
''; '';
postFixup = '' postFixup = lib.optionalString withWebEngineDefault ''
wrapQtProgram $out/bin/qutebrowser \ wrapProgram $out/bin/qutebrowser --add-flags "--backend webengine"
${lib.optionalString withWebEngineDefault ''--add-flags "--backend webengine"''}
''; '';
meta = { meta = {

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, makeDesktopItem, patchelf, makeWrapper, makeQtWrapper { mkDerivation, stdenv, lib, fetchurl, makeDesktopItem
, makeWrapper, patchelf
, dbus_libs, fontconfig, freetype, gcc, glib , dbus_libs, fontconfig, freetype, gcc, glib
, libdrm, libffi, libICE, libSM , libdrm, libffi, libICE, libSM
, libX11, libXcomposite, libXext, libXmu, libXrender, libxcb , libX11, libXcomposite, libXext, libXmu, libXrender, libxcb
@ -58,7 +59,7 @@ let
startupNotify = "false"; startupNotify = "false";
}; };
in stdenv.mkDerivation { in mkDerivation {
name = "dropbox-${version}"; name = "dropbox-${version}";
src = fetchurl { src = fetchurl {
name = "dropbox-${version}.tar.gz"; name = "dropbox-${version}.tar.gz";
@ -68,7 +69,7 @@ in stdenv.mkDerivation {
sourceRoot = ".dropbox-dist"; sourceRoot = ".dropbox-dist";
nativeBuildInputs = [ makeQtWrapper patchelf ]; nativeBuildInputs = [ makeWrapper patchelf ];
dontStrip = true; # already done dontStrip = true; # already done
installPhase = '' installPhase = ''
@ -94,7 +95,7 @@ in stdenv.mkDerivation {
mkdir -p "$out/bin" mkdir -p "$out/bin"
RPATH="${ldpath}:$out/${appdir}" RPATH="${ldpath}:$out/${appdir}"
makeQtWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \ makeWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \
--prefix LD_LIBRARY_PATH : "$RPATH" --prefix LD_LIBRARY_PATH : "$RPATH"
chmod 755 $out/${appdir}/dropbox chmod 755 $out/${appdir}/dropbox
@ -137,8 +138,8 @@ in stdenv.mkDerivation {
meta = { meta = {
homepage = "http://www.dropbox.com"; homepage = "http://www.dropbox.com";
description = "Online stored folders (daemon version)"; description = "Online stored folders (daemon version)";
maintainers = with stdenv.lib.maintainers; [ ttuegel ]; maintainers = with lib.maintainers; [ ttuegel ];
platforms = [ "i686-linux" "x86_64-linux" ]; platforms = [ "i686-linux" "x86_64-linux" ];
license = stdenv.lib.licenses.unfree; license = lib.licenses.unfree;
}; };
} }

View File

@ -1,10 +1,10 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, openal, opencv, { mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig, openal, opencv,
libtoxcore, libsodium, libXScrnSaver, glib, gdk_pixbuf, gtk2, cairo, xorg, libtoxcore, libsodium, libXScrnSaver, glib, gdk_pixbuf, gtk2, cairo, xorg,
pango, atk, qrencode, ffmpeg, filter-audio, makeQtWrapper, pango, atk, qrencode, ffmpeg, filter-audio,
qtbase, qtsvg, qttools, qttranslations, sqlcipher, qtbase, qtsvg, qttools, qttranslations, sqlcipher,
libvpx, libopus }: libvpx, libopus }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "qtox-${version}"; name = "qtox-${version}";
version = "1.10.2"; version = "1.10.2";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
libpthreadstubs libXdmcp libpthreadstubs libXdmcp
]); ]);
nativeBuildInputs = [ cmake makeQtWrapper pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
cmakeFlags = [ cmakeFlags = [
"-DGIT_DESCRIBE=${version}" "-DGIT_DESCRIBE=${version}"
@ -35,14 +35,11 @@ stdenv.mkDerivation rec {
runHook preInstall runHook preInstall
install -Dm755 qtox $out/bin/qtox install -Dm755 qtox $out/bin/qtox
wrapQtProgram $out/bin/qtox
runHook postInstall runHook postInstall
''; '';
enableParallelBuilding = true; meta = with lib; {
meta = with stdenv.lib; {
description = "Qt Tox client"; description = "Qt Tox client";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ viric jgeerds akaWolf peterhoeg ]; maintainers = with maintainers; [ viric jgeerds akaWolf peterhoeg ];

View File

@ -1,6 +1,6 @@
{ stdenv, fetchgit, qtbase, qtquickcontrols, cmake, makeQtWrapper }: { mkDerivation, lib, fetchgit, qtbase, qtquickcontrols, cmake }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "quaternion-git-${version}"; name = "quaternion-git-${version}";
version = "2017-04-15"; version = "2017-04-15";
@ -18,25 +18,21 @@ stdenv.mkDerivation rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
enableParallelBuilding = true;
buildInputs = [ qtbase qtquickcontrols ]; buildInputs = [ qtbase qtquickcontrols ];
nativeBuildInputs = [ cmake makeQtWrapper ]; nativeBuildInputs = [ cmake ];
cmakeFlags = [ cmakeFlags = [
"-Wno-dev" "-Wno-dev"
]; ];
postInstall = '' postInstall = ''
wrapQtProgram $out/bin/quaternion
substituteInPlace $out/share/applications/quaternion.desktop \ substituteInPlace $out/share/applications/quaternion.desktop \
--replace 'Exec=quaternion' "Exec=$out/bin/quaternion" --replace 'Exec=quaternion' "Exec=$out/bin/quaternion"
rm $out/share/icons/hicolor/icon-theme.cache rm $out/share/icons/hicolor/icon-theme.cache
''; '';
meta = with stdenv.lib; { meta = with lib; {
homepage = https://matrix.org/docs/projects/client/quaternion.html; homepage = https://matrix.org/docs/projects/client/quaternion.html;
description = "Cross-platform desktop IM client for the Matrix protocol"; description = "Cross-platform desktop IM client for the Matrix protocol";
license = licenses.gpl3; license = licenses.gpl3;

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, makeDesktopItem, unzip { stdenv, fetchurl, pkgconfig, makeDesktopItem, unzip
, qtbase, qttools, makeQtWrapper, qtmultimedia, qtquick1, qtquickcontrols , qtbase, qttools, qtmultimedia, qtquick1, qtquickcontrols
, openssl, protobuf, qmake , openssl, protobuf, qmake
}: }:
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
openssl protobuf openssl protobuf
]; ];
nativeBuildInputs = [ pkgconfig makeQtWrapper qmake ]; nativeBuildInputs = [ pkgconfig qmake ];
preConfigure = '' preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags openssl)" export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags openssl)"
@ -38,7 +38,6 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp ricochet $out/bin cp ricochet $out/bin
wrapQtProgram $out/bin/ricochet
mkdir -p $out/share/applications mkdir -p $out/share/applications
cp $desktopItem/share/applications"/"* $out/share/applications cp $desktopItem/share/applications"/"* $out/share/applications

View File

@ -3,7 +3,7 @@
, qtimageformats, qtgraphicaleffects, qtwebkit , qtimageformats, qtgraphicaleffects, qtwebkit
, telegram-qml, libqtelegram-aseman-edition , telegram-qml, libqtelegram-aseman-edition
, gst_all_1 , gst_all_1
, makeQtWrapper, qmake }: , makeWrapper, qmake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cutegram-${meta.version}"; name = "cutegram-${meta.version}";
@ -22,10 +22,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ makeQtWrapper qmake ]; nativeBuildInputs = [ makeWrapper qmake ];
fixupPhase = '' fixupPhase = ''
wrapQtProgram $out/bin/cutegram \ wrapProgram $out/bin/cutegram \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
''; '';

View File

@ -1,10 +1,10 @@
{ stdenv, lib, fetchFromGitHub, fetchgit, pkgconfig, gyp, cmake { mkDerivation, lib, fetchFromGitHub, fetchgit, pkgconfig, gyp, cmake
, qtbase, qtimageformats, makeQtWrapper , qtbase, qtimageformats
, breakpad, gtk3, libappindicator-gtk3, dee , breakpad, gtk3, libappindicator-gtk3, dee
, ffmpeg, openalSoft, minizip , ffmpeg, openalSoft, minizip
}: }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "telegram-desktop-${version}"; name = "telegram-desktop-${version}";
version = "1.0.27"; version = "1.0.27";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
gtk3 libappindicator-gtk3 dee qtbase qtimageformats ffmpeg openalSoft minizip gtk3 libappindicator-gtk3 dee qtbase qtimageformats ffmpeg openalSoft minizip
]; ];
nativeBuildInputs = [ pkgconfig gyp cmake makeQtWrapper ]; nativeBuildInputs = [ pkgconfig gyp cmake ];
patches = [ "${tgaur}/aur-build-fixes.patch" ]; patches = [ "${tgaur}/aur-build-fixes.patch" ];
@ -86,10 +86,9 @@ stdenv.mkDerivation rec {
for icon_size in 16 32 48 64 128 256 512; do for icon_size in 16 32 48 64 128 256 512; do
install -Dm644 "../../../Telegram/Resources/art/icon''${icon_size}.png" "$out/share/icons/hicolor/''${icon_size}x''${icon_size}/apps/telegram-desktop.png" install -Dm644 "../../../Telegram/Resources/art/icon''${icon_size}.png" "$out/share/icons/hicolor/''${icon_size}x''${icon_size}/apps/telegram-desktop.png"
done done
wrapQtProgram $out/bin/telegram-desktop
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "Telegram Desktop messaging app"; description = "Telegram Desktop messaging app";
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, qtbase, qtquickcontrols, qmake, makeQtWrapper, makeDesktopItem }: { stdenv, fetchgit, qtbase, qtquickcontrols, qmake, makeDesktopItem }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tensor-git-${version}"; name = "tensor-git-${version}";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = [ qtbase qtquickcontrols ]; buildInputs = [ qtbase qtquickcontrols ];
nativeBuildInputs = [ qmake makeQtWrapper ]; nativeBuildInputs = [ qmake ];
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
name = "tensor"; name = "tensor";
@ -36,8 +36,6 @@ stdenv.mkDerivation rec {
install -Dm644 ${desktopItem}/share/applications/tensor.desktop \ install -Dm644 ${desktopItem}/share/applications/tensor.desktop \
$out/share/applications/tensor.desktop $out/share/applications/tensor.desktop
wrapQtProgram $out/bin/tensor
substituteInPlace $out/share/applications/tensor.desktop \ substituteInPlace $out/share/applications/tensor.desktop \
--subst-var-by bin $out/bin/tensor --subst-var-by bin $out/bin/tensor

View File

@ -1,4 +1,4 @@
{ fetchgit, libcommuni, makeQtWrapper, qtbase, qmake, stdenv }: { fetchgit, libcommuni, qtbase, qmake, stdenv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "communi-${version}"; name = "communi-${version}";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = [ makeQtWrapper qmake ]; nativeBuildInputs = [ qmake ];
buildInputs = [ libcommuni qtbase ]; buildInputs = [ libcommuni qtbase ];
@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
''; '';
postInstall = '' postInstall = ''
wrapQtProgram "$out/bin/communi"
substituteInPlace "$out/share/applications/communi.desktop" \ substituteInPlace "$out/share/applications/communi.desktop" \
--replace "/usr/bin" "$out/bin" --replace "/usr/bin" "$out/bin"
''; '';

View File

@ -3,7 +3,6 @@
, fetchurl , fetchurl
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, wrapGAppsHook
, kbookmarks , kbookmarks
, karchive , karchive
, kconfig , kconfig
@ -21,7 +20,6 @@
, kio , kio
, kparts , kparts
, kwallet , kwallet
, makeQtWrapper
, solid , solid
, sonnet , sonnet
, phonon , phonon
@ -65,7 +63,6 @@ in mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
wrapGAppsHook
]; ];
meta = { meta = {

View File

@ -1,13 +1,12 @@
{ stdenv { mkDerivation
, lib , lib
, fetchgit , fetchgit
, cmake , cmake
, qtbase , qtbase
, qtwebkit , qtwebkit
, makeQtWrapper
}: }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "trojita-${version}"; name = "trojita-${version}";
version = "0.7"; version = "0.7";
@ -18,25 +17,20 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ buildInputs = [
cmake
qtbase qtbase
qtwebkit qtwebkit
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
makeQtWrapper cmake
]; ];
postInstall = ''
wrapQtProgram "$out/bin/trojita"
'';
meta = with lib; {
meta = {
description = "A Qt IMAP e-mail client"; description = "A Qt IMAP e-mail client";
homepage = http://trojita.flaska.net/; homepage = http://trojita.flaska.net/;
license = with lib.licenses; [ gpl2 gpl3 ]; license = with licenses; [ gpl2 gpl3 ];
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
}; };
} }

View File

@ -70,7 +70,7 @@ let
client = source: generic { client = source: generic {
type = "mumble"; type = "mumble";
nativeBuildInputs = optionals (source.qtVersion == 5) [ qt5.qttools qt5.makeQtWrapper ]; nativeBuildInputs = optionals (source.qtVersion == 5) [ qt5.qttools ];
buildInputs = [ libopus libsndfile speex ] buildInputs = [ libopus libsndfile speex ]
++ optional (source.qtVersion == 5) qt5.qtsvg ++ optional (source.qtVersion == 5) qt5.qtsvg
++ optional stdenv.isLinux alsaLib ++ optional stdenv.isLinux alsaLib
@ -91,10 +91,6 @@ let
mkdir -p $out/share/icons{,/hicolor/scalable/apps} mkdir -p $out/share/icons{,/hicolor/scalable/apps}
cp icons/mumble.svg $out/share/icons cp icons/mumble.svg $out/share/icons
ln -s $out/share/icon/mumble.svg $out/share/icons/hicolor/scalable/apps ln -s $out/share/icon/mumble.svg $out/share/icons/hicolor/scalable/apps
${optionalString (source.qtVersion == 5) ''
wrapQtProgram $out/bin/mumble
''}
''; '';
} source; } source;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qtbase, qmake, qttools, qtwebkit, makeQtWrapper, pkgconfig, sqlite }: { stdenv, fetchFromGitHub, qtbase, qmake, qttools, qtwebkit, pkgconfig, sqlite }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "quiterss-${version}"; name = "quiterss-${version}";
@ -11,13 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "1y0n5ps1z4wgf9hkfjrw7dfyncrw22bf9mi3052vmf3s7xzz6vbb"; sha256 = "1y0n5ps1z4wgf9hkfjrw7dfyncrw22bf9mi3052vmf3s7xzz6vbb";
}; };
nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ]; nativeBuildInputs = [ pkgconfig qmake ];
buildInputs = [ qtbase qttools qtwebkit sqlite.dev ]; buildInputs = [ qtbase qttools qtwebkit sqlite.dev ];
postInstall = ''
wrapQtProgram "$out/bin/quiterss"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A Qt-based RSS/Atom news feed reader"; description = "A Qt-based RSS/Atom news feed reader";
longDescription = '' longDescription = ''

View File

@ -1,4 +1,5 @@
{ fetchurl, stdenv, dpkg, which { fetchurl, stdenv, dpkg, which
, makeWrapper
, alsaLib , alsaLib
, desktop_file_utils , desktop_file_utils
, dbus , dbus
@ -92,7 +93,7 @@ stdenv.mkDerivation {
sha256 = sha256; sha256 = sha256;
}; };
nativeBuildInputs = [ qt5.makeQtWrapper ]; nativeBuildInputs = [ makeWrapper ];
buildInputs = [ dpkg which ] ++ deps; buildInputs = [ dpkg which ] ++ deps;
unpackPhase = "true"; unpackPhase = "true";
@ -107,7 +108,7 @@ stdenv.mkDerivation {
$out/bin/mendeleydesktop $out/bin/mendeleydesktop
paxmark m $out/bin/mendeleydesktop paxmark m $out/bin/mendeleydesktop
wrapQtProgram $out/bin/mendeleydesktop \ wrapProgram $out/bin/mendeleydesktop \
--add-flags "--unix-distro-build" \ --add-flags "--unix-distro-build" \
${stdenv.lib.optionalString autorunLinkHandler ${stdenv.lib.optionalString autorunLinkHandler
''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop"''} ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop"''}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qmake, makeQtWrapper, qtsvg }: { stdenv, fetchurl, qmake, qtsvg }:
let let
version = "1.42.2"; version = "1.42.2";
@ -9,7 +9,7 @@ in stdenv.mkDerivation rec {
sha256 = "1ah44nf4ksxkh01a2zmgvvby4pwczhyq5vcp270rf6visp8v9804"; sha256 = "1ah44nf4ksxkh01a2zmgvvby4pwczhyq5vcp270rf6visp8v9804";
}; };
nativeBuildInputs = [ makeQtWrapper qmake ]; nativeBuildInputs = [ qmake ];
buildInputs = [ qtsvg ]; buildInputs = [ qtsvg ];
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
@ -23,8 +23,6 @@ in stdenv.mkDerivation rec {
--replace ":/resource/pic/logo.svg" "$out/share/icons/hicolor/48x48/apps/mytetra.png" --replace ":/resource/pic/logo.svg" "$out/share/icons/hicolor/48x48/apps/mytetra.png"
''; '';
postInstall = "wrapQtProgram $out/bin/mytetra";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Smart manager for information collecting"; description = "Smart manager for information collecting";
homepage = http://webhamster.ru/site/page/index/articles/projectcode/138; homepage = http://webhamster.ru/site/page/index/articles/projectcode/138;

View File

@ -1,9 +1,10 @@
{ stdenv, fetchurl, cmake, extra-cmake-modules, makeQtWrapper, qtwebkit, qtscript, grantlee, { mkDerivation, lib, fetchurl,
cmake, extra-cmake-modules, qtwebkit, qtscript, grantlee,
kxmlgui, kwallet, kparts, kdoctools, kjobwidgets, kdesignerplugin, kxmlgui, kwallet, kparts, kdoctools, kjobwidgets, kdesignerplugin,
kiconthemes, knewstuff, sqlcipher, qca-qt5, kdelibs4support, kactivities, kiconthemes, knewstuff, sqlcipher, qca-qt5, kdelibs4support, kactivities,
knotifyconfig, krunner, libofx }: knotifyconfig, krunner, libofx }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "skrooge-${version}"; name = "skrooge-${version}";
version = "2.7.0"; version = "2.7.0";
@ -12,21 +13,14 @@ stdenv.mkDerivation rec {
sha256 = "1xrh9nal122rzlv4m0x8qah6zpqb6891al3351piarpk2xgjgj4x"; sha256 = "1xrh9nal122rzlv4m0x8qah6zpqb6891al3351piarpk2xgjgj4x";
}; };
nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ]; nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ qtwebkit qtscript grantlee kxmlgui kwallet kparts kdoctools buildInputs = [ qtwebkit qtscript grantlee kxmlgui kwallet kparts kdoctools
kjobwidgets kdesignerplugin kiconthemes knewstuff sqlcipher qca-qt5 kjobwidgets kdesignerplugin kiconthemes knewstuff sqlcipher qca-qt5
kdelibs4support kactivities knotifyconfig krunner libofx kdelibs4support kactivities knotifyconfig krunner libofx
]; ];
enableParallelBuilding = true; meta = with lib; {
postInstall = ''
wrapQtProgram "$out/bin/skrooge"
wrapQtProgram "$out/bin/skroogeconvert"
'';
meta = with stdenv.lib; {
description = "A personal finances manager, powered by KDE"; description = "A personal finances manager, powered by KDE";
license = with licenses; [ gpl3 ]; license = with licenses; [ gpl3 ];
maintainers = with maintainers; [ joko ]; maintainers = with maintainers; [ joko ];

View File

@ -1,9 +1,10 @@
{ stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv { mkDerivation, lib, fetchurl
, qtscript, qtserialport, qttools, makeQtWrapper , cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv
, qtscript, qtserialport, qttools
, qtmultimedia , qtmultimedia
}: }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "stellarium-${version}"; name = "stellarium-${version}";
version = "0.15.0"; version = "0.15.0";
@ -12,25 +13,19 @@ stdenv.mkDerivation rec {
sha256 = "0il751lgnfkx35h1m8fzwwnrygpxjx2a80gng1i1rbybkykf7l3l"; sha256 = "0il751lgnfkx35h1m8fzwwnrygpxjx2a80gng1i1rbybkykf7l3l";
}; };
nativeBuildInputs = [ makeQtWrapper ]; nativeBuildInputs = [ cmake perl ];
buildInputs = [ buildInputs = [
cmake freetype libpng mesa gettext openssl perl libiconv qtscript freetype libpng mesa openssl libiconv qtscript qtserialport qttools
qtserialport qttools qtmultimedia qtmultimedia
]; ];
enableParallelBuilding = true; meta = with lib; {
postInstall = ''
wrapQtProgram "$out/bin/stellarium"
'';
meta = {
description = "Free open-source planetarium"; description = "Free open-source planetarium";
homepage = "http://stellarium.org/"; homepage = "http://stellarium.org/";
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2;
platforms = stdenv.lib.platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin platforms = platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
maintainers = [ stdenv.lib.maintainers.peti ]; maintainers = [ maintainers.peti ];
}; };
} }

View File

@ -1,4 +1,4 @@
{ stdenv, fetchpatch, fetchFromGitHub, makeQtWrapper, qmake, pkgconfig { stdenv, fetchpatch, fetchFromGitHub, qmake, pkgconfig
, qtbase, qtsvg, qtserialport, boost, libgit2 , qtbase, qtsvg, qtserialport, boost, libgit2
}: }:
@ -28,20 +28,14 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase qtsvg qtserialport boost libgit2 ]; buildInputs = [ qtbase qtsvg qtserialport boost libgit2 ];
nativeBuildInputs = [ qmake makeQtWrapper pkgconfig ]; nativeBuildInputs = [ qmake pkgconfig ];
qmakeFlags = [ "phoenix.pro" ]; qmakeFlags = [ "phoenix.pro" ];
enableParallelBuilding = true;
preConfigure = '' preConfigure = ''
ln -s "$parts" parts ln -s "$parts" parts
''; '';
postInstall = ''
wrapQtProgram $out/bin/Fritzing
'';
meta = { meta = {
description = "An open source prototyping tool for Arduino-based projects"; description = "An open source prototyping tool for Arduino-based projects";
homepage = http://fritzing.org/; homepage = http://fritzing.org/;

View File

@ -1,6 +1,6 @@
{ stdenv, fetchgit, cmake, makeQtWrapper, qtbase, qttools }: { mkDerivation, lib, fetchgit, cmake, qtbase, qttools }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "speedcrunch-${version}"; name = "speedcrunch-${version}";
version = "0.12.0"; version = "0.12.0";
@ -11,21 +11,15 @@ stdenv.mkDerivation rec {
sha256 = "0vh7cd1915bjqzkdp3sk25ngy8cq624mkh8c53c5bnzk357kb0fk"; sha256 = "0vh7cd1915bjqzkdp3sk25ngy8cq624mkh8c53c5bnzk357kb0fk";
}; };
enableParallelBuilding = true;
buildInputs = [ qtbase qttools ]; buildInputs = [ qtbase qttools ];
nativeBuildInputs = [ cmake makeQtWrapper ]; nativeBuildInputs = [ cmake ];
preConfigure = '' preConfigure = ''
cd src cd src
''; '';
postFixup = '' meta = with lib; {
wrapQtProgram $out/bin/speedcrunch
'';
meta = with stdenv.lib; {
homepage = http://speedcrunch.org; homepage = http://speedcrunch.org;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
description = "A fast power user calculator"; description = "A fast power user calculator";

View File

@ -1,7 +1,7 @@
{ stdenv, fetchgit, git, espeak, SDL, udev, doxygen, cmake { stdenv, fetchgit, git, espeak, SDL, udev, doxygen, cmake
, qtbase, qtlocation, qtserialport, qtdeclarative, qtconnectivity, qtxmlpatterns , qtbase, qtlocation, qtserialport, qtdeclarative, qtconnectivity, qtxmlpatterns
, qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects, qmake , qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects, qmake
, makeQtWrapper, lndir , makeWrapper, lndir
, gst_all_1, qt-gstreamer1, pkgconfig, glibc , gst_all_1, qt-gstreamer1, pkgconfig, glibc
, version ? "2.9.4" , version ? "2.9.4"
}: }:
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = [ SDL udev doxygen git ] ++ gstInputs ++ qtInputs; buildInputs = [ SDL udev doxygen git ] ++ gstInputs ++ qtInputs;
nativeBuildInputs = [ pkgconfig makeQtWrapper qmake ]; nativeBuildInputs = [ pkgconfig makeWrapper qmake ];
patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ]; patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ];
postPatch = '' postPatch = ''
@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
wrapQtProgram "$out/bin/qgroundcontrol" \ wrapProgram "$out/bin/qgroundcontrol" \
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
''; '';

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, perl, python, which, makeQtWrapper { stdenv, fetchFromGitHub, fetchpatch, pkgconfig, perl, python, which
, libX11, libxcb, mesa , libX11, libxcb, mesa
, qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmake , qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmake, makeWrapper
, libchardet , libchardet
, ffmpeg , ffmpeg
@ -90,7 +90,7 @@ stdenv.mkDerivation rec {
''; '';
postInstall = '' postInstall = ''
wrapQtProgram $out/bin/bomi \ wrapProgram $out/bin/bomi \
${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"} ${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"}
''; '';
@ -104,9 +104,7 @@ stdenv.mkDerivation rec {
++ optional cddaSupport "--enable-cdda" ++ optional cddaSupport "--enable-cdda"
; ;
nativeBuildInputs = [ pkgconfig perl python which qttools makeQtWrapper qmake ]; nativeBuildInputs = [ makeWrapper pkgconfig perl python which qttools qmake ];
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Powerful and easy-to-use multimedia player"; description = "Powerful and easy-to-use multimedia player";

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub { stdenv, fetchFromGitHub
, doxygen, python3Packages, libopenshot , doxygen, python3Packages, libopenshot
, makeQtWrapper, wrapGAppsHook, gtk3 }: , wrapGAppsHook, gtk3 }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
name = "openshot-qt-${version}"; name = "openshot-qt-${version}";

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, SDL, frei0r, gettext, mlt, jack1, pkgconfig, qtbase, { stdenv, fetchurl, SDL, frei0r, gettext, mlt, jack1, pkgconfig, qtbase,
qtmultimedia, qtwebkit, qtx11extras, qtwebsockets, qtquickcontrols, qtmultimedia, qtwebkit, qtx11extras, qtwebsockets, qtquickcontrols,
qtgraphicaleffects, qtgraphicaleffects,
qmake, makeQtWrapper }: qmake, makeWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "shotcut-${version}"; name = "shotcut-${version}";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ]; nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
buildInputs = [ buildInputs = [
SDL frei0r gettext mlt SDL frei0r gettext mlt
qtbase qtmultimedia qtwebkit qtx11extras qtwebsockets qtquickcontrols qtbase qtmultimedia qtwebkit qtx11extras qtwebsockets qtquickcontrols
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
mkdir -p $out/share/shotcut mkdir -p $out/share/shotcut
cp -r src/qml $out/share/shotcut/ cp -r src/qml $out/share/shotcut/
wrapQtProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ jack1 SDL ]} --prefix PATH : ${mlt}/bin wrapProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ jack1 SDL ]} --prefix PATH : ${mlt}/bin
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig { mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
, qtbase, qtmultimedia, qtsvg, makeQtWrapper , qtbase, qtmultimedia, qtsvg
, lxqt, libvncserver, libvirt, pixman, spice_gtk, spice_protocol , lxqt, libvncserver, libvirt, pixman, spice_gtk, spice_protocol
}: }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "virt-manager-qt-${version}"; name = "virt-manager-qt-${version}";
version = "0.43.70.2"; version = "0.43.70.2";
@ -23,17 +23,9 @@ stdenv.mkDerivation rec {
libvirt libvncserver pixman spice_gtk spice_protocol libvirt libvncserver pixman spice_gtk spice_protocol
]; ];
nativeBuildInputs = [ cmake pkgconfig makeQtWrapper ]; nativeBuildInputs = [ cmake pkgconfig ];
postFixup = '' meta = with lib; {
for f in $out/bin/* ; do
wrapQtProgram $f
done
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://f1ash.github.io/qt-virt-manager; homepage = http://f1ash.github.io/qt-virt-manager;
description = "Desktop user interface for managing virtual machines (QT)"; description = "Desktop user interface for managing virtual machines (QT)";
longDescription = '' longDescription = ''

View File

@ -58,7 +58,7 @@ in stdenv.mkDerivation {
++ optional pythonBindings python # Python is needed even when not building bindings ++ optional pythonBindings python # Python is needed even when not building bindings
++ optional pulseSupport libpulseaudio ++ optional pulseSupport libpulseaudio
++ optionals (headless) [ libXrandr ] ++ optionals (headless) [ libXrandr ]
++ optionals (!headless) [ qt5.qtbase qt5.qtx11extras qt5.makeQtWrapper libXinerama SDL ]; ++ optionals (!headless) [ qt5.qtbase qt5.qtx11extras libXinerama SDL ];
hardeningDisable = [ "fortify" "pic" "stackprotector" ]; hardeningDisable = [ "fortify" "pic" "stackprotector" ];
@ -153,12 +153,8 @@ in stdenv.mkDerivation {
find out/linux.*/${buildType}/bin -mindepth 1 -maxdepth 1 \ find out/linux.*/${buildType}/bin -mindepth 1 -maxdepth 1 \
-name src -o -exec cp -avt "$libexec" {} + -name src -o -exec cp -avt "$libexec" {} +
# Create wrapper script
mkdir -p $out/bin mkdir -p $out/bin
${optionalString (!headless) '' for file in ${optionalString (!headless) "VirtualBox VBoxSDL rdesktop-vrdp"} VBoxManage VBoxBalloonCtrl VBoxHeadless; do
makeQtWrapper "$libexec/VirtualBox" $out/bin/VirtualBox
''}
for file in ${optionalString (!headless) "VBoxSDL rdesktop-vrdp"} VBoxManage VBoxBalloonCtrl VBoxHeadless; do
echo "Linking $file to /bin" echo "Linking $file to /bin"
test -x "$libexec/$file" test -x "$libexec/$file"
ln -s "$libexec/$file" $out/bin/$file ln -s "$libexec/$file" $out/bin/$file

View File

@ -1,5 +1,5 @@
{ {
mkDerivation, extra-cmake-modules, kdoctools, makeQtWrapper, mkDerivation, extra-cmake-modules, kdoctools,
kcmutils, kconfig, kdbusaddons, khtml, ki18n, kiconthemes, kio, kitemviews, kcmutils, kconfig, kdbusaddons, khtml, ki18n, kiconthemes, kio, kitemviews,
kservice, kwindowsystem, kxmlgui, qtquickcontrols, qtquickcontrols2 kservice, kwindowsystem, kxmlgui, qtquickcontrols, qtquickcontrols2
}: }:

View File

@ -1,20 +1,20 @@
{ stdenv, lib, fetchFromGitHub, extra-cmake-modules, makeQtWrapper { mkDerivation, lib, fetchFromGitHub, extra-cmake-modules
, qtbase, qtmultimedia, qtquick1, qttools , qtbase, qtmultimedia, qtquick1, qttools
, mesa, libX11 , mesa, libX11
, libass, openal, ffmpeg, libuchardet , libass, openal, ffmpeg, libuchardet
, alsaLib, libpulseaudio, libva , alsaLib, libpulseaudio, libva
}: }:
with stdenv.lib; with lib;
stdenv.mkDerivation rec { mkDerivation rec {
name = "libqtav-${version}"; name = "libqtav-${version}";
# Awaiting upcoming `v1.12.0` release. `v1.11.0` is not supporting cmake which is the # Awaiting upcoming `v1.12.0` release. `v1.11.0` is not supporting cmake which is the
# the reason behind taking an unstable git rev. # the reason behind taking an unstable git rev.
version = "unstable-2017-03-30"; version = "unstable-2017-03-30";
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper qttools ]; nativeBuildInputs = [ extra-cmake-modules qttools ];
buildInputs = [ buildInputs = [
qtbase qtmultimedia qtquick1 qtbase qtmultimedia qtquick1
mesa libX11 mesa libX11
@ -45,12 +45,6 @@ stdenv.mkDerivation rec {
cp -a "./bin/"* "$out/bin" cp -a "./bin/"* "$out/bin"
''; '';
postFixup = ''
for i in `find $out/bin -maxdepth 1 -xtype f -executable`; do
wrapQtProgram "$i"
done
'';
meta = { meta = {
description = "A multimedia playback framework based on Qt + FFmpeg."; description = "A multimedia playback framework based on Qt + FFmpeg.";
#license = licenses.lgpl21; # For the libraries / headers only. #license = licenses.lgpl21; # For the libraries / headers only.

View File

@ -146,11 +146,6 @@ let
qtwebchannel qtwebengine qtwebkit qtwebsockets qtx11extras qtxmlpatterns qtwebchannel qtwebengine qtwebkit qtwebsockets qtx11extras qtxmlpatterns
]; ];
makeQtWrapper =
makeSetupHook
{ deps = [ makeWrapper ]; }
(if stdenv.isDarwin then ../make-qt-wrapper-darwin.sh else ../make-qt-wrapper.sh);
qmake = makeSetupHook { qmake = makeSetupHook {
deps = [ self.qtbase.dev ]; deps = [ self.qtbase.dev ];
substitutions = { inherit (stdenv) isDarwin; }; substitutions = { inherit (stdenv) isDarwin; };

View File

@ -133,12 +133,6 @@ let
] ++ optional (!stdenv.isDarwin) qtwayland ] ++ optional (!stdenv.isDarwin) qtwayland
++ optional (stdenv.isDarwin) qtmacextras); ++ optional (stdenv.isDarwin) qtmacextras);
makeQtWrapper =
makeSetupHook
{ deps = [ makeWrapper ] ++ optionals (!stdenv.isDarwin) [ dconf.lib gtk3 ]; }
(if stdenv.isDarwin then ../make-qt-wrapper-darwin.sh else ../make-qt-wrapper.sh);
qmake = makeSetupHook { qmake = makeSetupHook {
deps = [ self.qtbase.dev ]; deps = [ self.qtbase.dev ];
substitutions = { inherit (stdenv) isDarwin; }; substitutions = { inherit (stdenv) isDarwin; };

View File

@ -1,4 +1,4 @@
{ stdenv, qtSubmodule, makeQtWrapper, copyPathsToStore, python2, qtbase, qtsvg, qtxmlpatterns }: { stdenv, qtSubmodule, copyPathsToStore, python2, qtbase, qtsvg, qtxmlpatterns }:
with stdenv.lib; with stdenv.lib;
@ -6,17 +6,9 @@ qtSubmodule {
name = "qtdeclarative"; name = "qtdeclarative";
patches = copyPathsToStore (readPathsFromFile ./. ./series); patches = copyPathsToStore (readPathsFromFile ./. ./series);
qtInputs = [ qtbase qtsvg qtxmlpatterns ]; qtInputs = [ qtbase qtsvg qtxmlpatterns ];
nativeBuildInputs = [ python2 makeQtWrapper ]; nativeBuildInputs = [ python2 ];
preConfigure = '' preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\"" NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
''; '';
postInstall = ''
wrapQtProgram $out/bin/qmleasing
wrapQtProgram $out/bin/qmlscene
wrapQtProgram $out/bin/qmltestrunner
'' + optionalString (stdenv.isDarwin) ''
wrapQtProgram $out/bin/qml.app/Contents/MacOS/qml
'';
} }

View File

@ -1,28 +1,14 @@
{ stdenv, qtSubmodule, makeQtWrapper, copyPathsToStore, qtbase }: { stdenv, qtSubmodule, copyPathsToStore, qtbase }:
with stdenv.lib; with stdenv.lib;
qtSubmodule { qtSubmodule {
name = "qttools"; name = "qttools";
qtInputs = [ qtbase ]; qtInputs = [ qtbase ];
nativeBuildInputs = [ makeQtWrapper ];
patches = copyPathsToStore (readPathsFromFile ./. ./series); patches = copyPathsToStore (readPathsFromFile ./. ./series);
postFixup = '' postFixup = ''
moveToOutput "bin/qdbus" "$out" moveToOutput "bin/qdbus" "$out"
moveToOutput "bin/qtpaths" "$out" moveToOutput "bin/qtpaths" "$out"
''; '';
postInstall = ''
wrapQtProgram $out/bin/qcollectiongenerator
wrapQtProgram $out/bin/qhelpconverter
wrapQtProgram $out/bin/qhelpgenerator
wrapQtProgram $out/bin/qtdiag
'' + optionalString (stdenv.isDarwin) ''
wrapQtProgram $out/bin/Assistant.app/Contents/MacOS/Assistant
wrapQtProgram $out/bin/Designer.app/Contents/MacOS/Designer
wrapQtProgram $out/bin/Linguist.app/Contents/MacOS/Linguist
wrapQtProgram $out/bin/pixeltool.app/Contents/MacOS/pixeltool
wrapQtProgram $out/bin/qdbusviewer.app/Contents/MacOS/qdbusviewer
'';
} }

View File

@ -1,35 +0,0 @@
wrapQtProgram() {
local prog="$1"
shift
wrapProgram "$prog" \
--set QT_PLUGIN_PATH "$QT_PLUGIN_PATH" \
--set QML2_IMPORT_PATH "$QML2_IMPORT_PATH" \
--set DYLD_FRAMEWORK_PATH "/System/Library/Frameworks" \
--prefix XDG_DATA_DIRS : "$RUNTIME_XDG_DATA_DIRS" \
--prefix XDG_CONFIG_DIRS : "$RUNTIME_XDG_CONFIG_DIRS" \
"$@"
}
makeQtWrapper() {
local old="$1"
local new="$2"
shift
shift
makeWrapper "$old" "$new" \
--set QT_PLUGIN_PATH "$QT_PLUGIN_PATH" \
--set QML2_IMPORT_PATH "$QML2_IMPORT_PATH" \
--set DYLD_FRAMEWORK_PATH "/System/Library/Frameworks" \
--prefix XDG_DATA_DIRS : "$RUNTIME_XDG_DATA_DIRS" \
--prefix XDG_CONFIG_DIRS : "$RUNTIME_XDG_CONFIG_DIRS" \
"$@"
}
_makeQtWrapperSetup() {
# cannot use addToSearchPath because these directories may not exist yet
export QT_PLUGIN_PATH="$QT_PLUGIN_PATH${QT_PLUGIN_PATH:+:}${!outputLib}/$qtPluginPrefix"
export QML2_IMPORT_PATH="$QML2_IMPORT_PATH${QML2_IMPORT_PATH:+:}${!outputLib}/$qtQmlPrefix"
export RUNTIME_XDG_DATA_DIRS="$RUNTIME_XDG_DATA_DIRS${RUNTIME_XDG_DATA_DIRS:+:}${!outputBin}/share"
export RUNTIME_XDG_CONFIG_DIRS="$RUNTIME_XDG_CONFIG_DIRS${RUNTIME_XDG_CONFIG_DIRS:+:}${!outputBin}/etc/xdg"
}
prePhases+=(_makeQtWrapperSetup)

View File

@ -1,43 +0,0 @@
wrapQtProgram() {
local prog="$1"
shift
wrapProgram "$prog" \
--prefix QT_PLUGIN_PATH : "$QT_PLUGIN_PATH" \
--prefix QML2_IMPORT_PATH : "$QML2_IMPORT_PATH" \
--prefix XDG_DATA_DIRS : "$RUNTIME_XDG_DATA_DIRS" \
--prefix XDG_CONFIG_DIRS : "$RUNTIME_XDG_CONFIG_DIRS" \
--prefix GIO_EXTRA_MODULES : "$GIO_EXTRA_MODULES" \
"$@"
}
makeQtWrapper() {
local old="$1"
local new="$2"
shift
shift
makeWrapper "$old" "$new" \
--prefix QT_PLUGIN_PATH : "$QT_PLUGIN_PATH" \
--prefix QML2_IMPORT_PATH : "$QML2_IMPORT_PATH" \
--prefix XDG_DATA_DIRS : "$RUNTIME_XDG_DATA_DIRS" \
--prefix XDG_CONFIG_DIRS : "$RUNTIME_XDG_CONFIG_DIRS" \
--prefix GIO_EXTRA_MODULES : "$GIO_EXTRA_MODULES" \
"$@"
}
_makeQtWrapperSetup() {
# cannot use addToSearchPath because these directories may not exist yet
export QT_PLUGIN_PATH="$QT_PLUGIN_PATH${QT_PLUGIN_PATH:+:}${!outputLib}/$qtPluginPrefix"
export QML2_IMPORT_PATH="$QML2_IMPORT_PATH${QML2_IMPORT_PATH:+:}${!outputLib}/$qtQmlPrefix"
export RUNTIME_XDG_DATA_DIRS="$RUNTIME_XDG_DATA_DIRS${RUNTIME_XDG_DATA_DIRS:+:}${!outputBin}/share${GSETTINGS_SCHEMAS_PATH:+:$GSETTINGS_SCHEMAS_PATH}"
export RUNTIME_XDG_CONFIG_DIRS="$RUNTIME_XDG_CONFIG_DIRS${RUNTIME_XDG_CONFIG_DIRS:+:}${!outputBin}/etc/xdg"
}
prePhases+=(_makeQtWrapperSetup)
_findGioModules() {
if [ -d "$1"/lib/gio/modules ] && [ -n "$(ls -A $1/lib/gio/modules)" ] ; then
export GIO_EXTRA_MODULES="$GIO_EXTRA_MODULES${GIO_EXTRA_MODULES:+:}$1/lib/gio/modules"
fi
}
envHooks+=(_findGioModules)

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, makeWrapper { stdenv, fetchurl, makeWrapper
, qtbase, makeQtWrapper, qtquickcontrols, qtscript, qtdeclarative, qmake , qtbase, qtquickcontrols, qtscript, qtdeclarative, qmake
, withDocumentation ? false , withDocumentation ? false
}: }:
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ]; buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ];
nativeBuildInputs = [ qmake makeQtWrapper makeWrapper ]; nativeBuildInputs = [ qmake makeWrapper ];
doCheck = true; doCheck = true;
@ -38,7 +38,6 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
substituteInPlace $out/share/applications/org.qt-project.qtcreator.desktop \ substituteInPlace $out/share/applications/org.qt-project.qtcreator.desktop \
--replace "Exec=qtcreator" "Exec=$out/bin/qtcreator" --replace "Exec=qtcreator" "Exec=$out/bin/qtcreator"
wrapQtProgram $out/bin/qtcreator
''; '';
meta = { meta = {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, qmake, makeQtWrapper, qtbase, perl, python, php }: { stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "qcachegrind-${version}"; name = "qcachegrind-${version}";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase perl python php ]; buildInputs = [ qtbase perl python php ];
nativeBuildInputs = [ qmake makeQtWrapper ]; nativeBuildInputs = [ qmake ];
postInstall = '' postInstall = ''
mkdir -p $out/bin mkdir -p $out/bin
@ -25,10 +25,8 @@ stdenv.mkDerivation rec {
mkdir -p $out/Applications mkdir -p $out/Applications
cp cgview/cgview.app/Contents/MacOS/cgview $out/bin cp cgview/cgview.app/Contents/MacOS/cgview $out/bin
cp -a qcachegrind/qcachegrind.app $out/Applications cp -a qcachegrind/qcachegrind.app $out/Applications
wrapQtProgram $out/Applications/qcachegrind.app/Contents/MacOS/qcachegrind
'' else '' '' else ''
install qcachegrind/qcachegrind cgview/cgview -t "$out/bin" install qcachegrind/qcachegrind cgview/cgview -t "$out/bin"
wrapQtProgram "$out/bin/qcachegrind"
install -Dm644 qcachegrind/qcachegrind.desktop -t "$out/share/applications" install -Dm644 qcachegrind/qcachegrind.desktop -t "$out/share/applications"
install -Dm644 kcachegrind/hi32-app-kcachegrind.png "$out/share/icons/hicolor/32x32/apps/kcachegrind.png" install -Dm644 kcachegrind/hi32-app-kcachegrind.png "$out/share/icons/hicolor/32x32/apps/kcachegrind.png"
install -Dm644 kcachegrind/hi48-app-kcachegrind.png "$out/share/icons/hicolor/48x48/apps/kcachegrind.png" install -Dm644 kcachegrind/hi48-app-kcachegrind.png "$out/share/icons/hicolor/48x48/apps/kcachegrind.png"

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, qtbase, qttools, makeQtWrapper, sqlite, cmake }: { mkDerivation, lib, fetchFromGitHub, qtbase, qttools, sqlite, cmake }:
stdenv.mkDerivation rec { mkDerivation rec {
version = "3.9.1"; version = "3.9.1";
name = "sqlitebrowser-${version}"; name = "sqlitebrowser-${version}";
@ -12,23 +12,17 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ qtbase qttools sqlite ]; buildInputs = [ qtbase qttools sqlite ];
nativeBuildInputs = [ makeQtWrapper cmake ]; nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
cmakeFlags = [ "-DUSE_QT5=TRUE" ]; cmakeFlags = [ "-DUSE_QT5=TRUE" ];
# A regression was introduced in CMakeLists.txt on v3.9.x # A regression was introduced in CMakeLists.txt on v3.9.x
# See https://github.com/sqlitebrowser/sqlitebrowser/issues/832 and issues/755 # See https://github.com/sqlitebrowser/sqlitebrowser/issues/832 and issues/755
postPatch = '' postPatch = ''
substituteInPlace CMakeLists.txt --replace 'project("DB Browser for SQLite")' 'project(sqlitebrowser)' substituteInPlace CMakeLists.txt --replace 'project("DB Browser for SQLite")' 'project(sqlitebrowser)'
''; '';
postInstall = '' meta = with lib; {
wrapQtProgram $out/bin/sqlitebrowser
'';
meta = with stdenv.lib; {
description = "DB Browser for SQLite"; description = "DB Browser for SQLite";
homepage = "http://sqlitebrowser.org/"; homepage = "http://sqlitebrowser.org/";
license = licenses.gpl3; license = licenses.gpl3;

View File

@ -1,10 +1,10 @@
{ stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, makeQtWrapper { mkDerivation, lib, fetchFromGitHub, cmake, extra-cmake-modules, makeWrapper
, boost, doxygen, openssl, mysql, postgresql, graphviz, loki, qscintilla, qtbase }: , boost, doxygen, openssl, mysql, postgresql, graphviz, loki, qscintilla, qtbase }:
let let
qscintillaLib = (qscintilla.override { withQt5 = true; }); qscintillaLib = (qscintilla.override { withQt5 = true; });
in stdenv.mkDerivation rec { in mkDerivation rec {
name = "tora-${version}"; name = "tora-${version}";
version = "3.1"; version = "3.1";
@ -15,10 +15,8 @@ in stdenv.mkDerivation rec {
sha256 = "0wninl10bcgiljf6wnhn2rv8kmzryw78x5qvbw8s2zfjlnxjsbn7"; sha256 = "0wninl10bcgiljf6wnhn2rv8kmzryw78x5qvbw8s2zfjlnxjsbn7";
}; };
enableParallelBuilding = true; nativeBuildInputs = [ cmake extra-cmake-modules makeWrapper ];
buildInputs = [ buildInputs = [
cmake extra-cmake-modules makeQtWrapper
boost doxygen graphviz loki mysql openssl postgresql qscintillaLib qtbase boost doxygen graphviz loki mysql openssl postgresql qscintillaLib qtbase
]; ];
@ -54,11 +52,11 @@ in stdenv.mkDerivation rec {
]; ];
postFixup = '' postFixup = ''
wrapQtProgram $out/bin/tora \ wrapProgram $out/bin/tora \
--prefix PATH : ${lib.getBin graphviz}/bin --prefix PATH : ${lib.getBin graphviz}/bin
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "Tora SQL tool"; description = "Tora SQL tool";
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -1,11 +1,12 @@
{ fetchFromGitHub, stdenv { mkDerivation, lib, fetchFromGitHub
, cmake, git, pkgconfig, wget, zip , cmake, git, pkgconfig, wget, zip
, makeQtWrapper, qtbase, qtx11extras , qtbase, qtx11extras
, libdwarf, libjpeg_turbo, libunwind, lzma, tinyxml, libX11 , libdwarf, libjpeg_turbo, libunwind, lzma, tinyxml, libX11
, SDL2, SDL2_gfx, SDL2_image, SDL2_ttf , SDL2, SDL2_gfx, SDL2_image, SDL2_ttf
, freeglut, mesa_glu , freeglut, mesa_glu
}: }:
stdenv.mkDerivation rec {
mkDerivation rec {
name = "vogl-${version}"; name = "vogl-${version}";
version = "2016-05-13"; version = "2016-05-13";
@ -16,9 +17,7 @@ stdenv.mkDerivation rec {
sha256 = "17gwd73x3lnqv6ccqs48pzqwbzjhbn41c0x0l5zzirhiirb3yh0n"; sha256 = "17gwd73x3lnqv6ccqs48pzqwbzjhbn41c0x0l5zzirhiirb3yh0n";
}; };
nativeBuildInputs = [ nativeBuildInputs = [ cmake pkgconfig ];
cmake makeQtWrapper pkgconfig
];
buildInputs = [ buildInputs = [
git wget zip git wget zip
@ -28,16 +27,17 @@ stdenv.mkDerivation rec {
freeglut mesa_glu freeglut mesa_glu
]; ];
enableParallelBuilding = true;
dontUseCmakeBuildDir = true; dontUseCmakeBuildDir = true;
preConfigure = '' preConfigure = ''
cmakeDir=$PWD cmakeDir=$PWD
mkdir -p vogl/vogl_build/release64 && cd $_ mkdir -p vogl/vogl_build/release64 && cd $_
''; '';
cmakeFlags = '' -DCMAKE_VERBOSE=On -DCMAKE_BUILD_TYPE=Release -DBUILD_X64=On''; cmakeFlags = [
"-DCMAKE_VERBOSE=On"
"-DBUILD_X64=On"
];
meta = with stdenv.lib; { meta = with lib; {
description = "OpenGL capture / playback debugger."; description = "OpenGL capture / playback debugger.";
homepage = https://github.com/ValveSoftware/vogl; homepage = https://github.com/ValveSoftware/vogl;
license = licenses.mit; license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, pkgconfig, perl, makeQtWrapper { stdenv, lib, fetchurl, pkgconfig, perl
, libjpeg, udev , libjpeg, udev
, withUtils ? true , withUtils ? true
, withGUI ? true, alsaLib, libX11, qtbase, mesa_glu , withGUI ? true, alsaLib, libX11, qtbase, mesa_glu
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
ln -s "$dev/include/libv4l1-videodev.h" "$dev/include/videodev.h" ln -s "$dev/include/libv4l1-videodev.h" "$dev/include/videodev.h"
''; '';
nativeBuildInputs = [ pkgconfig perl ] ++ lib.optional (withUtils && withGUI) makeQtWrapper; nativeBuildInputs = [ pkgconfig perl ];
buildInputs = [ udev ] ++ lib.optionals (withUtils && withGUI) [ alsaLib libX11 qtbase mesa_glu ]; buildInputs = [ udev ] ++ lib.optionals (withUtils && withGUI) [ alsaLib libX11 qtbase mesa_glu ];
@ -41,10 +41,6 @@ stdenv.mkDerivation rec {
patchShebangs . patchShebangs .
''; '';
postInstall = lib.optionalString (withUtils && withGUI) ''
wrapQtProgram $out/bin/qv4l2
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "V4L utils and libv4l, provide common image formats regardless of the v4l device"; description = "V4L utils and libv4l, provide common image formats regardless of the v4l device";
homepage = http://linuxtv.org/projects.php; homepage = http://linuxtv.org/projects.php;

View File

@ -1,11 +1,10 @@
{ stdenv, fetchurl, cmake, alsaLib, udev, qtbase, { mkDerivation, lib, fetchurl, cmake, alsaLib, udev, qtbase, qtsvg, qttools }:
qtsvg, qttools, makeQtWrapper }:
let let
version = "0.21.0"; version = "0.21.0";
in in
stdenv.mkDerivation { mkDerivation {
name = "qastools-${version}"; name = "qastools-${version}";
src = fetchurl { src = fetchurl {
@ -14,15 +13,15 @@ stdenv.mkDerivation {
}; };
buildInputs = [ buildInputs = [
cmake alsaLib udev qtbase qtsvg qttools makeQtWrapper alsaLib udev qtbase qtsvg qttools
]; ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_INSALL_PREFIX=$out"
"-DALSA_INCLUDE=${alsaLib.dev}/include/alsa/version.h" "-DALSA_INCLUDE=${alsaLib.dev}/include/alsa/version.h"
]; ];
meta = with stdenv.lib; { meta = with lib; {
description = "Collection of desktop applications for ALSA configuration"; description = "Collection of desktop applications for ALSA configuration";
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -1,6 +1,6 @@
{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, makeQtWrapper, xorg, fetchFromGitHub }: { mkDerivation, lib, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "antimicro-${version}"; name = "antimicro-${version}";
version = "2.23"; version = "2.23";
@ -11,15 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "1q40ayxwwyq85lc89cnj1cm2nar625h4vhh8dvmb2qcxczaggf4v"; sha256 = "1q40ayxwwyq85lc89cnj1cm2nar625h4vhh8dvmb2qcxczaggf4v";
}; };
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ buildInputs = [
cmake pkgconfig SDL2 qtbase qttools xorg.libXtst makeQtWrapper SDL2 qtbase qttools xorg.libXtst
]; ];
postInstall = '' meta = with lib; {
wrapQtProgram $out/bin/antimicro
'';
meta = with stdenv.lib; {
description = "GUI for mapping keyboard and mouse controls to a gamepad"; description = "GUI for mapping keyboard and mouse controls to a gamepad";
inherit (src.meta) homepage; inherit (src.meta) homepage;
maintainers = with maintainers; [ jb55 ]; maintainers = with maintainers; [ jb55 ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake, makeQtWrapper }: { stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "qt5ct-${version}"; name = "qt5ct-${version}";
@ -18,10 +18,6 @@ stdenv.mkDerivation rec {
qmakeFlags="$qmakeFlags PLUGINDIR=$out/$qtPluginPrefix" qmakeFlags="$qmakeFlags PLUGINDIR=$out/$qtPluginPrefix"
''; '';
preFixup = ''
wrapQtProgram $out/bin/qt5ct
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Qt5 Configuration Tool"; description = "Qt5 Configuration Tool";
homepage = https://www.opendesktop.org/content/show.php?content=168066; homepage = https://www.opendesktop.org/content/show.php?content=168066;

View File

@ -1,11 +1,11 @@
{ stdenv, fetchFromGitHub, qtbase, qmake, makeQtWrapper, libXrandr }: { stdenv, fetchFromGitHub, qtbase, qmake, libXrandr }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "radeon-profile-${version}"; name = "radeon-profile-${version}";
version = "20161221"; version = "20161221";
nativeBuildInputs = [ qmake makeQtWrapper ]; nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase libXrandr ]; buildInputs = [ qtbase libXrandr ];
src = (fetchFromGitHub { src = (fetchFromGitHub {
@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
mkdir -p $out/bin mkdir -p $out/bin
cp ./radeon-profile $out/bin/radeon-profile cp ./radeon-profile $out/bin/radeon-profile
wrapQtProgram $out/bin/radeon-profile
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libusb1 { stdenv, fetchurl, pkgconfig, libusb1
, qtbase, qttools, makeQtWrapper, qmake , qtbase, qttools, makeWrapper, qmake
, withEspeak ? false, espeak ? null }: , withEspeak ? false, espeak ? null }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libusb1 qtbase qttools ] buildInputs = [ libusb1 qtbase qttools ]
++ stdenv.lib.optional withEspeak espeak; ++ stdenv.lib.optional withEspeak espeak;
nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ]; nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
preConfigure = '' preConfigure = ''
cd rbutil/rbutilqt cd rbutil/rbutilqt
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
install -Dm755 RockboxUtility $out/bin/rockboxutility install -Dm755 RockboxUtility $out/bin/rockboxutility
ln -s $out/bin/rockboxutility $out/bin/RockboxUtility ln -s $out/bin/rockboxutility $out/bin/RockboxUtility
wrapQtProgram $out/bin/rockboxutility \ wrapProgram $out/bin/rockboxutility \
${stdenv.lib.optionalString withEspeak '' ${stdenv.lib.optionalString withEspeak ''
--prefix PATH : ${espeak}/bin --prefix PATH : ${espeak}/bin
''} ''}

View File

@ -14620,10 +14620,10 @@ with pkgs;
recurseIntoAttrs (makeOverridable mkApplications attrs); recurseIntoAttrs (makeOverridable mkApplications attrs);
inherit (kdeApplications) inherit (kdeApplications)
akonadi ark dolphin ffmpegthumbs filelight gwenview kate akonadi ark dolphin ffmpegthumbs filelight gwenview kate kdenlive
kdenlive kcalc kcolorchooser kcontacts kgpg khelpcenter kig kcachegrind kcalc kcolorchooser kcontacts kdf kgpg khelpcenter kig kmix
kolourpaint konsole krfb marble kolourpaint kompare konsole krfb kwalletmanager marble okteta okular
okteta okular spectacle; spectacle;
kdeconnect = libsForQt5.callPackage ../applications/misc/kdeconnect { }; kdeconnect = libsForQt5.callPackage ../applications/misc/kdeconnect { };