depot/third_party/nixpkgs/pkgs/tools/misc/qt5ct/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

32 lines
841 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/${pname}/${pname}-${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 = with maintainers; [ ralith ];
mainProgram = "qt5ct";
};
}