2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, fetchurl, qtbase, qttools, qmake }:
|
2016-07-19 03:44:46 +00:00
|
|
|
|
2017-10-24 11:46:29 +00:00
|
|
|
let inherit (stdenv.lib) getDev; in
|
|
|
|
|
2016-07-19 03:44:46 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "qt5ct-${version}";
|
2018-12-22 19:32:49 +00:00
|
|
|
version = "0.37";
|
2016-07-19 03:44:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-11-26 22:30:21 +00:00
|
|
|
url = "mirror://sourceforge/qt5ct/${name}.tar.bz2";
|
2018-12-22 19:32:49 +00:00
|
|
|
sha256 = "0n8csvbpislxjr2s1xi8r5a4q4bqn4kylcy2zws6w7z4m8pdzrny";
|
2016-07-19 03:44:46 +00:00
|
|
|
};
|
|
|
|
|
2017-11-26 22:30:21 +00:00
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
2016-07-19 03:44:46 +00:00
|
|
|
|
2017-11-26 22:30:21 +00:00
|
|
|
buildInputs = [ qtbase ];
|
2017-05-26 12:23:47 +00:00
|
|
|
|
2017-11-26 22:30:21 +00:00
|
|
|
qmakeFlags = [
|
|
|
|
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
|
|
|
|
];
|
2017-10-24 11:46:29 +00:00
|
|
|
|
2016-07-19 03:44:46 +00:00
|
|
|
preConfigure = ''
|
2017-11-26 22:30:21 +00:00
|
|
|
qmakeFlags+=" PLUGINDIR=$out/$qtPluginPrefix"
|
2016-07-19 03:44:46 +00:00
|
|
|
'';
|
|
|
|
|
2017-11-26 22:30:21 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-07-19 03:44:46 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|