nixos/uptime-kuma: Add additional lockdown settings to systemd unit (#361452)
[NixPkgs.git] / pkgs / tools / misc / qt5ct / default.nix
blob75cc72763c6470b8594cfa8974e27c2c14b3e981
1 { mkDerivation, lib, fetchurl, qtbase, qtsvg, qttools, qmake }:
3 let inherit (lib) getDev; in
5 mkDerivation rec {
6   pname = "qt5ct";
7   version = "1.8";
9   src = fetchurl {
10     url = "mirror://sourceforge/qt5ct/qt5ct-${version}.tar.bz2";
11     sha256 = "sha256-I7dAVEFepBJDKHcu+ab5UIOpuGVp4SgDSj/3XfrYCOk=";
12   };
14   nativeBuildInputs = [ qmake qttools ];
16   buildInputs = [ qtbase qtsvg ];
18   qmakeFlags = [
19     "LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
20     "PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
21     "LIBDIR=${placeholder "out"}/lib"
22   ];
24   meta = with lib; {
25     description = "Qt5 Configuration Tool";
26     homepage = "https://sourceforge.net/projects/qt5ct/";
27     platforms = platforms.linux;
28     license = licenses.bsd2;
29     maintainers = [ ];
30     mainProgram = "qt5ct";
31   };