2020-04-24 23:36:52 +00:00
|
|
|
{ mkDerivation, lib, fetchurl, qtbase, qtsvg, qttools, qmake }:
|
|
|
|
|
|
|
|
let inherit (lib) getDev; in
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "qt5ct";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "1.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2023-08-04 22:07:22 +00:00
|
|
|
sha256 = "sha256-7VhUam5MUN/tG5/2oUjUpGj+m017WycnuWUB3ilVuNc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qtsvg ];
|
|
|
|
|
|
|
|
qmakeFlags = [
|
|
|
|
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
|
|
|
|
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
2023-08-04 22:07:22 +00:00
|
|
|
"LIBDIR=${placeholder "out"}/lib"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with 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 ];
|
|
|
|
};
|
|
|
|
}
|