Skip to content

Commit

Permalink
Merge pull request #17093 from Ralith/qt5ct
Browse files Browse the repository at this point in the history
qt5ct: init at 0.24
  • Loading branch information
joachifm committed Jul 20, 2016
2 parents fdd84fd + fcfec75 commit 3393230
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/tools/misc/qt5ct/default.nix
@@ -0,0 +1,30 @@
{stdenv, fetchurl, qtbase, qtsvg, qttools, qmakeHook, makeQtWrapper}:

stdenv.mkDerivation rec {
name = "qt5ct-${version}";
version = "0.24";

src = fetchurl {
url = "mirror://sourceforge/qt5ct/qt5ct-${version}.tar.bz2";
sha256 = "0k62nd945pbgkshycijzrgdyrwj5kcswk33slaj7hr7d6r7bmb6p";
};

buildInputs = [ qtbase qtsvg ];
nativeBuildInputs = [ makeQtWrapper qmakeHook qttools ];

preConfigure = ''
qmakeFlags="$qmakeFlags PLUGINDIR=$out/lib/qt5/plugins/platformthemes/"
'';

preFixup = ''
wrapQtProgram $out/bin/qt5ct
'';

meta = with stdenv.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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -9054,6 +9054,8 @@ in

qt5 = self.qt56;

qt5ct = qt5.callPackage ../tools/misc/qt5ct { };

qt5LibsFun = self: with self; {

accounts-qt = callPackage ../development/libraries/accounts-qt { };
Expand Down

0 comments on commit 3393230

Please sign in to comment.