Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
32 lines
810 B
Nix
32 lines
810 B
Nix
{ mkDerivation, lib, fetchurl, qtbase, qtsvg, qttools, qmake }:
|
|
|
|
let inherit (lib) getDev; in
|
|
|
|
mkDerivation rec {
|
|
pname = "qt5ct";
|
|
version = "1.8";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/qt5ct/qt5ct-${version}.tar.bz2";
|
|
sha256 = "sha256-I7dAVEFepBJDKHcu+ab5UIOpuGVp4SgDSj/3XfrYCOk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
buildInputs = [ qtbase qtsvg ];
|
|
|
|
qmakeFlags = [
|
|
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
|
|
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
|
"LIBDIR=${placeholder "out"}/lib"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Qt5 Configuration Tool";
|
|
homepage = "https://sourceforge.net/projects/qt5ct/";
|
|
platforms = platforms.linux;
|
|
license = licenses.bsd2;
|
|
maintainers = [ ];
|
|
mainProgram = "qt5ct";
|
|
};
|
|
}
|