17 lines
647 B
Nix
17 lines
647 B
Nix
{ pkgs, ... }: with pkgs;
|
|
stdenv.mkDerivation {
|
|
pname = "qt5ct";
|
|
version = "1.5";
|
|
src = builtins.fetchurl {
|
|
url = "https://downloads.sourceforge.net/project/qt5ct/qt5ct-1.5.tar.bz2";
|
|
sha256 = "14742vs32m98nbfb5mad0i8ciff5f45gfcb5v03p4hh2dvhhqgfn";
|
|
};
|
|
patches = [ ./patch.patch ];
|
|
nativeBuildInputs = with libsForQt5; [ qmake qttools wrapQtAppsHook ];
|
|
buildInputs = with libsForQt5; [ qtbase qtsvg qqc2-desktop-style qtquickcontrols2 kconfig kiconthemes ];
|
|
qmakeFlags = [
|
|
"LRELEASE_EXECUTABLE=${lib.getDev libsForQt5.qttools}/bin/lrelease"
|
|
"PLUGINDIR=${placeholder "out"}/${libsForQt5.qtbase.qtPluginPrefix}"
|
|
];
|
|
}
|