2019-07-29 06:04:36 +01:00
|
|
|
{ mkDerivation, lib, fetchurl, qtbase, qttools, qmake }:
|
2016-07-19 04:44:46 +01:00
|
|
|
|
2019-07-29 06:04:36 +01:00
|
|
|
let inherit (lib) getDev; in
|
2017-10-24 12:46:29 +01:00
|
|
|
|
2019-07-29 06:04:36 +01:00
|
|
|
mkDerivation rec {
|
2019-03-22 19:23:28 +00:00
|
|
|
pname = "qt5ct";
|
2019-09-16 13:20:49 +01:00
|
|
|
version = "0.41";
|
2016-07-19 04:44:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-22 19:23:28 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2019-09-16 13:20:49 +01:00
|
|
|
sha256 = "1p2p6116wg5bc0hcbi2sygwlgk0g9idxpci0qdh3p4lb1plk0h7j";
|
2016-07-19 04:44:46 +01:00
|
|
|
};
|
|
|
|
|
2017-11-26 22:30:21 +00:00
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
2016-07-19 04:44:46 +01:00
|
|
|
|
2017-11-26 22:30:21 +00:00
|
|
|
buildInputs = [ qtbase ];
|
2017-05-26 13:23:47 +01:00
|
|
|
|
2017-11-26 22:30:21 +00:00
|
|
|
qmakeFlags = [
|
|
|
|
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
|
|
|
|
];
|
2017-10-24 12:46:29 +01:00
|
|
|
|
2016-07-19 04:44:46 +01:00
|
|
|
preConfigure = ''
|
2017-11-26 22:30:21 +00:00
|
|
|
qmakeFlags+=" PLUGINDIR=$out/$qtPluginPrefix"
|
2016-07-19 04:44:46 +01:00
|
|
|
'';
|
|
|
|
|
2017-11-26 22:30:21 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-07-29 06:04:36 +01:00
|
|
|
meta = with lib; {
|
2016-07-19 04:44:46 +01:00
|
|
|
description = "Qt5 Configuration Tool";
|
|
|
|
homepage = https://www.opendesktop.org/content/show.php?content=168066;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ ralith ];
|
|
|
|
};
|
|
|
|
}
|