nixpkgs/pkgs/tools/misc/qt5ct/default.nix

31 lines
808 B
Nix
Raw Normal View History

2016-07-19 03:44:46 +00:00
{stdenv, fetchurl, qtbase, qtsvg, qttools, qmakeHook, makeQtWrapper}:
stdenv.mkDerivation rec {
name = "qt5ct-${version}";
2017-03-24 14:11:33 +00:00
version = "0.30";
2016-07-19 03:44:46 +00:00
src = fetchurl {
url = "mirror://sourceforge/qt5ct/qt5ct-${version}.tar.bz2";
2017-03-24 14:11:33 +00:00
sha256 = "1k0ywd440qvf84chadjb4fnkn8dkfl56cc3a6wqg6a59drslvng6";
2016-07-19 03:44:46 +00:00
};
buildInputs = [ qtbase qtsvg ];
nativeBuildInputs = [ makeQtWrapper qmakeHook qttools ];
preConfigure = ''
2017-03-24 14:11:33 +00:00
qmakeFlags="$qmakeFlags PLUGINDIR=$out/lib/qt5/plugins"
2016-07-19 03:44:46 +00:00
'';
preFixup = ''
wrapQtProgram $out/bin/qt5ct
'';
meta = with stdenv.lib; {
description = "Qt5 Configuration Tool";
homepage = https://www.opendesktop.org/content/show.php?content=168066;
platforms = platforms.linux;
license = licenses.bsd2;
maintainers = with maintainers; [ ralith ];
};
}