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