2019-10-01 05:15:53 +00:00
|
|
|
{ mkDerivation, lib, fetchurl, qtbase, qtsvg, qttools, qmake }:
|
2016-07-19 03:44:46 +00:00
|
|
|
|
2019-07-29 05:04:36 +00:00
|
|
|
let inherit (lib) getDev; in
|
2017-10-24 11:46:29 +00:00
|
|
|
|
2019-07-29 05:04:36 +00:00
|
|
|
mkDerivation rec {
|
2019-03-22 19:23:28 +00:00
|
|
|
pname = "qt5ct";
|
2023-10-10 22:35:04 +00:00
|
|
|
version = "1.8";
|
2016-07-19 03:44:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-22 19:23:28 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2023-10-10 22:35:04 +00:00
|
|
|
sha256 = "sha256-I7dAVEFepBJDKHcu+ab5UIOpuGVp4SgDSj/3XfrYCOk=";
|
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
|
|
|
|
2019-10-01 05:15:53 +00:00
|
|
|
buildInputs = [ qtbase qtsvg ];
|
2017-05-26 12:23:47 +00:00
|
|
|
|
2017-11-26 22:30:21 +00:00
|
|
|
qmakeFlags = [
|
|
|
|
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
|
2019-10-01 05:15:53 +00:00
|
|
|
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
2023-07-28 16:57:47 +00:00
|
|
|
"LIBDIR=${placeholder "out"}/lib"
|
2017-11-26 22:30:21 +00:00
|
|
|
];
|
2017-10-24 11:46:29 +00:00
|
|
|
|
2019-07-29 05:04:36 +00:00
|
|
|
meta = with lib; {
|
2016-07-19 03:44:46 +00:00
|
|
|
description = "Qt5 Configuration Tool";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.opendesktop.org/content/show.php?content=168066";
|
2016-07-19 03:44:46 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ ralith ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "qt5ct";
|
2016-07-19 03:44:46 +00:00
|
|
|
};
|
|
|
|
}
|