blob: dce2392cc7b2c51dfe5ca941509ac0f08f56e8ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake, makeQtWrapper }:
stdenv.mkDerivation rec {
name = "qt5ct-${version}";
version = "0.33";
src = fetchurl {
url = "mirror://sourceforge/qt5ct/qt5ct-${version}.tar.bz2";
sha256 = "0by0wz40rl9gxvwbd85j0y5xy9mjab1cya96rv48x677v95lhm9f";
};
propagatedBuildInputs = [ qtbase qtsvg qttools ];
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtsvg ];
preConfigure = ''
qmakeFlags="$qmakeFlags PLUGINDIR=$out/$qtPluginPrefix"
'';
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 ];
};
}
|